Jump to content

Confused about a command in Editable Lists

Closed 2.6.7

Wizznall
Wizznall

Posted

In the Editable Lists what does  "stacksize": -1  mean ias i am not sure what it does. 

Thank you

Wizznall

Posted

Here is a better example,

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

nivex

Posted

-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.

Wizznall

Posted

awesome thank you was so confused, but then again i am an old fart lol.

nivex

Posted

haha no problem ejoy

nivex

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.9k

Files Sold

Total number of files sold.

2.4m

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.