Rushed Transfer – Instant Transfer Items with Consequences! [b41+]
Allows your character to force transfer an item and deal with the consequences. Very useful if you are in a hurry! Or simply if you want to build your base faster. This mechanism is inspired by a similar one available in State of Decay.
How does it work, what does it do?
- Default key binding is [O] (configurable in options)
- Automatically sends the item to the desired inventory/bag/floor
- Generate noise and endurance loss depending on item weight
- Potential risk to damage the item or yourself in the process (depends of item)
- Works for transferring and grabbing items timed actions
- Currently only works for single item transfer (not bulk transfer yet)
Noise:
Rushing transfers will cause quite the rackuss! The heavier the item is, the louder it gets. Generated sound will always be at a minimum radius of 5 squares and can carry up 20.
Examples:
- Pen > 5 squares
- Shirt > 5 squares
- Baseball Bat > Sound radius 6 squares
- Plank > Sound radius 9 squares
- DumbBell > Sound radius 15 squares
- Propane Tank > Sound radius 20 squares
- Antique Oven > Sound radius 20 squares
Fatigue:
Moving items in a hurry is no walk in a park. Stamina is also reduced depending on the item’s weight. This is mitigated by the character’s Fitness level.
For instance, instantly moving a Propane tank will cost you:
- 2.5% of stamina for a Standard Character (Fitness 5)
- 1.25% of stamina for a Fit Fitness Instructor (Fitness 10)
- 6.25% of stamina for a Unfit Standard Character (Fitness 1)
For balancing reasons:
- Fitness is always considered to be between 2 and 10
- Weight taken into account does not exceed 10
Condition Degradation:
Shoving items with force from one place to another is the best way to break your stuff! Rushing transfer of an item carries a chance to degrade it. Base chance to damage the item is 60% but Maintenance reduces risk of damaging the item by 10% per level in skill. Meaning a 30% chance of damaging item for character at Maintenance 3 (Starting skill of a Handy Repairman)
Items that can be affected:
- Weapon-typed items may lose a tenth of their durability
- Containers (bags) may lose 1 point of carrying capacity
- Canned goods may break open
Heavy Lifting Injuries:
No time to think about lifting with your legs and not your back? I feel sorry for your spine! Just like sleeping on a bad bed, rushing a transfer of heavy items may cause you back pain. Base chance for damaging your back is Item_Weight*10% with a maximum of 100%. Each Strength level reduces risk by 10% per level. Inflicted Pain and Damages also depend on the item’s weight.
Example of a standard Strength 5 Character:
- Shirt > 0% chance of hurting back
- Plank > 0% chance of hurting back
- Barbell > 10% chance of hurting back
- Logs > 40% chance of hurting back
- Propane Tank > 50% chance of hurting back
This Means 40% chance of hurting yourself with logs at (default character)
Sharps Injuries:
If you don’t know how to handle them, you should stay careful when manipulating blades. Rushing a transfer of a sharp weapon could lacerate your hand!
Base chance for cutting yourself is 60%. Blade-related skill (Short Blade/Long blade/Axe) reduces the risk by 15% per level in each. Meaning 0% chance of damaging hands with blade for a character at Axe 3 (Starting skill of a Brawler Lumberjack)
I plan to expand the system when I get more time for modding. Here are the ideas that I have not yet implemented.
- More randomness on wounds location
- Loaded guns and chance to shoot yourself
- Fracture chances with very heavy weapons
- Make the code work for bulk items transfer
- More degradation to items (food, clothes, etc.)
- Traits integration to odds (Lucky/Unlucky/Dextrous/AllThumbs)
- Eventually fixes and balancing
Many thanks to those who have assisted me when I hit bumps on the road developing this. To co` for explaining that player actions are java.util.Stack objects and how to manipulate those.To Fenris_Wolf for his direct support and insights related to scopes and vanilla functions overriding, as well as for his modding guide that you can find here[github.com].
Workshop ID: 2691346300
Mod ID: rushedtransfer



