Core Library
About Core Library
For Players
Core Library is a dependancy for many mods to add gameplay functionality without overriding each other. It helps reduce conflicts and the need for redundant scripts.
For Creators
Core Library includes reusable snippets to perform common tuning injections and add other functionality to your tuning only mods without the need for you to script.
If you are developing your own scripts you can use Core Library to easily setup loggers, config files, or even game services. An event system is included so you can run code on zone load and unload and many other events without adding additional injection points that could otherwise cause conflicts with other mods.
Suite Life Keychains
*Ding Ding* We hope you enjoyed your stay with Suite Life Hotels & Resorts! Take home a little piece of your sim's getaway with this limited, first edition, retro sunshine-yellow keychain. The back features a scannable QR code to a gallery of downloadable "certified" builds that work with Suite Life.
A silver key ring is attached, a holographic Lot 51 sticker and Hotel Build Guide are included!
$4 for each keychain sold will be donated to Feeding America to help put food on the table for families in need right now.
Installation Notes
Unzip and place the ts4script in your Mods folder. Make sure you only have ONE copy at a time.
Double check that your unzipped script does not end with a number in the case your destination folder had an existing file with the name — otherwise the script will not load.
If you organize your CC, make sure scripts are not placed more than one folder deep.
PSA: In-Game Pack Selection Feature
If the new Pack Selection feature is used, you MUST restart your game to get it back in a safe state for Core Library to run. Some changes will say you don't need a restart, but do it anyway.
Players: Received an exception using Core Library? Trying to find a conflict?
Core Library does not do anything on its own. If you are experiencing an issue in game and it goes away when removing Core Library then you need to keep the library installed and 50/50 the other mods.
Please contact the creator of those mods to report the issue. If there is an issue with library itself then the creator can contact me.
Get Mod Support on Discord
Please do not request mod support in contact forms, direct messages or Patreon comments. Due to the demand, I can no longer do this on my own.
Join the Discord community and upload your exception files with your lot51_core.log file or other related mod logs like lot51_hotels.log for Suite Life, etc. in the #mod-support channel.
Bot 51 is our new automated helper who is tuned specifically for Lot 51 mods. You'll get an immediate audit with solutions to detected issues.
If the bot can't detect any issues, someone from our smol human support team will try to help as soon as they are able to. Please be respectful as we may be in a different time zone and we do this in our free time.
Core Library Documentation
Tuning Injector Snippet
Inject to Interactions, Traits, Buffs, even Social Bunny without any scripting. There are many things you can do with this one snippet! View the TDESC for detailed information. Open in Tuning Builder
Purchase Picker Snippet
This is an advanced snippet to create Purchase Pickers with stock management + discounts, and can generate rows from definitions, tags, or recipes! Open in Tuning Builder
LotFiftyOneCoreLootActions Tuning
A set of custom loot actions that provide new functionality, or more advanced alternatives to EA loot actions. This includes opening a PurchasePickerSnippet above. Open in Tuning Builder
Affordance Lock Out Snippet
A snippet to provide lockout functionality to SuperInteractions similar to Mixers. Once a Sim runs an interaction either autonomously or user-directed, the interaction will not be allowed to run for the interval provided. Open in Tuning Builder
Clear Mod Save Data Commands (1.34+)
Some mods (like Suite Life) may use the Core Library Save Based Config system which stores data in a household allowing it to be carried and modified per-save. You can use the following commands to purge that data and start fresh.
Core Library 1.37.2
- Fixed object injectors failing in certain conditions due to an addition in 1.37.
- (1.37.2: Rerolled with Plumbuddy manifest)
Core Library 1.37
Fixed backwards compatibility with game version <= 1.116 that regressed in Core version 1.36.
Added
inject_to_skillsinjector to add loot, super affordances, and actor mixers to a Skill's level data.You can now add
custom_tooltipsto existing tooltip_components in object injectors withtooltip_componentinstead oftooltip_component_override.
TDESCs will be updated soon.