Ignore Containers That Spawn With Loot Already - don't work?Solved

In Profiles\RaidBases.json the parameter is set "Ignore Containers That Spawn With Loot Already": false, Why boxes appear with loot from Default_Loot.json, and not with what I left there?

just because a setting is false does not mean it will have the opposite affect of being enabled. that would be very bad as it would conflict with many options then

set Empty All Containers Before Spawning Loot to false if you do not want your loot removed

set Skip Treasure Loot And Use Loot In Base Only to true if you do not want loot tables spawning

it is generally a very bad idea to have static loot with no randomness. i do not recommend it

nivex

just because a setting is false does not mean it will have the opposite affect of being enabled. that would be very bad as it would conflict with many options then

set Empty All Containers Before Spawning Loot to false if you do not want your loot removed

set Skip Treasure Loot And Use Loot In Base Only to true if you do not want loot tables spawning

it is generally a very bad idea to have static loot with no randomness. i do not recommend it

The fact is that I use databases of different sizes. In the Default_Loot file.json I have more than 350 items. There are a lot of boxes in large databases, and everything is fine with loot there. And in small bases there are 2 or 4 boxes, so there is little loot. This is normal, but I would like a little C4 to appear in small databases every time, so I wanted to make one box with a permanent loot in them.

Individual profiles don't work for some reason. Or I'm also doing something wrong with the settings.

you may need to create it, but you could use the oxide/data/RaidableBases/Base_Loot/RaidBases.json file for this, and set Always Spawn Base Loot Table to true in the oxide/data/RaidableBases/Profiles/RaidBases.json profile

though in the free version there can only be one file in the oxide/data/RaidableBases/Base_Loot folder, or it may load a different loot table

setting it up this way will guarantee that these items always spawn, and will give a random amount for each of the items. if you choose to use this then you can enable Empty All Containers Before Spawning Loot in your profile rather than having to edit each file and recopy the base without the items

I do this for the same reason you stated. here's what I use in the tier packages for the easy base loot table so you have an idea of what i'm talking about.

[
  {
    "shortname": "explosive.timed",
    "name": null,
    "amount": 3,
    "skin": 0,
    "amountMin": 1,
    "probability": 1.0,
    "stacksize": -1
  },
  {
    "shortname": "ammo.rocket.basic",
    "name": null,
    "amount": 2,
    "skin": 0,
    "amountMin": 1,
    "probability": 1.0,
    "stacksize": -1
  },
  {
    "shortname": "ammo.rifle.explosive",
    "name": null,
    "amount": 48,
    "skin": 0,
    "amountMin": 24,
    "probability": 1.0,
    "stacksize": -1
  },
  {
    "shortname": "scrap",
    "name": null,
    "amount": 200,
    "skin": 0,
    "amountMin": 100,
    "probability": 1.0,
    "stacksize": -1
  }
]​
Locked automatically