Decision modding
Jump to navigation
Jump to search
Custom mod decisions should be located in: MODNAME_ROOTFOLDER\common\decisions\MODNAME_decisions.txt
#Internal reference name of the decision example_decision = { #The requirements/to which countries the decision is shown is_shown = { this = c:ABC #An auxiliary variable is usually used to make sure the decision is not repeated more than once NOT = { has_variable = example_decision_taken } } #The requirements for the decision to be taken possible = { example_trigger = {} } #The effects that are executed once the decision is taken when_taken = { trigger_event = { id = example_events.1 popup = yes } #The auxiliary variable referenced in the is_shown trigger/section set_variable = { name = example_decision_taken } } #The chance that the ai will take the decision ai_chance = { base = 100 } }
Documentation | Effects • Triggers • Event targets • Scopes •Modifier types • Variables • Data types • Localization • Customizable localization |
Scripting | Scripted function • Countries • Decisions • Events • Journal • Defines • Diplomacy • Subject types • Modifiers • Objectives • On actions • |
Gaming concept | Buildings • Pops • Culture • Religion • Interest groups • Parties • Technology • Laws • Institutions • Decrees • Goods • Concepts |
Map | Map |
Graphics | 3D Models • Interface • Graphical Assets • Fonts • Flags |
Audio | Music • Sound |
Other | Console commands • Checksum • Mod structure • Troubleshooting |
Guides | New country modding • Save-game editing |