Jump to content

Confused about a command in Editable Lists

Closed 2.6.7

Here is a better example,

{
    "shortname": "bandage",
    "name": null,
    "amount": 30,
    "skin": 0,
    "amountMin": 5,
    "probability": 1.0,
    "stacksize": -1
  },

Share this comment


Link to comment

-1 means use the servers stacksize setting, which could be controlled by any plugins that modify stacksizes, such as Stacksize Controller

set it to any value to use that value instead of the servers value. it is useful when you want to split items into many boxes

Quote

{
    "shortname": "bandage",
    "name": null,
    "amount": 30,
    "skin": 0,
    "amountMin": 5,
    "probability": 1.0,
    "stacksize": 10
  },

so, if it randomly picked one stack of 30 bandages then it would be split into 3 stacks of 10 that then would randomly spawn into boxes. this is especially useful for boom items.

each split item is counted towards the total number of items required to spawn. 1 inventory slot = 1 item spawned

stacksizes for resources are ignored in the TC and use the servers stacksize instead.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.