IAmZane added a new file:
QuoteDisplay MorePossible Changes
Multiple Death Behaviors:
Choose between randomized item loss or reset your inventory to whatever it was when you dropped in.
Durability Damage System:
Choose whether your Kit wears down on failed raids.
Choose whether weapons and armor lose durability on failed raids, default is lasts about 5 runs before breaking beyond repair.Secure Container Overhaul:
Choose whether Items in your secure container retain or lose their FIR status on death. You can put that last set of bolts in it to keep FIR for the hideout, even if you die!
Scav Changes:
Customize Scav cooldown behavior.
Make it so you can do a Scav run whenever you login, or allow a Scav run immediately after Scav death.
Insurance Tweaks:
Customize the time for insurance returns, defaults to about 1 raid and you get your stuff back.
You can see in the config, it's all customizable!Config
Most features are tweakable in
src/config.json
. Most of the fields are documented and self-explanatory. Hopefully no guesswork needed.Compatibility
This mod replaces
endLocalRaid
function and thestartLocalRaid
function. It will not work with others that overwrite those as it relies on hooks scattered throughout the protected source functions. Mods that hook into pre/post-raid behavior (after or before the referenced functions) should still work dandy 👍.
Everything else is Vanilla. I really love the game, I just can't stand the dying.
Preview of the config file so you can see what all the mod will do.
JSON: config.jsonDisplay More{ "OnDeathBehavior": { "DoRandomItemLossOnDeath": { "Comment": "Lose a percentage of items on death - ENABLED BY DEFAULT", "Comment_PS": "Only one behavior will be active at a time, 'DoRandomItemLossOnDeath' comes first *- ", "Comment_PS_PS": "-* in da' code so if it is enabled it will over-write any other behavor options", "Enabled": false, "ItemLossPercentages": { "Bag": { "min": 20, "max": 50 }, "Vest": { "min": 0, "max": 20 }, "Pocket": { "min": 20, "max": 100 } }, "DoDurabilityLoss": true, "DurabilityLossPercentages": { "Helmet": { "min": 5, "max": 10 }, "Vest": { "min": 5, "max": 10 }, "PrimaryWeapon": { "min": 15, "max": 25 }, "SecondaryWeapon": { "min": 10, "max": 25 }, "HolsterWeapon": { "min": 10, "max": 25 } }, "RemoveFIR": { "SecureContainerItems": false, "Helmet": true, "Backpack": true, "BackpackItems": true, "Vest": true, "VestItems": true, "PocketItems": true, "PrimaryWeapon": true, "SecondaryWeapon": true, "HolsterWeapon": true } }, "ResetToPreRaidInventory": { "Comment": "Inventory reset to pre-raid, no item loss or degradation, health damage *-", "Comment_PS": "-* rep, stats, normal after raid stuff stays", "Enabled": true, "SecureContainerBehavior": { "Comment": "Remove FIR status and reset items in your SecureContainer, disabled by default", "ResetItems": false, "RemoveFIR": false } } }, "ScavChanges": { "Comment": "It's the honor system for just quitting and reseting the scav timer.", "Comment_PS": "I like to treat Scavs as a throwaway/warmup and I usually run around till I die *-", "Comment_PS_PS": "-* I know I'm crazy, hence the config", "Enabled": true, "MaxCooldownRangeInMinutes": { "min": 5, "max": 10 }, "InstantCooldownOnDeath": false, "InstantCooldownOnLogin": true }, "InsuranceChanges": { "Comment": "About one raid, then you can go back to ya old kit.", "Comment_PS": "Vanilla insurance return time is 129600 to 172800. That's 36-48 hours in seconds", "Enabled": true, "EnableReturnTimeOverride": true, "MaxReturnRangeInMinutes": { "min": 10, "max": 20 }, "KeepInMailBoxForever": true, "InsuranceAlwaysWorks": false } }