Project Zomboid

Project Zomboid

99 个评价
Rushed Transfer - Instant Transfer Items with Consequences! [b41/b42]
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
241.282 KB
2021 年 12 月 23 日 下午 12:46
2024 年 12 月 26 日 下午 4:37
2 项改动说明 ( 查看 )

订阅以下载
Rushed Transfer - Instant Transfer Items with Consequences! [b41/b42]

描述
Features
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)

Consequences!

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)

Upcoming Plans
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

Extra
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

More Mods by Onkeen:
热门讨论 查看全部(1)
0
2022 年 1 月 15 日 下午 3:39
Bug on dedicated server (debian 11)
Dane
22 条留言
Raxdeg 4 月 1 日 上午 11:05 
@mountainofcheezo -- I made that mod. Search "Transfer All" --- it's just like Loot All, but transfer. With the button and the shortcut and everything.
mountainofcheezo 3 月 18 日 下午 6:39 
If possible, I'd love to have a mod that just gives me a keybind for the "transfer all" function
Snowkeu 1 月 11 日 下午 3:05 
doesn't seem to work even when pressing O
Stealth 2024 年 12 月 27 日 上午 8:14 
Love the idea, but would appreciate custom multiplier options for the different variables.
RamboTurkey 2023 年 4 月 30 日 下午 3:07 
is there a way to tie this to panic level instead of using a hotkey?
Oblivionox09 2022 年 12 月 21 日 上午 8:01 
just get gud but not at the moment unless he makes a version with only those
Alkanshel 2022 年 11 月 19 日 上午 9:00 
Possible to only have the stamina loss/noise and not the degradation?
Onkeen  [作者] 2022 年 9 月 24 日 下午 4:54 
@BDRMrTBagTV I would say more like active maintenance. Like the 6 other mods I actively manage, I do updates when I get the time, first for fixes, then for new features!
Onkeen  [作者] 2022 年 9 月 24 日 下午 4:52 
@SelDog Yes it does!
Mur Derer 2022 年 9 月 6 日 上午 1:26 
Does it still work??