Jump to content

Recommended Posts

Posted

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.

Posted
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)

Posted

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.

Posted
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

Posted
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

Posted (edited)

Yes, that's the only thing I had to change to make that sample mod that I posted above.  I thought maybe that the folder structure or modinfo.json file was causing some confustion as well, hence the sample mod.

Edited by Spear and Fang
  • 3 years later...
Posted
1 hour ago, SergeantNickelz said:

Can i tweak this and add it into the .json of any blocktype/item type?

You can indeed. Though I would recommend you not to use this zip file as a base. It's a bit outdated.
However, it's still very easy to change stack sizes without having any prior knowledge.
You simply edit any game files you would like to change the maxStackSize in, then execute ModMaker.exe you can find in the installation directory and follow the instructions.

You can also probably find a ton of mods doing this to any random number of assets on the ModDB. I believe one of them is called Configure Everything.

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