I don't have typos or anything, I just copied the entries from my data file I had so far:
{
"Shortname": "pistol.semiauto",
"MinAmount": 1,
"MaxAmount": 1
},
But that seems to be outdated too now. Thanks 👍
Merged postNevermind, it still doesn't work... Although I think I did everything right.
It doesn't reset the data file at least, because all the other stuff I added in there is working, like the NPC health, event names, hack timer, etc... It's just the loot tables for the crates that don't get applied ingame.
One loot table looks like this:
"create loot items": [
{
"DisplayName": null,
"Shortname": "smg.mp5",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "ammo.pistol",
"SkinID": 0,
"MinAmount": 150,
"MaxAmount": 200
},
{
"DisplayName": null,
"Shortname": "rifle.ak",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 2
},
{
"DisplayName": null,
"Shortname": "ammo.rifle",
"SkinID": 0,
"MinAmount": 150,
"MaxAmount": 200
},
{
"DisplayName": null,
"Shortname": "jacket.snow",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "metal.facemask",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "metal.plate.torso",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "scrap",
"SkinID": 0,
"MinAmount": 500,
"MaxAmount": 750
},
{
"DisplayName": null,
"Shortname": "grenade.f1",
"SkinID": 0,
"MinAmount": 2,
"MaxAmount": 5
},
{
"DisplayName": null,
"Shortname": "guntrap",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "flameturret",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "supply.signal",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "supertea",
"SkinID": 0,
"MinAmount": 1,
"MaxAmount": 1
},
{
"DisplayName": null,
"Shortname": "metal.refined",
"SkinID": 0,
"MinAmount": 75,
"MaxAmount": 100
},
{
"DisplayName": null,
"Shortname": "metal.fragments",
"SkinID": 0,
"MinAmount": 800,
"MaxAmount": 1000
},
{
"DisplayName": null,
"Shortname": "diesel_barrel",
"SkinID": 0,
"MinAmount": 5,
"MaxAmount": 10
}
]
I have four difficulties and every loot table looks like this (except other items of course). Is there an error in there? Because I can't find any.