I'm using better loot and I thought I could use this to add an item to that loot like a radom rarity but it just spawns in every time do I need to write out the entire loot file using loot plus ? here is my config maybe I'm doing something wrong.... I have blue barrels to spawn 2 items plus scrap with this config or any other option I tried I get the scrap 1 random item and the AK I have listed here what I'm trying to do it get the scrap and 2 items and add a rare skined named AK or randomly replace one of the items with the skined named ak like 1 in 10 barrels.....
{
"Refill Loot On Plugin Load": true,
"Container Loot Save Command": "lootsave",
"Container Refill Command": "lootrefill",
"Load Config Command": "lootconfig",
"Containers": [
{
"Entity Shortnames": [
{
"Shortname": "loot_barrel_1",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": true,
"Process Loot Containers": true,
"Monument Prefabs": [
""
],
"Shuffle Items": false,
"Allow Duplicate Items": false,
"Allow Duplicate Items With Different Skins": true,
"Remove Container": false,
"Item Container Indexes": [
0
],
"Replace Items": false,
"Add Items": true,
"Modify Items": true,
"Modify Ignores Blueprint State": false,
"Fill With Default Items": true,
"Online Condition": {
"Minimal Online": -1,
"Maximal Online": -1
},
"Maximal Failures To Add An Item": 5,
"Capacity": [
{
"Capacity": 1,
"Chance": 1
}
],
"Items": [
{
"Item Shortnames": [
{
"Shortname": "rifle.ak",
"Rarity": "global",
"Category": "global",
"Enable Regex": false,
"Exclude": false
}
],
"Item Name (Empty To Ignore)": "Pew Pew",
"Is Blueprint": false,
"Allow Stacking": false,
"Ignore Max Stack": true,
"Ignore Max Condition": false,
"Remove Item": false,
"Replace Item With Default Loot": false,
"Conditions": [
{
"Minimal Condition": 100.0,
"Maximal Condition": 100.0,
"Max Condition Of Item": 100.0,
"Condition Rate": 100.0,
"Max Condition Rate": 100.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 2846202839,
"Chance": 1
}
],
"Amount": [
{
"Minimal Amount": 1,
"Maximal Amount": 1,
"Rate": 1.0,
"Chance": 1
}
],
"Chance": 1
}
]
}
],
"Debug": false
}
Help with loot merging
Disable Modify Items - you only need Add Items, and you would need two capacities. One with 0 slots (so that no items are added) and one with 1 slot (one item is added). Then you can set ie. 0 slots with 9 chance and 1 slot with 1 chance, which means item would drop in 1 out of 10 cases.