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.
- Dialogs - Custom dialogs that can be shown to a Player.
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.
Mod Author Section
To locate various functions/utilities to use in your script, I recommend visiting the documentation here on Read The Docs
Filename | Type | Size |
---|---|---|
bluuberrylibrary v1.2.zip | zip | |
bluuberrylibrary.package | package | 7514 |
bluuberrylibrary.ts4script | ts4script | 225377 |
Changelog.txt | txt | 2803 |
Custom installation instructions! READ ME!
In addition to the normal installation instructions, this download also has a custom instruction, as follows:
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Unzip the archive into your The Sims 4/Mods folder.
Remember, ts4script files must be either top level or no more than one folder deep!
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
bluuberrylibrary v1.2.zip
Download
Uploaded: 4th Mar 2024, 63.6 KB.
1,931 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Unzip the archive into your The Sims 4/Mods folder.
Remember, ts4script files must be either top level or no more than one folder deep!
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
Version 1.2:
Fixes:
- Fixed a problem with the Group Ids in the package files.
Version 1.1:
New:
- Added a utility for Managing Buffs on Sims. Adding/Removing
- Added classes for creating custom interactions, Social Super, Super,
Social Mixer, and Mixer interactions.
- Added a mixin for quickly adding a log to your Classes.
- Added custom classes for Run and Test Results. These can be used in
place of the TestResult class.
- Added a utility for Manipulating the Weather.
- Added a utility for Managing Buffs.
- Added a utility and commands for Adding Zone Modifiers.
- Added a command and utility for creating and spawning Objects
- Added a function to getting the active Sim to BBSimUtils
- Added a debug interaction to change the state of objects
- Added a debug interaction to show running interactions on Sims
- Added a debug interaction to show running situations on Sims
- Added a debug interaction to show the Traits of a Sim.
- Added a dialog for choosing a value.
- Added an event for when a Sim completes an interaction.
- Added events for when a Sim dies and when a Sim comes back to life.
- Added a cancel handler for immediate super interactions,
mixer interactions, social mixer interactions,
social super interactions, and super interactions.
- Added a utility for adding or getting components to/from objects.
- Added a utility for loading statistics by their GUID
- Added a utility for modifying and getting Object States of objects.
- Added a utility for modifying and getting statistics on Sims.
- Created BBEnqueueInteractionResult and BBExecuteInteractionResult
- Updated the BBNotification to utilize a new method of specifying Text and Tokens
- Added BB Int Flags
- Added a class to enable Game Logs via command `bbl.enable_game_logs`
- Added a class for loading instances.
- Added a class and commands for creating and spawning Sims.
- Added a function to BBSimTraitUtils to get the traits of Sims.
- Added notifications
- Added Events for when a Sim Spawns and Despawns.
- Added Utilities for adding, removing, and checking for traits on Sims.
- Added a utility for checking if a Sim has a buff.
- Added localization utils for formatting strings from string tables or
for raw text.
- Expanded the create_object and spawn_object_at_location functions.
- Added utilities for manipulating situations on Sims.
- Added a utility for loading Situations.
- Added a utility for loading Traits.
- Changed class name BBLInteractionIds to BBLInteractionId.
Fixes:
- Fixed an issue with the injection utils, where it was not injecting
properly.
- Fixed a base game issue with dialogs
- Fixed an issue when creating a localized string with Sim info.
Base Fixes:
- Added a fix for Sims not having a Full Name value.
Loading comments, please wait...
Updated: 4th Mar 2024 at 5:10 AM
#library, #bluuberry, #bluuberrylibrary, #ea fixes, #fixes
-
by DrAnimaniac 2nd Jul 2019 at 7:25pm , updated 26th Feb 2021 at 5:35pm
154 87.4k 298 -
by siriussimmer 19th Aug 2021 at 6:51pm , updated 30th Aug 2021 at 1:10am
+1 packsCottage Living -
by JungleSim 9th Oct 2022 at 12:39pm
4.8k 8 -
Radiophobe's Zodiac Signs 2.3 - Adopted
by Tralfaz482 12th Jan 2023 at 2:10pm , updated 29th Oct 2024 at 10:53pm
98 85.8k 115 -
by Tralfaz482 30th Jan 2023 at 10:28am , updated 29th Oct 2024 at 10:59pm
+1 packsGet to Work -
by Tralfaz482 30th Jan 2023 at 10:32am , updated 11th Aug 2024 at 2:35am
+1 packsGet to Work
-
by BluuberryBonanza24 17th Jan 2023 at 11:21am
What is it? This simple script will prevent Sims from doing the annoying Goof Around interaction autonomously. Installation 1. more...
6 5.9k 13 -
Club Gatherings Anywhere (Script Edition)
by BluuberryBonanza24 11th Oct 2023 at 8:22pm
What is it? This mod will allow your Sims to start a Club Gathering on ANY lot. more...
+1 packsGet Together -
No More Quick Meals (Script Edition)
by BluuberryBonanza24 15th Oct 2023 at 8:29am
What is it? This mod disables the Have a Quick Meal and Have a Microwaved Quick Meal interactions on all locations, more...
3 3.6k 5 -
Require Cooking Ingredients (Script Edition)
by BluuberryBonanza24 15th Oct 2023 at 8:28am , updated 23rd Jan 2024 at 8:34pm
What is it? This mod will require your Sims to have the necessary ingredients available before they can Cook! Required Mods Bluuberry Library more...
9 7k 5 -
by BluuberryBonanza24 19th Oct 2023 at 11:34pm
Deadly Weathers Weather just got a whole lot more dangerous. A Sim will now have to be aware of the weather and more...
+1 packsSeasons -
No More "See What's Happening"
by BluuberryBonanza24 25th Dec 2022 at 12:19pm , updated 28th Dec 2022 at 2:52am
What is it? This simple script will prevent Sims from doing the annoying See What's Happening interaction. Installation Drop the file into your more...
23 36.4k 60
About Me
I appreciate donations! https://www.patreon.com/bluuberrybonanza
Join my discord! https://discord.gg/j34habmXN4