Recycler

HM_Settings_Recycler

ServerProfile\Hunter_Mods\HM_Recycler\HM_Settings_Recycler.json

General

enableRecycleRuinedItems

Default 1

Set to 1 so ruined items can be recycled too. Set to 0 so they can't.

batteryEnergyPerItem

Default 5

How much car battery energy one item uses. A full battery has 500.

Recycler Recipes

What each item turns into. It first looks for the exact classname, then the parent class, then Magazine_Base or Tool_Base, and if nothing matches it uses "Others".

mainResource

Default "Others"

The classname (or parent class) this recipe is for. "Others" means everything else.

recycleResults[]

Default 2 entries

What you can get. Each result rolls its own chance (per bullet for ammo, per unit for stacks).

recycleResults[].resultType

Default "Paper"

The classname you get.

recycleResults[].quantityMin

Default 1

Minimum number you get (it picks a random number between minimum and maximum).

recycleResults[].quantityMax

Default 1

Maximum number you get.

recycleResults[].healthMin

Default 0.5

Minimum condition, from 0 (ruined) to 1 (pristine).

recycleResults[].healthMax

Default 1

Maximum condition, from 0 (ruined) to 1 (pristine).

recycleResults[].chance

Default 0.4

Chance to get this result, from 0 (never) to 1 (always).

Economy files

types.xml35 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <type name="HM_Recycler_Plus">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>
    </type>
    <type name="HM_Recycler_Plus_Static">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>
    </type>
    <type name="HM_Recycler_Plus_Kit">
        <nominal>15</nominal>
        <lifetime>14400</lifetime>
        <restock>0</restock>
        <min>12</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
</types>
cfgignorelist.xml4 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ignore>
	<type name="HM_Recycler_Plus_Static"></type>
</ignore>