Jump to content

Changing stack sizes


Scithen
 Share

Recommended Posts

I found this game a week or two ago and rather like it, but I installed some mods after getting brutally killed by almost everything at first. >.<

 

I love the Stackables mod, though I found myself looking at the different json files to tweak it a little - increase stack sizes, mainly, so I'm not having to go back to my camp every 10 minutes. I couldn't help but notice that while there are a lot of different options, there were a few I couldn't find. I also have no idea how to make mods, or evern read what they actually do - but I can change numbers if they're clearlyt labeled.

 

Is it possible to modify the stack sizes for the various soils, sands, gravels, cobblestones, etc? I did attempt to tweak the mod for the game my wife and I play (to increase the stack size of sand), but it never seemed to work so I just went back to a previous version.

Link to comment
Share on other sites

27 minutes ago, Scithen said:

I found this game a week or two ago and rather like it, but I installed some mods after getting brutally killed by almost everything at first. >.<

 

I love the Stackables mod, though I found myself looking at the different json files to tweak it a little - increase stack sizes, mainly, so I'm not having to go back to my camp every 10 minutes. I couldn't help but notice that while there are a lot of different options, there were a few I couldn't find. I also have no idea how to make mods, or evern read what they actually do - but I can change numbers if they're clearlyt labeled.

 

Is it possible to modify the stack sizes for the various soils, sands, gravels, cobblestones, etc? I did attempt to tweak the mod for the game my wife and I play (to increase the stack size of sand), but it never seemed to work so I just went back to a previous version.

You can add (or change) maxstacksize: <your number> at the root of a block or item json (blocktypes and itemtypes folders)

Link to comment
Share on other sites

Not gonna lie, I'm not really sure how to go about doing that. I read over the wiki and while some of the info there makes sense, I wasn't really able to figure out how to actually put these things together. I did use some of the mod's json files as an example template, though, hoping that would work. The one I ended up trying (and tweaking numerous times) was:

 

survival-blocktypes-stone-sand.json

[
  {
    "op": "replace",
    "path": "/maxStackSize",
    "value": 300,
    "file": "game:blocktypes/stone/sand.json"
  }
]

Out of habit every time I made a change I would update the .zip file, close the game and relaunch it, and go back into my test world. Never could get the sand to stack beyond 64. I've tried everything I can think of, though that was mainly just changing the "file" section, since the sand.json is in VS > assets > blocktypes > stone > sand.json.

 

Alternately I did check the games sand and sandlayered files, though I didn't see anything about maxstacksize in either one. I'm not above changing the base game's files if it's easy to do so, but given that I don't usually play solo, it's easier if it's in a mod that I can send to my wife so we both have the exact same settings, especially after the last game we played for a bit where literally everything was case sensitive and it wreaked havoc on us for a while.

Link to comment
Share on other sites

On 12/22/2021 at 11:21 AM, Scithen said:

Not gonna lie, I'm not really sure how to go about doing that. I read over the wiki and while some of the info there makes sense, I wasn't really able to figure out how to actually put these things together. I did use some of the mod's json files as an example template, though, hoping that would work. The one I ended up trying (and tweaking numerous times) was:

 

survival-blocktypes-stone-sand.json

[
  {
    "op": "replace",
    "path": "/maxStackSize",
    "value": 300,
    "file": "game:blocktypes/stone/sand.json"
  }
]

Out of habit every time I made a change I would update the .zip file, close the game and relaunch it, and go back into my test world. Never could get the sand to stack beyond 64. I've tried everything I can think of, though that was mainly just changing the "file" section, since the sand.json is in VS > assets > blocktypes > stone > sand.json.

 

Alternately I did check the games sand and sandlayered files, though I didn't see anything about maxstacksize in either one. I'm not above changing the base game's files if it's easy to do so, but given that I don't usually play solo, it's easier if it's in a mod that I can send to my wife so we both have the exact same settings, especially after the last game we played for a bit where literally everything was case sensitive and it wreaked havoc on us for a while.

Here's a functional example mod.  Cheers!

BiggerStacks.zip

Link to comment
Share on other sites

On 12/22/2021 at 10:21 PM, Scithen said:

Not gonna lie, I'm not really sure how to go about doing that. I read over the wiki and while some of the info there makes sense, I wasn't really able to figure out how to actually put these things together. I did use some of the mod's json files as an example template, though, hoping that would work. The one I ended up trying (and tweaking numerous times) was:

 

survival-blocktypes-stone-sand.json

[
  {
    "op": "replace",
    "path": "/maxStackSize",
    "value": 300,
    "file": "game:blocktypes/stone/sand.json"
  }
]

Out of habit every time I made a change I would update the .zip file, close the game and relaunch it, and go back into my test world. Never could get the sand to stack beyond 64. I've tried everything I can think of, though that was mainly just changing the "file" section, since the sand.json is in VS > assets > blocktypes > stone > sand.json.

 

Alternately I did check the games sand and sandlayered files, though I didn't see anything about maxstacksize in either one. I'm not above changing the base game's files if it's easy to do so, but given that I don't usually play solo, it's easier if it's in a mod that I can send to my wife so we both have the exact same settings, especially after the last game we played for a bit where literally everything was case sensitive and it wreaked havoc on us for a while.

Try "op" : "add"

64 - default value, usually it is not specified in json

Link to comment
Share on other sites

 Share

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