cmss13 icon indicating copy to clipboard operation
cmss13 copied to clipboard

Adds weighted items backend for Logistics Rework

Open Nihisohel opened this issue 1 month ago • 1 comments

About the pull request

Title. Adds the backend for weighted items for use in Logistics Rework based on existing code from the IMP ammo rack and synth breaching hammer

Explain why it's good for the game

https://hackmd.io/@Drathek/S1r-Z4Y2a

Testing Photographs and Procedure

It works, you don't need a video for this

Changelog

:cl: fix: Ziptie boxes can no longer be used to carry an obscene amount of unrelated equipment. You know who you are balance: The IMP ammo rack movement delay is now calculated based on the number of items currently in its storage balance: The Gayon boxes are now considered small items balance: Ziptie boxes are also considered small items... and the other policing cuffs are also resized balance: Ammo/magazine boxes can now slow the player considerably based on ammo/magazine size currently held, and is updated accordingly when reduced or increased code: Adds backend code to automatically add preset items to the can_hold whitelist on item init refactor: Adds weighted items with code based on the IMP ammo rack and synth breaching hammer. refactor: Weighted storage slowdown are calculated based on the number of items in the inventory and the weight multiplier of the storage item, will most likely be a temporary solution if at least a temporary calculation refactor: Weighted item slowdown are calculated based on item size (w_class), so long as the user does not have TRAIT_SUPER_STRONG /:cl:

Nihisohel avatar Nov 21 '25 05:11 Nihisohel

This pull request has conflicts, please resolve those before we can evaluate the pull request.

cm13-github avatar Nov 28 '25 02:11 cm13-github