Create an account

Bluuberry Library  

Upload: 23 Oct 2023, 19:36
Created by: BluuberryBonanza24 [X]
Uploaded by: Aqxaro
Bluuberry Library

What is it?
A Python library intended to be used by other Mods when creating Python scripts.
It contains numerous Python utilities and functions that allow for much more maintainable mods that will unlikely to break when the game updates!

What is it for?
This is a Script mod intended to be used and referenced by other mods as a common "Source of Truth" for their scripts.

Contents:
- Interactions for debugging and seeing various bits of the game that would otherwise be difficult to locate.
- One such interaction is the ability to show the Tuning name of interactions a Sim is currently running or has queued.

A few things this library contains:
- Logging - Be able to log any type of text.
- Error handling - Be able to log errors
- Event Handling - Various events that one can listen for, whether it be when the zone finishes loading or an Sim does an interaction.
- Injection - Inject into already existing functions, whether these be functions of other mods or functions in the game itself.
- Interaction Creation - Create interactions backed by custom scripts.
- Mod Identities - Each mod has an identity, this will make it much easier to identify where errors come from.
- Debug Interactions - This mod contains interactions for use when debugging your own Mod.

Benefits to using a library over including all your own scripts:
- Whenever a patch comes out for the game, if you're using most of the library, then you won't have to worry about updating it yourself!
- If a bug is found within the library, all mods using the library will receive the bug fix automatically whenever a new version of the library comes out.
- You won't have to worry about figuring certain things out, since the library will likely have a utility made for whatever you want to do!
- If most of your code is using the library, whenever the library receives updates, your code will be "updated" as well.

FAQ:
Does this mod change anything in the game?
The only thing this mod does is add custom Interactions intended to be used by Mod Authors for debugging purposes.

Will this conflict with any other Mods?
No, this mod is built with having a ton of mods installed in mind!

Will there be a performance impact using this?
No, you should never see any performance impacts as a result of other Mods using this Library.

Where can I see changes in-game?
- Most of the Visible things in-game will usually be located under the SHIFT+CLICK -> Bluuberry Library menu, which is enabled using "testingcheats on". These interactions will be mainly be useful to Mod Authors.

Injection Tools

Injection Tools

10 Nov 2022
0
1 873
0

A set of tools to inject into different tuning resources. Right now, Injection Tools allows you to inject: Shifts of situations into a SchedulingZoneDirector or SchedulingWalkbyDirector

Comments
The minimum comment length is 10 characters.