Craft Bench
Categories
ServerProfile\Hunter_Mods\HM_Craft_Bench\Categories.json| Setting | Default | What it does |
|---|---|---|
Categories[] | 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[]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\*.json11 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.
| Setting | Default | What it does |
|---|---|---|
SpawnCraftedItemInsideBenchInventory | 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 | "Ammo_22" | The classname of the item that gets made. |
DisplayName | ".22 Rounds" | The name shown in the menu. |
ResultQuantity | 1 | How many items get made. 0 means 1.Quantity and amount guide |
ResultAmount | 0 | How full each crafted item is: bullets, stack size or %. Set to 0 for full.Quantity and amount guide |
CraftTimerInSeconds | 15 | How many seconds the craft takes. |
RequiredIngredients[] | 1 entries | What has to be inside the bench to craft it. |
RequiredIngredients[].Classname | "Nail" | The ingredient's classname. |
RequiredIngredients[].Quantity | 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 | 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). |
SpawnCraftedItemInsideBenchInventoryDefault 0
Set to 1 to put the crafted item inside the bench. Set to 0 to drop it on the ground next to it.
CraftedItemClassnameDefault "Ammo_22"
The classname of the item that gets made.
DisplayNameDefault ".22 Rounds"
The name shown in the menu.
ResultAmountDefault 0
How full each crafted item is: bullets, stack size or %. Set to 0 for full.
CraftTimerInSecondsDefault 15
How many seconds the craft takes.
RequiredIngredients[]Default 1 entries
What has to be inside the bench to craft it.
RequiredIngredients[].ClassnameDefault "Nail"
The ingredient's classname.
RequiredIngredients[].QuantityDefault 15
How much is needed: the stack amount for things that stack (nails, ammo, rags...), or the number of pieces for everything else.
RequiredIngredients[].DamageToItemDefault 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
<?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><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ignore>
<type name="HM_Craft_Bench_Static"></type>
</ignore>