Mods

The local mod directory is in Documents\My Games\Ingnomia\mods The location for steam mods is \steamapps\workshop\content\709240

The mods main directory needs two files:

A "preview.png" image for the mod-menu and the steam-workshop and a "meta.json" containing The mod can be uploaded and updated to steam via the button in the 'Mods' menu.

The Description and Changenote appear in the Steam mod description and changes tab when uploading/updating the mod.

The  to the "database.json" is relative to the mod folders root. It lists the location of all other json- and tilesheet-files. Except for basesprites the The basesprites are used in the "Sprites" table.

A sprite definition entry in a sprites.json has the following funtions: This simply converts a base sprite with the same name into a regular sprite.

There are some unary operations that modify a given sprite: The first two are self explanatory. But note that offsets are global for the whole sprite. Additional offsets overwrite previously parsed ones.

The last two take the sprite 'InputSpriteID' and tint it with the defined Red, Green, Blue, and Transparency, where R,G,B,T are between 0 and 255 or with the color defined by the material of the object.

Instead of '"Sprite": "InputSpriteID"' you can alternatively also use '"BaseSprite": "BaseSpriteID"' to use a basesprite directly.

You can further define different sprites for Rotations and Seasons: You can also combine several sprites that are drawn on top of each other. Sprites can be randomised via The weights are sumed up and the odds of a sprite being chosen are W out of SUM. If no weights are given the weights default to 1.

Lastly, sprite definitions can be nested and unary operations can be added directly. For example,