Project Zomboid

Project Zomboid

55 ratings
Preventative Maintenance
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
71.902 KB
Mar 29, 2023 @ 9:50am
Oct 13, 2024 @ 4:49pm
16 Change Notes ( view )

Subscribe to download
Preventative Maintenance

Description
Build 42 Update Coming Soon, with a huge overhaul to many aspects of repairs!

Build 42 Upcoming Improvments
With the next update, prevenative maintenance will be a much bigger mod. Features include:
- Redoing the math of how strong fixers are
- All repairs gain bonus strength based on maintenance level
- All repairs based on maximum condition by default
- Repair stacks reworked (linear decrease, minimum efficiency cap)
- 4 Degrees of success: Critical, success, partial, or failure
- Much simpler critical chance formula and rewards.
- Adding new sandbox settings for features, while getting rid of irrelevant ones.

Preventative Maintenance

Looking for a way to balance repair better? Don't want to be punished for using sub-optimal repair methods? Want to make repair stacks more of an early game problem? Preventative Maintenance can help with all of these issues and more.

Preventative Maintenance adds 4 improvements to repairing. A balanced method for preventing repair stacks, Critical repairs, maintenance experience for repairs, and custom settings.

Preventing Repair Stacks
Repairing at high durability in vanilla is punished, because all future repairs are made less efficient and more likely to fail. To encourage players to actively take care of their items, the repair counter will only go up if you repair at medium/low durability. By default, you prevent all repair stacks while over 70% durability, and as you gain maintenance levels that threshold goes down up to 40%. With Sandbox settings this can be completely tailored to your games needs.

Critical Repairs
Interacting with that same system is Critical Repairs. The more you exceed the prevention threshold, the more you are rewarded with a chance for a critical repair. By default critical repairs remove a repair stack, letting a dedicated player restore a weapon or car part back to pristine condition with enough attempts. Sandbox settings allow for tweaking of the crit values, and also includes more powerful critical effects.

Maintenance experience
This one is pretty simple. You gain maintenance experience for repairing items. The more % of an items condition you restore, the more xp you gain. Also gain even more experience when you prevent a repair stack, crit, or both.

Custom Repair Settings
The mod started as a fork of Crashmasters "Custom Repair Settings", and all the same kinds of sandbox options can be found here. Vanilla zomboid unintuitively repairs based on % missing instead of maximum condition. For example, say you have an 80% condition weapon, and repair it for 50% with duct tape. Instead of going to 100%, it goes to 90%, because thats half of the missing 20% = 10% repair. The "Maximum" sandbox settings will instead will actually fix it the full 100%.

Compatability
Vehicle settings now compatible with Better Sorting (any item in "Mechanics" category)
Mod not compatible with other ISFixAction:perform overrides.
compatible with other ISInventoryPaneContextMenu.addFixerSubOption overrides.
Works in mutiplayer
Works with "Mainteance improves repair" by Neidmare

FUTURE PLANS
Any other feasible community requests
Translations
bug fixes and other improvements

Workshop ID: 2954471711
Mod ID: PreventativeMaintenance
Popular Discussions View All (2)
5
Dec 31, 2023 @ 9:17am
Bug Reports
CakeDayZ
3
Jun 8, 2023 @ 10:37am
Feedback
CakeDayZ
38 Comments
Play4Fun May 18 @ 7:56am 
Thanks for this mod , hope it will be soon available in b42
Brezonte Feb 8 @ 4:15pm 
Nice
CakeDayZ  [author] Feb 8 @ 11:44am 
Good News everyone. I have begun working on the 42 update, because the vanilla repair itself is super broken. I am using the opportunity to make a lot more sweeping improvements to repairs. No ETA yet.
Brezonte Jan 22 @ 4:31am 
When this mod is compatible with version 42 it will undoubtedly reach 5 stars and have double the awards
CakeDayZ  [author] Jan 20 @ 10:15am 
Some of the unstable 42 changes I noticed while I was playing and poking around in the code:
Repair stacks now start at zero instead of one, easy fix codewise.
Reparing weapons is done via crafting, at a table, and takes much more time.
This crafting recipe does not show repair chances or amount it can fix.
The odds of a successful repair are MUCH lower at low skill levels.
Failing a repair always adds a repair stack.
Failing a repair always removes 1 condition (previously it was 20% chance)
Repairs grant exp on successful repair, a flat random amount.
Repairs are still % of missing condition instead of maximum condition.
More fixers added.

So i've got a lot of changes I want to make, but am still waiting for more b42 development first
CakeDayZ  [author] Jan 20 @ 9:59am 
Thank you! With how disappointing the repair changes in b42 are, keeping b41 support is a much higher priority for me now. Also TiS has implmented support for keeping different versions for 41 and 42, so there should be no changes to 41 whenever I get arround to trying to fix 42.
|λ|leeum20|λ| Jan 20 @ 9:43am 
Hope this mod still works with B41 after you update it, this mod is really nice! Great work!
CakeDayZ  [author] Dec 29, 2024 @ 3:26pm 
I have not gotten around to poking the fixing manager. I have seen major changes to the crafting recipe side, but i dunno about the underlying repair function.

I am not in a rush to update my mods, as B42 is still in active development. My modding will resume as the build becomes more and more stable.
Garfield. Dec 29, 2024 @ 1:16pm 
B42 unstable released, i assume you have plans to update this eventually right? i dunno how the repair mechanics work in B42 but i assume they are the same
CakeDayZ  [author] Oct 28, 2024 @ 3:35pm 
Hello, that must be another mod causing that issue. I can repair things with adhesive, glue, and nails just fine with a tiny mod list.