-
Notifications
You must be signed in to change notification settings - Fork 15
Mod Structure
Mod/
library/
patches/
textures/
info.xml
This file contains the metadata for your mod. For more detail, see here.
It is where you will define the author, display name, description, etc.
This folder contains files that will use the merge-by-id process. For more detail, see here.
This was the only modding method supported before version v0.0.8 and should be avoided unless you are adding new content.
Why should I avoid it?
- It requires you to define the entire object you're changing, no matter how small the change.
- Changes to the base game will require you to make those same changes in your mod.
- If another mod changes the same data structure whichever mod is loaded last "wins". Merging is either not possible or requires manual support from both authors.
This folder contains Rimworld-style patches. For more detail, see here
This mod method is supported on versions 0.0.8 and higher, and should be used for changes and tweaks.
Note: Although the patch operations are mostly the same as in Rimworld, a major difference is that the "PatchOperation" prefix has been dropped. For example, "PatchOperationAdd" is just "Add" in this syntax.
This folder contains texture files needed by your mod. For more detail, see here
They come in two flavors:
- Base game assets that your mod changes.
- New textures that your mod adds.