Skip to content

3. Game files & Searching things

PonyWarrior edited this page Jan 15, 2024 · 3 revisions

The Scripts folder contains all the LUA code in the game, while Game holds most of the data, which is stored in SJSON. Note that there are also many data files in Scripts. These two are the only folders you will interact with when writing code.

To find something you're looking for among all the game files, you need to make proper use of the search tool.

CTRL+F opens the file search, which lets you search through an individual file.

However the much more useful search is CTRL+SHIFT+F, which lets you search through your entire workspace.

To avoid looking through things which don't matter you need to configure it. Click on the 3 dots icon on the bottom right. This adds two bars, files to include and files to exclude.

In files to include you need to type either Scripts or Game, depending on whether you're searching through LUA or SJSON.

In files to exclude you need to always have Backup, and Mods most of the time.

And as mentioned before, you should always have Helptext.en.sjson open to compare internal and display names.

Here is an example search :

If you use the search tool properly you won't have issues finding whatever you're looking for.

4. Making your first mod

Clone this wiki locally