About this mod
Lets you set multipliers on durability for equipment, consumables, and tools.
- Permissions and credits
- Changelogs
- Donations
Item types are given separate multipliers as follows:
- FluidDurabilityMultiplier - affects containers that can hold fluids (e.g. water bottles), letting them hold more fluid.
- FoodDurabilityMultiplier - affects food items that have multiple uses (food items that are single portion are not affected)
- UsableDurabilityMultiplier - affects "usable" items, like the hook, the bow, batteries, etc.
- EquipmentDurabilityMultiplier - affects items that lose durability when equipped.
- OtherDurabilityMultiplier - affects other items with multiple uses
Each of these is set to 2 by default, so each type of item should increase durability to 2x. You can change this by editing the config file.
The mod works by changing the uses and max uses of newly created items, so it will not affect existing items.
There is an additional SpecialDurabilityMultiplier which you can use to set modifiers for specific items. This is done by using the format
<UniqueItemName>:<Multiplier>
so to multiply the number of uses a new headlight gets, set:
SpecialDurabilityMultiplier = HeadLight:2
Multiple item entries are separated by commas. You need to use the item's unique name which you'll need to figure out from the code somehow. I can post a list somewhere if people actually use this.
The config file is created in BepInEx/config after running the game once with this mod installed. You'll have to run the game to the main menu, close the game, edit the config file, then run the game again.
Installing
This mod uses BepInEx to run, not Unity Mod Manager.
To install BepInEx for Raft, you can use this tool:
https://www.nexusmods.com/site/mods/287
To install this mod, place the dll file in the game's BepInEx/plugins folder after installing BepInEx.
Source code is at https://github.com/aedenthorn/RaftMods.
If you want to complain or ask for help or help me test my mods, you can visit my Discord server.