configuration for me: Purpose: to define items to add in a box with a variable chance depending on the item eg an apple is easily found but an explosive is very rare
Purpose: to define items to add in a box with a variable chance depending on the item eg an apple is easily found but an explosive is very rare Capacity: 1 ---- Selects only 1 item from the list of items Chance: 1 --- low chance compared to chance: 100
Config File :
"Containers": [
{
"Entity Shortname": "crate_normal_2",
"Replace Items": false,
"Add Items": true,
"Modify Items": false,
"Maximal Failures To Add An Item": 5,
"Capacity": [
{
"Capacity": 1,
"Chance": 1
}
],
"Items": [
{
"Item Shortname": "explosives",
"Is Blueprint": false,
"Allow Stacking": true,
"Conditions": [
{
"Condition": 100.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Amount": 1,
"Chance": 1
}
],
"Chance": 1
}, //End item 1 (comment)
{
"Item Shortname": "apple",
"Is Blueprint": false,
"Allow Stacking": true,
"Conditions": [
{
"Condition": 100.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Amount": 1,
"Chance": 1
}
],
"Chance": 100
}
]
}
],
"Shuffle Items": true,
"Allow Duplicate Items": false,
"Allow Duplicate Items With Different Skins": false,
"Debug": true
}