Craft Bench

Categories

ServerProfile\Hunter_Mods\HM_Craft_Bench\Categories.json
Categories[]

Default list of 11

The category files to load from the Categories folder (name without .json), in the order they show in the menu. The mod rewrites this list itself when it can read the folder.

Categories files

ServerProfile\Hunter_Mods\HM_Craft_Bench\Categories\*.json

11 files with the same layout (values shown from Ammo.json): Ammo, Attachments, Backpacks, Gear, Helmets, Magazines, Medical, Others, Tools, Vests, Weapons.

Craft Items

The recipes in this category. Each category is one tab in the bench menu, named after the file.

SpawnCraftedItemInsideBenchInventory

Default 0

Set to 1 to put the crafted item inside the bench. Set to 0 to drop it on the ground next to it.

CraftedItemClassname

Default "Ammo_22"

The classname of the item that gets made.

DisplayName

Default ".22 Rounds"

The name shown in the menu.

ResultQuantity

Default 1

How many items get made. 0 means 1.

ResultAmount

Default 0

How full each crafted item is: bullets, stack size or %. Set to 0 for full.

CraftTimerInSeconds

Default 15

How many seconds the craft takes.

RequiredIngredients[]

Default 1 entries

What has to be inside the bench to craft it.

RequiredIngredients[].Classname

Default "Nail"

The ingredient's classname.

RequiredIngredients[].Quantity

Default 15

How much is needed: the stack amount for things that stack (nails, ammo, rags...), or the number of pieces for everything else.

RequiredIngredients[].DamageToItem

Default 0

Only for single pieces. 0 or 1 means the item gets used up. Anything in between (0.01 to 0.99) means it stays, like a tool, and just loses that much health (0.25 = a quarter of its health).

Economy files

types.xml24 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <type name="HM_Craft_Bench">
        <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_Craft_Bench_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_Craft_Bench_Static"></type>
</ignore>