This is a simple mod for Terra Invicta, which allows modders to add new icons and illustrations without building asset bundles in Unity.
Usage:
- In your mod folder create a sub-folder "sprites"
- Copy the images you want to use into the folder
- Create a JSON file with the sprites list:
[
{
"Name": "Laurals",
"Path": "skull_laurals.png"
},
{
"Name": "Warhammer1",
"Path": "warhammer1.png"
}
]
- Save it as sprites.txt in "sprites" folder (.txt, because Terra Invicta mod loader tries to process all .jsons)
- Use it in mod templates, for example, TIProjectTemplate:
"iconResource": "Laurals",
"completedIllustrationPath": "Warhammer1"