Jump to content

JSON Patching & Worldgen


Recommended Posts

Just a quick inquiry into how to structure patching to replace the entire vanilla Treegenproperties.json file?
making a mod to expand the growth ranges of vanilla trees since most of them are unusually restricted in their growth temperatures, and I've run into the brick wall of "the wiki doesn't say how to do that for this use case"

Link to comment
Share on other sites

Structure like this.

E.g. Location of Vanilla file you want to replace:
..\Vintagestory\assets\survival\worldgen\treengenproperties.json

Make a json (copy original) to this location in your mod to use that one instead:
..\MyMod_v1.0\assets\game\worldgen\treengenproperties.json

It's kinda confusing, since the files we are looking to replace are placed in the folder named "survival", one would think we should also name our folder the same, but no, it's "game" for some reason. But I don't question it, it works for me :)

  • Thanks 1
Link to comment
Share on other sites

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