data
The data/
folder is where the real content of a mod lives.
If your mod is in an folder called MyFirstMod
then the data/
folder will be at the following location:
MyFirstMod/data
For a summary of things that can go in the folder, see the sidebar.
When you put a file in the data/
folder, or one of its subfolders, it will either update or replace the file of the same name and path in main.dat
.
Note: You can view the base game's main.dat/data/
for reference.
These files will update their main.dat
counterparts (and also any files of same name added by other mods loaded prior to your mod):
- most
.txt
files sprites.png
These files will replace their main.dat
counterparts:
biographies.txt
dsp-effects.txt
-
.png
files (exceptsprites.png
) -
.bmp
files -
.spritebank
files -
.prison
files -
.lua
files (exceptgrants.lua
)
Any files that don't have a main.dat counterpart will be added (but it might be ignored if it's something that the game isn't expecting).