You are viewing a potentially older version of this package. View all versions.
Cray-InAirItems-0.2.1 icon

InAirItems

Auto-selects the next available inventory item the moment Spring Boots fire so you can deploy items mid-jump without scrolling.

By Cray
Date uploaded 3 months ago
Version 0.2.1
Download link Cray-InAirItems-0.2.1.zip
Downloads 305
Dependency string Cray-InAirItems-0.2.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

InAirItems

Use items mid-jump without fumbling through hotkeys. The moment your Spring Boots fire, this mod auto-selects the next available item in your inventory, so a single tap of the use button right after the launch deploys whatever you had queued up.

The vanilla mid-air block was effectively "your slot is empty after the single-use boots consume themselves." Selecting forward to the next non-empty slot resolves that without touching the actual item-use eligibility logic.

Build / deploy / release

dotnet build -c Release
pwsh tools/package.ps1
gh release create vX.Y.Z artifacts/Cray-InAirItems-<ver>.zip --notes-file CHANGELOG.md

CHANGELOG

Changelog

v0.2.1

  • Actually install the postfix. v0.1.0 / v0.2.0 placed [HarmonyPatch] on the postfix method, but Harmony.PatchAll() scans types — so the method-level attribute was invisible and the postfix never ran in either earlier release. Wrapped in the standard nested-class pattern used by the other mods. The deferred-select / reflection-fallback body from 0.2.0 is unchanged; it just gets to run now.

v0.2.0

  • Defer the auto-select by one frame so it lands after SetIsInSpringBootsJump(true) instead of mid-TriggerJumpInternal, where vanilla state-machine ordering caused the select to silently no-op for some users.
  • If TrySelectItemSlot keeps refusing (up to 3 attempts), fall back to writing the EquippedItemIndex backing field directly + telling PlayerInfo to update its hand visuals. Guarantees the slot does switch even if a vanilla gate gets in the way.
  • Add Diagnostics.VerboseLogging (default false) so future failures can be diagnosed remotely without re-instrumenting the source.

v0.1.0

  • Initial release. Auto-select the next available inventory item on Spring Boots activation.