Loot Table for Free Version Explanation

Hi everyone, my smooth brain and I could use some help with understanding how I am suppose to properly edit the loot tables. I've noticed there are three main locations for the free version and I honestly don't know which one I ams suppose to be editing.

My server is just for me, and my goal is just to have a raidable base that has similar to what a player might have in their base. So random amounts of resources, random equipment, etc.

So what I need to know is 

A. Which json file should I be editing?

B. Is the amount just the maxiumum amount that can spawn for that item? Also why is stack size -1?

 "shortname": "ammo.pistol.fire",

    "name": null,

    "amount": 40,

    "skin": 0,

    "amountMin": 40,

    "probability": 1,

    "stacksize": -1


C. I had tried to copy and paste my default.json loot table to my normal.json and baseloot.json but it caused and error that made the whole pluggin stop working. Is there a different format I need to use to edit the normal.json and baseloot.json?

 

Any help in regards to this would be incredibly appreciated. I really like to just sort of solo play and just wanted some more NPC play, but with my loot tables as they are now the boxes don't really fill up with more than one item which makes raiding not worth it.

heya.

a. edit the difficulty loot file. start with rb.populate all command from the documentation.

b. yes, and -1 stacksize is the default which tells the plugin to let the server handle the stacks instead of the plugin. likewise if you put stacksize to 6 and amount to 12 then you'll have 2 stacks of 6.

c. standard json. use jsonlint.com to validate and fix errors.

Amount Of Items To Spawn is how you determine how many items spawn from your loot table. when you get the basics down then you can use other loot tables. such as Base Loot, which should contain a few items that you always want to spawn using the Always Spawn Loot Table setting. such as resources and boom. otherwise they wont be guaranteed to spawn. everything is random from the Difficulty Loot table

Thanks so much for getting back so quickly and for the website to look for errors! When I ame ready to edit base loot do I use the same format as found in the default.json just with cherry picked items?

Oh also, do I just leave the jsons in the editable_lists folder alone? I notice one of them has the same name as the one in the diffictuly loot folder.

no problem. you would probably be better off editing from the Editable_Lists folder and copying to your Difficulty Loot folder when done. this is the easiest way, since all items are disabled by default and you won't have to add them one by one.

there is RB Loot Table Editor application that you can download from codefling by beee which makes this process much more manageable.