Adding a variable amount?
Hey, I was curious if I a doing this right. I am trying to make it so an item has a chance of spawning as one item or two. Can you check my code and see if this is how you do it?


{
"Item Shortname": "shelves",
"Item Name (Empty To Ignore)": "",
"Is Blueprint": false,
"Allow Stacking": true,
"Conditions": [
{
"Condition": 100.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Amount": 1,
"Rate": -1.0,
"Chance": 50
},
{
"Amount": 2,
"Rate": -1.0,
"Chance": 50
}
],
"Chance": 6
}
Hey! AFAIK its ok, but you could use change 1 and 1, nothing would change. 50 + 50 = 100, 50 is 50%. 1 + 1 = 2, 1 is 50%