Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

State modding

Pordányi Dávid edited this page Apr 21, 2019 · 5 revisions

If you modding any state anywhere, event, decision, focustree, no matter where, if you code a province somehow, always use the following format:

available = { GER = { controls_state = 3} #Switzerland GER = { controls_state = 151} #Eastern Switzerland }

After the state related ending bracket, hit a space, then # and the state name without typos. It is very important for future development for use this format exactly. It cost you a few second, but if something goes wrong, tracking the error will be much easier. For example:

available = { GER = { controls_state = 3} # Switzerland GER = { controls_state = 151} #Eastern Switzerland }

This will cause that if somebody search for the #Switzerland references trough all the files will be miss yours because of the typo!

Clone this wiki locally