Skip to content

Tile Formatting

Kaplin86 edited this page Aug 6, 2024 · 1 revision

Do reduce copying in the wiki, please just refer to the typedata structure. Putting a json in that format anywhere in a folder in your mod should work.

Overwriting

Inside your tile json, you can also affect other tile's datas too. Inside your json, you put the item your overwritings name (e.g def:lumber for base lumber building). Then, you simply add the values you want to change.

Heres an example where it renames the lumber to "Blue lumber" and decreases the price: "def:lumber":{ "displayname" : "Blue Lumber", "price":250 }

Visuals

For the visuals of your tile, you need a image with the same internalname as your tile. The file can be in any folder in your mod as long as it's in at least one folder. Read more at proper spriting

Clone this wiki locally