Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Releases: SlimeCubed/SlugBase

v1.3.0

24 Jan 23:44
49d1bd1

Choose a tag to compare

Adds some new features:

  • Characters can now override their arena mode portraits by including the files Illustrations/MultiplayerPortraitXY.png in their resources, where X is a player number between 0 and 3 and Y is 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.GetCustomScene and GetCustomSlideshow now exist to let mods view information about scenes and slideshows overridden via SlugBase.

Changes the behavior of some existing features:

  • SaveManager.GetSaveSummary will 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

19 Dec 03:39
f84e8b4

Choose a tag to compare

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 passing true to the multiInstance parameters of their constructors. When opted in, this character can exist in the same game session as other vanilla or SlugBase characters.
  • Overloads of SlugBaseCharacter.IsMe are available to check whether any given Player, RainWorldGame, or SaveState is an instance of the current character.
  • SlugBaseEx.GetCustomImage is now available to retrieve the SceneImage a MenuIllustration was 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.GetSelectedArenaCharacter is now available to check what character any given player has selected.

Changes the behavior of some methods:

  • Enable and Disable are 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

23 Nov 05:41

Choose a tag to compare

v1.2.0-beta4 Pre-release
Pre-release

Adds some new features:

  • The slugcat selector in arena mode can now assign a different character per player
  • The SceneImage used to build a MenuIllustration can now be retrieved using SlugBaseEx.GetCustomImage

Changes the behavior of some methods:

  • SlugBaseCharacter.SlugcatColor now receives the original color as an argument
  • SlugBaseCharacter.Enable and SlugBaseCharacter.Disable are 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

06 Nov 21:38
e6f3cf9

Choose a tag to compare

v1.2.0-beta3 Pre-release
Pre-release

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 GetSelectMenuState to lock or hide themselves on the select menu
  • Mods can save extra data using SaveManager.GetCharacterData and SaveManager.GetGlobalData that 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

28 Jun 22:37

Choose a tag to compare

Fixes a freeze when SlugBase characters enter custom regions.

v1.1.5

22 May 19:32
963ed7b

Choose a tag to compare

Fixes a bug where the characters '<', '>', ':', and ',' would corrupt save data.

v1.1.4

18 Apr 04:47
18a4e4e

Choose a tag to compare

Fixes a bug where Hunter's sleep screen would be replaced by Survivor's.

v1.1.3

29 Mar 03:57

Choose a tag to compare

Fixes a bug where modded cutscenes would sometimes be applied to the default characters.

v1.1.2

24 Mar 01:36

Choose a tag to compare

Fixes a number of bugs, including:

  • Intro slideshows replacing the outro
  • Custom outros not working
  • Passages not working
  • SlugBaseCharacter.Prepare sometimes being skipped
  • Hooks failing to be removed when using Partiality

v1.0.0

01 Mar 22:42

Choose a tag to compare

1.0.0 release 🎉