/InfiniteSpears

Every character can carry spears on their back. The number of backspears can be configured (up to seven). If this number is one then the player is able to spawn or despawn spears infinitely.

Primary LanguageC#MIT LicenseMIT

InfiniteSpears

Version: 2.1.9

This is a mod for Rain World v1.9.

Description

This mod has two main features. You can either

  • carry one spear on your back, and spawn or despawn spears using it,
    OR
  • carry multiple spears on your back which behave normally.

In addition, spearmaster can spawn needles directly to its back.

This mod has additional options:

  • (Joke Rifle) You have infinite ammunition for the joke rifle.
  • (Swallowed Items) Most swallowed item are duplicated when regurgitating unless your hands are full.

Installation

  1. Update Rain World to version 1.9 if needed.
  2. Download the file InfiniteSpears.zip from Releases.
  3. Extract its content in the folder [Steam]\SteamApps\common\Rain World\RainWorld_Data\StreamingAssets\mods.
  4. Start the game as normal. In the main menu select Remix and enable the mod.

Bug reports & FAQ

See the corresponding sections on the Steam Workshop page for the mod SBCameraScroll.

Contact

If you have feedback, you can message me on Discord @schuhbaum or write an email to SchuhBaum71@gmail.com.

License

There are two licenses available - MIT and Unlicense. You can choose which one you want to use.

Changelog

(Rain World v1.9)

v2.1.9:

  • Made the IL hook more robust.
  • (swallowed items) Fixed some bugs where specific consumables could not be duplicated.
  • IL hooks should no longer be logged multiple times when other mods add these IL hooks as well.
  • Option specific hooks are no longer initialized every cycle. Instead they are initialized when starting the game or changing the options.
  • Added pdb file for debugging.
  • Fixed a bug where you could spawn needles to your back while carrying a slugcat.
  • Added for each slugcat a separate slider for the number of backspears.
  • Potentially fixed a bug where the game would freeze because you had more than 7 backspears (duplicate glitch?).
  • Fixed a bug where you could carry backspears and a slugpup on your back at the same time.
  • Added that retrieving a spear from your back is prioritized when you can dual wield them (like Spearmaster).

v2.1.0:

  • Added support for Rain World 1.9.
  • Removed AutoUpdate.
  • Added options to exclude certain characters. Saint is excluded by default.
  • Spearmaster can spawn needles to his back. Spawning spears from backspears is prioritized.
  • Fixed a where the game would crash when a player was initialized multiple times.
  • Restructured code.
  • You can spawn needles to your back even when blacklisted since you can have a backspear perk as well.
  • Fixed a bug where the player would gain invincibility.
  • Fixed a bug where you would drop spears prematurely when being stunned. For example, being grabbed by leeches counts as stun.
  • Added a consistency check. There seems to be cases where spears on your back are deactivated but the mode of the spears is not changed.
  • (joke rifle) Added this option (disabled by default).
  • (swallowed items) Added this option (disabled by default).
  • Duplicated items should have the same randomness now. For example the color for slugpups should match (if the swallow everything mod is used).

(Rain World v1.5)

v0.36:

  • Fixed a bug, where a list was not properly iterated over.
  • Fixed a bug, where a backspear was incorrectly drawn in front of slugcat.
  • Added support for the Electric Spear mod.
  • Fixed a (vanilla?) bug, where the game attempts to push backspears out of shortcuts. This led to repeated sounds.
  • This mod is now a BepInEx plugin.
  • Added the mod description to the mod config.
  • Fixed a bug where the dependency checks would fail when using the modloader Realm.

v0.30:

  • Added support for AutoUpdate.
  • Fixed an oversight, where you couldn't collect spears when holding two rocks.
  • Fixed some bugs, where backspears wouldn't get properly deleted. Linked backspears directly to the AbstractObjectStick, i.e. deactivating the AbstractObjectStick removes the corresponding backspear.
  • Restructered code.

v0.20:

  • Adds the ability to carry multiple spears on the back.
  • Added an option interface to select the number of backspears (needs ConfigMachine).