SimpleTweaks
Quality-of-life tweaks for PEAK: hunger overflow extends hunger countdown, death timer regenerates while carried, swap held item with backpack item, and backflip never fails. All features have independent toggles.Changelog
1.1.3
Fixed
-
Backpack swap now keeps the item in the slot it was swapped out of. Previously, as a client, the item taken from the backpack landed in your first empty slot (or the temporary slot when all three were full), instead of the slot the exchanged item came from — so a swap could silently reorder your hotbar.
The host-side swap was always positionally correct; this only affected clients.
1.1.2
Fixed
-
Critical: backpack item swap no longer deletes the item. In 1.1.1 the hand slot was cleared before the stash RPC was sent. That RPC reads the hand slot's live contents, so it saw an empty slot, failed internally, and the item was lost — it went neither into the backpack nor stayed in hand. The order is now the same as vanilla
Backpack.Stash: send the RPC first, then clear the hand slot.This only affected clients in multiplayer. When you are the host, the swap is done directly on the authoritative side and was never affected.
1.1.1
Compatibility release for PEAK 2.4.b. Updating is strongly recommended.
Fixed
- Critical: picking up items no longer breaks. On PEAK 2.4.b,
Player.EmptySlotgained an extra optional parameter. Because C# bakes optional arguments in at compile time, the old build threwMissingMethodExceptioninside a Harmony prefix, which caused the game'sOnPickupAcceptedto be skipped entirely. Symptoms were: picked-up items went straight into a slot instead of your hand, and in the airport no item could be taken out of a slot at all. - Game API calls that may gain optional parameters are now resolved at runtime, so future game updates of this kind can no longer break the mod.
- Every patch body is now exception-guarded. A failure inside the mod can no longer skip the vanilla method it patches — the tweak simply becomes inactive and the error is logged.
- Backpack item swap (client path) now clears the hand slot before sending the stash RPC and verifies the result, removing a case that could duplicate an item.
Added
Diagnostics / VerboseDiagnosticsconfig option (off by default) for logging pickup and swap steps when troubleshooting.
1.1.0
Added
- Backflip Always Succeeds: the vanilla backflip emote had a 50% chance to fail and ragdoll you to the ground. Now it always lands. Works even when other players don't have the mod.
Fixed
- Backpack item swap now works in multiplayer as a client. The previous implementation relied on a custom RPC that required the host to also have the mod installed. It now chains vanilla RPCs instead, so the host needs nothing.
- Death timer regeneration now only runs on the authoritative client.
- Hunger overflow no longer applies when a skeleton-only food item has no effect.
- Various robustness fixes across all features (null handling, reflection caching, RPC ordering).
Changed
DeathRegenerationRatedefault changed from0.5to1(regenerates at the same speed it drains).
1.0.0
Initial release.
Features
- Hunger overflow extends hunger countdown (default 10s per 1%, max 120s)
- Death timer regenerates while carried (default same speed as drain)
- Backpack item swap: swap held item with backpack item
- Optional PeakStatsEx compatibility for hunger countdown display
