This repository was archived by the owner on Mar 6, 2023. It is now read-only.
Releases: SlimeCubed/SlugBase
Releases · SlimeCubed/SlugBase
v1.3.0
Adds some new features:
- Characters can now override their arena mode portraits by including the files
Illustrations/MultiplayerPortraitXY.pngin their resources, whereXis a player number between 0 and 3 andYis an alive state that can be 0 or 1. Config.CharacterSelectButton, a new type of menu object, is now available for other mods to use to replicate the arena mode character selector.- Characters can enable and disable passages using
SlugBaseCharacter.CanUsePassages(contribution by Dual). - Characters can enable or disable placement of a karma flower on death using
SlugBaseCharacter.PlaceKarmaFlower. SlugBaseEx.GetCustomSceneandGetCustomSlideshownow exist to let mods view information about scenes and slideshows overridden via SlugBase.
Changes the behavior of some existing features:
SaveManager.GetSaveSummarywill now cache its result until a save state is modified, meaning you can call it multiple times per frame without any significant performance hit.
Fixes some bugs, including:
- Selected arena characters now persist between game sessions. This was broken in version 1.2.0.
v1.2.0
Adds some new features:
- Characters on the select menu can choose to be locked, hidden, or require a restart using
SlugBaseCharacter.SelectMenuState. - Characters can now save data that carries over between runs.
- World spawns can now be filtered or replaced based on the current SlugBase character.
SlugBaseCharacters can now opt into "multi-instance" mode by passingtrueto themultiInstanceparameters of their constructors. When opted in, this character can exist in the same game session as other vanilla or SlugBase characters.- Overloads of
SlugBaseCharacter.IsMeare available to check whether any givenPlayer,RainWorldGame, orSaveStateis an instance of the current character. SlugBaseEx.GetCustomImageis now available to retrieve theSceneImageaMenuIllustrationwas built from.- The arena mode character selector now can choose a different character per player as long as all characters are either vanilla or multi-instance.
- An overload of
ArenaAdditions.GetSelectedArenaCharacteris now available to check what character any given player has selected.
Changes the behavior of some methods:
EnableandDisableare now virtual rather than abstract.CustomSaveState's custom saving methods are now called before the save state's vanilla methods are, meaning that modifications to vanilla data in the custom methods will persist.
Fixes some bugs, including:
- Select menu illustrations will now be layered behind the start button.
- Sleeping no longer crashes when using flatmode.
- The game no longer crashes when starting with no
SlugBaseCharacters registered. - Custom slideshows no longer freeze the game when no music is specified.
- Saving empty custom death-persistent data will now overwrite old values.
- Characters now function correctly when skipping the select menu with devtools.
v1.2.0-beta4
Adds some new features:
- The slugcat selector in arena mode can now assign a different character per player
- The
SceneImageused to build aMenuIllustrationcan now be retrieved usingSlugBaseEx.GetCustomImage
Changes the behavior of some methods:
SlugBaseCharacter.SlugcatColornow receives the original color as an argumentSlugBaseCharacter.EnableandSlugBaseCharacter.Disableare now virtual instead of abstract
Fixes some bugs, including:
- Crashing when starting a game with no SlugBase characters registered
- Incorrectly coloring UI elements for multi-instance SlugBase characters
v1.2.0-beta3
Adds some new features:
- Any combination of SlugBase and non-SlugBase characters can now exist in the same game if all SlugBase characters involved opt into the feature
- Characters can override
GetSelectMenuStateto lock or hide themselves on the select menu - Mods can save extra data using
SaveManager.GetCharacterDataandSaveManager.GetGlobalDatathat will not be reset when a save is restarted - Spawns and placed objects can be modified based on character name
Fixes some bugs, including:
- Scene images appeared above the UI on the slugcat select menu
- Characters wouldn't function correctly when skipping the select main menu using devtools
v1.1.6
Fixes a freeze when SlugBase characters enter custom regions.
v1.1.5
Fixes a bug where the characters '<', '>', ':', and ',' would corrupt save data.
v1.1.4
Fixes a bug where Hunter's sleep screen would be replaced by Survivor's.
v1.1.3
Fixes a bug where modded cutscenes would sometimes be applied to the default characters.
v1.1.2
Fixes a number of bugs, including:
- Intro slideshows replacing the outro
- Custom outros not working
- Passages not working
SlugBaseCharacter.Preparesometimes being skipped- Hooks failing to be removed when using Partiality
v1.0.0
1.0.0 release 🎉