0 of 0

File information

Last updated

Original upload

Created by

Nauja

Uploaded by

naunauja

Virus scan

Safe to use

Tags for this mod

About this mod

Lets you activate infinite durability for equipment, consumables, and tools.

Permissions and credits
This mod lets you toogle infinite durability on items.

This is largely based on the existing Durability mod, but instead of changing the max durability of new items this one fixes the durability of your items to their max durability, making them have a true infinite durability. The other mod also has a bug where your items go back to 0 durability after reloading the save, which this mod has not.

You can toggle infinite durability per item type:

  • FluidInfiniteDurabilityEnabled - affects containers that can hold fluids (e.g. water bottles), letting them hold more fluid.
  • FoodInfiniteDurabilityEnabled - affects food items that have multiple uses (food items that are single portion are not affected)
  • UsableInfiniteDurabilityEnabled - affects "usable" items, like the hook, the bow, batteries, etc.
  • EquipmentInfiniteDurabilityEnabled - affects items that lose durability when equipped.

Each of these is set to false by default, so the mod will only change the vanilla game by editing the config file.
There is an additional SpecialInfiniteDurabilityEnabled which you can use to toggle infinite durability for specific items. This is done by using the format

<UniqueItemName1>,<UniqueItemName2>,...

so to toggle for headlight, set:

SpecialInfiniteDurabilityEnabled = HeadLight

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.

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/Nauja/raft-mods.