field | description | required | rhs | |
---|---|---|---|---|
name | Required | Localisation key | ||
desc | Required | Localisation key | ||
icon | Optional | <spriteType> | ||
sound_effect | Optional | Scalar | ||
type | Required | army_leader | ||
cost | Required | Float | ||
duration | Required | Integer | ||
cooldown | Optional | Integer | ||
cancelable | Optional | yes/no | ||
allowed | Required | trigger block | ||
unit_modifiers | Optional | block, containing: | ||
Required | modifier fields | |||
Required | unit_stat fields | |||
one_time_effect | Optional | effect block | ||
ai_will_do | Optional | block, containing: | ||
base, factor | Optional | Float | ||
Recommended, many | modifier_rule fields |
field | description | required | rhs | |
---|---|---|---|---|
type | Required | air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | ||
chance | Required | Float | ||
type | Required | block, containing: | ||
air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | Recommended, many | |||
effect | Required | modifier block, with scopes ROOT: Air |
field | description | required | rhs | |
---|---|---|---|---|
name | Required | Localisation key | ||
icon | Required | Integer | ||
contested | Required | block, containing: | ||
army | Required | yes/no | ||
navy | Required | yes/no | ||
submarine | Required | yes/no | ||
trade | Required | yes/no | ||
enemy | Required | block, containing: | ||
army | Required | yes/no | ||
navy | Required | yes/no | ||
submarine | Required | yes/no | ||
trade | Required | yes/no | ||
friend | Required | block, containing: | ||
army | Required | yes/no | ||
navy | Required | yes/no | ||
submarine | Required | yes/no | ||
trade | Required | yes/no | ||
neutral | Required | block, containing: | ||
army | Required | yes/no | ||
navy | Required | yes/no | ||
submarine | Required | yes/no | ||
trade | Required | yes/no | ||
required_provinces | Required | block, containing: | ||
Required, up to 10 | ||||
offset | Required | block, containing: | ||
Integer | Required min 3, up to 3 | |||
is_disabled | Optional | block, containing: | ||
Required | trigger fields | |||
tooltip | Required | Localisation key |
field | description | required | rhs | |
---|---|---|---|---|
continents | Optional | block, containing: | ||
Required, many | ||||
strategic_regions | Optional | block, containing: | ||
<strategic_region> | Recommended, many |
field | description | required | rhs | |||||
---|---|---|---|---|---|---|---|---|
category | Only category = naval is currently supported, starting with version 1.6.0. | Required | naval | |||||
blocked_for | Exclusionary list of countries that will not use this design group. | Optional | block, containing: | |||||
Recommended, many | ||||||||
available_for | Inclusionary list of countries that will use this design group. If this list is empty, all countries not in the block list will be allowed. If this list is not empty, only countries that are in this list and not in the blocked list will be allowed. | Optional | block, containing: | |||||
Recommended, many | ||||||||
roles | List of roles that this design group can be used for. AI will attempt to design and produce equipment to satisfy all roles that it can. So it will try to actively use one design per role for new production and upgrading/refitting. Roles here are dynamically generated and should work with role_ratio. | Required | block, containing: | |||||
Scalar, a "ai_roles" value | Required | |||||||
priority | Base priority for creating a design in this group or for creating or upgrading equipment to use one of these designs. A higher number means higher priority. | Required | block, containing: | |||||
base, factor | Optional | Float | ||||||
Required | modifier_rule fields | |||||||
<ai_equipment_design> of subtype design | One or more specifications of designs belonging to this design group. | Required, many | block, containing: | |||||
role_icon_index | Optional | Integer | ||||||
priority | Further priority for creating this design specifically or for creating or upgrading equipment to use this design. | Required | block, containing: | |||||
base, factor | Optional | Float | ||||||
Required | modifier_rule fields | |||||||
enable | List of triggers that must all be true for the design to be usable; true by default if empty or missing. | Optional | trigger block | |||||
target_variant | Specifications about how a matching equipment variant should be designed. | Optional | block, containing: | |||||
match_value | An additional weight indicating how much the particular design is worth, if it matches. | Required | Float | |||||
type | The equipment archetype or equipment type that the variant must use to match. | Required | <equipment> | |||||
modules | The matching requirements on individual module slots. | Required | block, containing: | |||||
A slot can be assigned a module category. Any other module category fails the match. When designing an equipment variant, the latest available will be favored. | Optional, many | |||||||
A slot can be assigned a specific module. Any other module fails the match. Less than and greater than comparisons can be used to force lesser or greater modules within a chain of module upgrades. When designing an equipment variant, the earliest module will be favored for the lesser restriction, and the latest will be favored for the greater restriction. | Optional, many | <module> | ||||||
A slot can be assigned empty. Any module of any kind fails the match. A slot can be greater than empty. Only an empty slot fails the match. | Optional, many | empty | ||||||
A slot can refer to a nested group of more detailed requirements. If you provide multiple instances of module attributes or any_of attributes, then only one must match for the match to succeed. | Optional, many | block, containing: | ||||||
module | You can specify a module category, or an equal, lesser, or greater module, or empty/non-empty. | Optional, many | ||||||
module | Optional, many | <module> | ||||||
module | Optional, many | empty | ||||||
upgrade | Optionally, for upgrading existing equipment to a this design, you can require that this slot must have a better module in order to use this design. Example upgrade > current. Alternatively, you can require that it must use exactly the same module that is already on the existing equipment. Example upgrade = current. | Optional | current | |||||
any_of | Optional, many | block, containing: | ||||||
<module> | Optional, many | |||||||
Optional, many | ||||||||
requirements | List of hard requirements that all must match for this design to be usable. These follow the same pattern as a slot entry above within target_variant = { modules = { ... } }, but without being tied to an individual slot. | Optional | block, containing: | |||||
module | Optional, many | |||||||
module | Optional, many | <module> | ||||||
allowed_modules | Additional modules that are allowed in any available slots for any of the above designs, after all requirements are fulfilled. Modules at the top of this list are favored over those at the bottom. Modules not in this list will not be used in any remaining open slots. | Optional | block, containing: | |||||
<module> | Optional, many | |||||||
Optional, many |
field | description | required | rhs |
---|---|---|
research | Required | block, containing: |
field | description | required | rhs |
---|---|---|---|
ai_national_focuses | Required | block, containing: | |
<focus> | Optional, many | ||
<shared_focus> | Optional, many |
field | description | required | rhs | |
---|---|---|---|---|
research of subtype research | Required | block, containing: | ||
defensive, offensive, carrier, battleship, cruiser | Optional, many | Float | ||
Optional, many | Float | |||
ai_national_focuses of subtype national_focuses | Required | block, containing: | ||
<focus> | Optional, many | |||
<shared_focus> | Optional, many |
field | description | required | rhs | |
---|---|---|---|---|
annex_randomness | Required | Integer | ||
liberate_randomness | Required | Integer | ||
puppet_randomness | Required | Integer | ||
take_states_randomness | Required | Integer | ||
force_government_randomness | Required | Integer | ||
enable | Required | trigger block | ||
build_temp_vars | Optional | trigger block | ||
annex | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
liberate | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
puppet | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
puppet_all | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
puppet_state | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
take_states | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
force_government | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields |
field | description | required | rhs | |
---|---|---|---|---|
target_array | Optional | A "array" value | ||
target_array | Optional | 64 bit Float or float variable | ||
abort_when_not_enabled | Optional | yes/no | ||
reversed | Optional | yes/no | ||
Required | ai_strategy_rule fields | |||
allowed | Optional | trigger block | ||
targets | Optional | block, containing: | ||
Scope object in [Country] scope | Recommended, many | |||
enable_reverse | Optional | trigger block | ||
enable | Required | trigger block | ||
abort | Optional | trigger block |
field | description | required | rhs | |
---|---|---|---|---|
name | Required | Localisation key | ||
desc | Optional | Localisation key | ||
Required | ai_strategy_rule fields | |||
allowed | Optional | trigger block | ||
enable | Required | trigger block | ||
abort | Optional | trigger block | ||
ai_national_focuses | Optional | block, containing: | ||
<focus> | Optional, many | |||
<shared_focus> | Optional, many | |||
focus_factors | Optional | block, containing: | ||
<focus> | Optional, many | Integer | ||
<shared_focus> | Optional, many | Integer | ||
research | Optional | block, containing: | ||
Recommended, many | Float | |||
ideas | Optional | block, containing: | ||
Recommended, many | Integer | |||
traits | Optional | block, containing: | ||
<country_leader_trait> | Recommended, many | Integer | ||
weight | Keep small, as it is used as a factor for some things (such as research needs). Recommended around 1.0. Useful for relation between plans. | Optional | block, containing: | |
base, factor | Optional | Float | ||
Required | modifier_rule fields |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
match_to_count | Required | Float | ||||
roles | Required | block, containing: | ||||
Scalar, a "ai_roles" value | Recommended, many | |||||
available_for | Optional | block, containing: | ||||
Recommended, many | ||||||
blocked_for | Optional | block, containing: | ||||
Recommended, many | ||||||
upgrade_prio | Required | block, containing: | ||||
base, factor | Required | Float | ||||
Required | modifier_rule fields | |||||
Scalar | Required, up to 10 | block, containing: | ||||
custom_icon | Optional | Integer | ||||
reinforce_prio | Optional | Integer | ||||
target_width | Required | Float | ||||
width_weight | Required | Float | ||||
column_swap_factor | Required | Float | ||||
replace_at_match | Optional | Float | ||||
replace_with | Optional | |||||
target_min_match | Optional | Float | ||||
upgrade_prio | Required | block, containing: | ||||
base, factor | Required | Float | ||||
Required | modifier_rule fields | |||||
production_prio | Optional | block, containing: | ||||
base, factor | Required | Float | ||||
Required | modifier_rule fields | |||||
can_upgrade_in_field | Optional | trigger block | ||||
enable | List of triggers that must all be true for the template to be usable; true by default if empty or missing. | Optional | trigger block | |||
stat_weights | Optional | block, containing: | ||||
Float | Required min 33, up to 33 | |||||
target_template | Required | block, containing: | ||||
weight | Required | Float | ||||
match_value | Required | Float | ||||
regiments | Required | block, containing: | ||||
<unit> | Required, up to 25 | Integer | ||||
support | Optional | block, containing: | ||||
<unit> | Optional, up to 5 | Integer | ||||
allowed_types | Required | block, containing: | ||||
<unit> | Recommended, many |
field | description | required | rhs | |
---|---|---|---|---|
id | Required | Localisation key | ||
default | Optional | yes/no | ||
is_puppet | Optional | yes/no | ||
use_overlord_color | Optional | yes/no | ||
min_freedom_level | Required | Float between 0 and 0.99 | ||
peace_conference_initial_freedom | Optional | Float between 0 and 1 | ||
manpower_influence | Required | Float between 0 and 1 | ||
rule | Required | block, containing: | ||
can_be_called_to_war, can_be_spymaster, can_boost_other_ideologies, can_create_collaboration_government, can_create_factions, can_declare_war_on_same_ideology, can_declare_war_without_wargoal_when_in_war, can_decline_call_to_war, can_force_government, can_generate_female_aces, can_guarantee_other_ideologies, can_join_factions, can_join_factions_not_allowed_diplomacy, can_join_opposite_factions, can_lower_tension, can_not_declare_war, can_occupy_non_war, can_only_justify_war_on_threat_country, can_puppet, can_send_volunteers, can_use_kamikaze_pilots, contributes_operatives, units_deployed_to_overlord, can_boost_own_ideology | Optional, up to 20 | yes/no | ||
modifier | Required | modifier block | ||
ai_subject_wants_higher | Required | block, containing: | ||
factor | Required | Float | ||
ai_overlord_wants_lower | Required | block, containing: | ||
factor | Required | Float | ||
ai_overlord_wants_garrison | Optional | trigger block | ||
allowed | Required | trigger block | ||
allowed_levels_filter | Optional | block, containing: | ||
<autonomy> | Required | |||
use_for_peace_conference_weight | Optional | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields | |||
can_take_level | Optional | trigger block | ||
can_lose_level | Optional | trigger block |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Required | Localisation key | |||
desc | Required | Localisation key | |||
date | Required | Date with YYYY.MM.dd format, starting from 1.1.1 | |||
picture | Required | Scalar | |||
default_country | Required | ||||
default | Optional | yes/no | |||
Required min 7, up to 10000 | block, containing: | ||||
minor | Optional | yes | |||
history | Required | Localisation key | |||
ideology | Required | <ideology> | |||
available | Optional | trigger block | |||
ideas | Optional | block, containing: | |||
Recommended, many | |||||
focuses | Optional | block, containing: | |||
<focus> | Optional, up to 3 | ||||
<shared_focus> | Optional, up to 3 | ||||
--- | Optional | block, containing: | |||
history | Required | Localisation key | |||
effect | Required | block, containing: | |||
randomize_weather | Required | 12345 | |||
randomize_weather | Required | 22345 |
field | description | required | rhs |
---|---|---|
provincial | Required | yes |
field | description | required | rhs |
---|---|---|
provincial | Required | no |
field | description | required | rhs |
---|
field | description | required | rhs |
---|---|---|---|
base_cost | Required | Integer | |
base_cost_conversion | Optional | Integer | |
per_level_extra_cost | Optional | Integer | |
max_level | Optional | Integer | |
value | Required | Integer | |
icon_frame | Required | Integer | |
show_on_map | Optional | Integer | |
show_on_map_meshes | Optional | Integer | |
always_shown | Optional | yes/no | |
has_destroyed_mesh | Optional | yes/no | |
shares_slots | Optional | yes/no | |
infrastructure_construction_effect | Optional | yes/no | |
provincial | Optional | yes/no | |
damage_factor | Optional | Float | |
only_costal | Yes, they spelled it costal. | Optional | yes/no |
disabled_in_dmz | Optional | yes/no | |
infrastructure | Optional | yes/no | |
air_base | Optional | yes/no | |
is_port | Optional | yes/no | |
anti_air | Optional | yes/no | |
refinery | Optional | yes | |
radar | Optional | yes/no | |
nuclear_reactor | Optional | yes/no | |
military_production | Optional | Float | |
general_production | Optional | Float | |
naval_production | Optional | Float | |
land_fort | Optional | Integer | |
naval_fort | Optional | Integer | |
rocket_production | Optional | Integer | |
rocket_launch_capacity | Optional | Integer | |
air_defence | Optional | Integer | |
show_modifier | Optional | yes | |
max_fuel_building | Optional | Float | |
fuel_silo | Optional | yes | |
fuel_gain_from_states | Optional | Float | |
Required | modifier fields |
field | description | required | rhs |
---|---|---|
is_attacker | Required | yes |
field | description | required | rhs |
---|---|---|
is_attacker | Required | no |
field | description | required | rhs | |
---|---|---|---|---|
is_attacker | Required | yes/no | ||
active | Optional | yes/no | ||
picture | Required | Scalar | ||
countered_by | Optional | <combat_tactic> | ||
phase | Optional | no, close_combat, tactical_withdrawal, seize_bridge, hold_bridge | ||
display_phase | Optional | no, close_combat, tactical_withdrawal, seize_bridge, hold_bridge | ||
attacker, defender | Required, up to 2 | Float | ||
attacker_movement_speed | Optional | Float | ||
Required | unit_stat fields | |||
trigger | Required | block, containing: | ||
is_attacker | Required | yes/no | ||
phase | Required | no, close_combat, tactical_withdrawal, seize_bridge, hold_bridge | ||
Required | trigger fields | |||
base | Required | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields |
field | description | required | rhs | |
---|---|---|---|---|
name | Required | Scalar | ||
moveable | Mouse Draggable | Optional | yes/no | |
orientation | Origin of position field | Optional | CENTER, CENTER_LEFT, CENTER_RIGHT, UPPER_LEFT, LOWER_LEFT, UPPER_RIGHT, LOWER_RIGHT, RIGHT, LEFT, CENTER_UP, CENTER_DOWN, CENTER_LOWER, UP, DOWN | |
clipping | Will remove elements outside of size bounding box | Optional | yes/no | |
fullscreen | Optional | yes/no | ||
Required | gui fields | |||
Required | gui_standard fields | |||
Required | gui_animation fields | |||
Required | gui_sound fields | |||
verticalScrollbar | Optional | |||
horizontalScrollbar | Optional | |||
click_to_front | Allows clicking to reorder windows | Optional | yes/no | |
smooth_scrolling | Smoothly scroll a scrollbar -- container version | Optional | yes/no | |
scroll_wheel_factor | Optional | Float | ||
background | Background texture | Optional, many | block, containing: | |
name | Optional | Scalar | ||
Required | gui_standard fields | |||
Required | gui_image fields | |||
Required | gui_sound fields | |||
Required | gui_localization fields | |||
drag_scroll | Optional | block, containing: | ||
left, middle, right | Optional, many |
field | description | required | rhs |
---|---|---|
color | Required | block, containing: |
field | description | required | rhs |
---|---|---|
graphical_culture | Required | Scalar |
field | description | required | rhs |
---|
field | description | required | rhs | ||
---|---|---|---|---|---|
graphical_culture of subtype country | Optional, many | Scalar | |||
graphical_culture_2d of subtype country | Optional, many | Scalar | |||
color of subtype country | Required | block, containing: | |||
Integer | Required min 3, up to 3 | ||||
color of subtype country | Required | block, containing: | |||
Float | Required min 3, up to 3 | ||||
Scalar | Required, many | block, containing: | |||
color of subtype cosmetic | Required | block, containing: | |||
Integer | Required min 3, up to 3 | ||||
color of subtype cosmetic | Required | block, containing: | |||
Float | Required min 3, up to 3 | ||||
color_ui of subtype cosmetic | Optional | block, containing: | |||
Integer | Required min 3, up to 3 | ||||
color_ui of subtype cosmetic | Optional | block, containing: | |||
Float | Required min 3, up to 3 |
field | description | required | rhs | |
---|---|---|---|---|
capital | Required | <state> | ||
oob | Optional | <oob> | ||
Required | effect fields | |||
Date with YYYY.MM.dd format, starting from 1.1.1 | Optional, many | block, containing: | ||
capital | Optional | <state> | ||
oob | Optional, many | <oob> | ||
Required | effect fields |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Optional | Localisation key | |||
random | Optional | yes/no | |||
sprite | Optional | Integer | |||
Required | modifier fields | ||||
Optional, up to 100 | ai_strategy_rule fields | ||||
Optional, many | targeted_modifier_rule fields | ||||
Required | ai_strategy_rule fields | ||||
equipment_bonus | Optional | block, containing: | |||
<equipment> | Optional, many | block, containing: | |||
instant | Optional | yes/no | |||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
Optional, many | block, containing: | ||||
instant | Optional | yes/no | |||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | Optional, many | block, containing: | |||
instant | Optional | yes/no | |||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
<unit> | Optional, many | block, containing: | |||
instant | Optional | yes/no | |||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
ai_will_do | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields |
field | description | required | rhs | ||
---|---|---|---|---|---|
targets | Required | block, containing: | |||
targets_dynamic | Optional | yes/no | |||
target_non_existing | Optional | yes/no | |||
target_array | Optional, many | A "array" value | |||
target_array | Optional, many | 64 bit Float or float variable | |||
targets | Optional | block, containing: | |||
Optional, many | |||||
A "variable" value | Optional, many | ||||
64 bit Float or float variable | Optional, many | ||||
target_root_trigger | the country initiating the mission has to pass this trigger | Optional | trigger block, with scopes ROOT: Country | ||
target_trigger | each target among the selected ones has to pass this trigger | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
score | MTTH like score description. THIS is a target. FROM is the initiator. | Recommended | block, containing: | ||
base, factor | Required | 64 bit Float or float variable | |||
Required | modifier_rule fields |
field | description | required | rhs |
---|---|---|
variable | Required | 64 bit Float or float variable |
field | description | required | rhs |
---|---|---|
global_event_target | Required | A "global_event_target" value |
field | description | required | rhs |
---|---|---|
Scalar | Required | A "event_target" value |
field | description | required | rhs |
---|
field | description | required | rhs | |
---|---|---|---|---|
variable of subtype variable | Required | 64 bit Float or float variable | ||
global_event_target of subtype global_event_target | Required | A "global_event_target" value | ||
Scalar | Required | A "event_target" value | ||
original_tag of subtype triggered | Optional | |||
target_array of subtype triggered | Optional | A "array" value | ||
target_array of subtype triggered | Optional | 64 bit Float or float variable | ||
fallback of subtype triggered | Optional | |||
Optional, many | trigger fields | |||
targets of subtype triggered | Optional | block, containing: | ||
Optional, many | ||||
A "variable" value | Optional, many | |||
64 bit Float or float variable | Optional, many | |||
country_score of subtype triggered | Optional | block, containing: | ||
base, factor | Optional | 64 bit Float or float variable | ||
Required | modifier_rule fields |
field | description | required | rhs | |
---|---|---|---|---|
icon | Required | <spriteType> | ||
frame | Required | Integer | ||
str_damage | Optional | Float | ||
org_damage | Optional | Float | ||
str_damage_multiplier | Optional | Float | ||
org_damage_multiplier | Optional | Float | ||
chance | Optional | Float | ||
base_damage_instance | Optional | Float | ||
damage_instance_per_added_module | Optional | Float | ||
max_damage_instance | Optional | Float | ||
stat_penalties | Optional | naval_stat block | ||
modifier | Optional | naval_stat block |
field | description | required | rhs |
---|---|---|
state_target | Required | yes |
days_mission_timeout | Required | Scalar |
field | description | required | rhs |
---|---|---|
days_mission_timeout | Required | Scalar |
field | description | required | rhs |
---|---|---|
state_target | Required | yes |
field | description | required | rhs |
---|---|---|
target_trigger | Required | block, containing: |
field | description | required | rhs |
---|---|---|
targets | Required | block, containing: |
field | description | required | rhs |
---|---|---|
target_array | Required | Scalar |
field | description | required | rhs |
---|---|---|
custom_cost_trigger | Required | block, containing: |
field | description | required | rhs |
---|---|---|
days_remove | Required | Scalar |
field | description | required | rhs |
---|---|---|
days_mission_timeout | Required | Scalar |
field | description | required | rhs |
---|
field | description | required | rhs | ||
---|---|---|---|---|---|
icon | Optional | Scalar | |||
priority | Optional | Integer | |||
name | Optional | Localisation key | |||
desc | Optional | Localisation key | |||
fire_only_once | Optional | yes/no | |||
cancel_if_not_visible | Optional | yes/no | |||
cost | Optional | 64 bit Integer or integer variable | |||
highlight_color_before_active | Optional | Integer | |||
highlight_color_while_active | Optional | Integer | |||
war_with_on_remove, war_with_on_complete, war_with_on_timeout | Optional, many | Scope object in [Country] scope | |||
war_with_on_remove, war_with_on_complete, war_with_on_timeout | Optional, many | ||||
war_with_target_on_remove, war_with_target_on_complete, war_with_target_on_timeout | Optional, many | yes/no | |||
days_re_enable | Optional | Integer | |||
fixed_random_seed | Optional | yes/no | |||
on_map_mode | Optional | map_only, map_and_decisions_view | |||
icon | Optional, many | block, containing: | |||
key | Required | Scalar | |||
trigger | Required | trigger block | |||
priority | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
available of subtype country | Check if this decision can be activated. | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
visible of subtype country | Can the player see this decision. | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
complete_effect of subtype country | Optional | effect block, with scopes ROOT: Country, FROM: Country | |||
remove_effect of subtype country | Optional | effect block, with scopes ROOT: Country, FROM: Country | |||
cancel_effect of subtype country | Optional | effect block, with scopes ROOT: Country, FROM: Country | |||
ai_will_do of subtype country | Optional | block, containing: | |||
base, factor | Required | 64 bit Float or float variable | |||
Required | modifier_rule fields | ||||
allowed | Who can use this decision. | Optional | trigger block, with scopes ROOT: Country | ||
custom_cost_text of subtype custom_cost | Required | Localisation key | |||
custom_cost_trigger of subtype custom_cost | Required | trigger block, with scopes ROOT: Country | |||
highlight_states | Optional | trigger block, with scopes ROOT: Country | |||
highlight_state_targets | Optional | block, containing: | |||
state | Recommended, many | <state> | |||
state | Recommended, many | 64 bit Float or float variable | |||
highlight_provinces | Optional | block, containing: | |||
Recommended, many | |||||
days_remove of subtype timed | Optional | 64 bit Float or float variable | |||
Optional, many | targeted_modifier_rule fields | ||||
cancel_trigger of subtype timed | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |||
remove_trigger of subtype timed | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |||
modifier of subtype timed | Optional | modifier block, with scopes ROOT: Country, FROM: Country | |||
is_good of subtype mission | Required | yes/no | |||
days_mission_timeout of subtype mission | Required | 64 bit Integer or integer variable | |||
selectable_mission of subtype mission | Can select this mission like a regular decision. | Optional | yes/no | ||
activation of subtype mission | Required | trigger block, with scopes ROOT: Country, FROM: Country | |||
timeout_effect of subtype mission | Optional | effect block, with scopes ROOT: Country, FROM: Country | |||
cancel_trigger of subtype mission | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |||
is_good of subtype state_mission | Required | yes/no | |||
days_mission_timeout of subtype state_mission | Required | 64 bit Integer or integer variable | |||
selectable_mission of subtype state_mission | Can select this mission like a regular decision. | Optional | yes/no | ||
activation of subtype state_mission | Required | trigger block, with scopes ROOT: Country, FROM: State | |||
timeout_effect of subtype state_mission | Optional | effect block, with scopes ROOT: Country, FROM: State | |||
cancel_trigger of subtype state_mission | Optional | trigger block, with scopes ROOT: Country, FROM: State | |||
targets_dynamic of subtype targeted | Optional | yes/no | |||
Optional, many | targeted_modifier_rule fields | ||||
target_array of subtype targeted | Optional, many | A "array" value | |||
target_array of subtype targeted | Optional, many | 64 bit Float or float variable | |||
target_non_existing of subtype targeted | Optional | yes/no | |||
target_trigger of subtype targeted | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |||
targets of subtype targeted | Optional | block, containing: | |||
Scope object in [Country] scope | Optional, many | ||||
Optional, many | |||||
A "variable" value | Optional, many | ||||
64 bit Float or float variable | Optional, many | ||||
target_root_trigger of subtype targeted | Optional | trigger block, with scopes ROOT: Country | |||
highlight_states of subtype targeted | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |||
state_target of subtype state_targeted | Required | yes | |||
Optional, many | targeted_modifier_rule fields | ||||
target_array of subtype state_targeted | Optional, many | A "array" value | |||
target_array of subtype state_targeted | Optional, many | 64 bit Float or float variable | |||
visible of subtype state_targeted | Can the player see this decision. | Optional | trigger block, with scopes ROOT: Country, FROM: State | ||
available of subtype state_targeted | Check if this decision can be activated. | Optional | trigger block, with scopes ROOT: Country, FROM: State | ||
cancel_trigger of subtype state_targeted | Optional | trigger block, with scopes ROOT: Country, FROM: State | |||
complete_effect of subtype state_targeted | Optional | effect block, with scopes ROOT: Country, FROM: State | |||
remove_effect of subtype state_targeted | Optional | effect block, with scopes ROOT: Country, FROM: State | |||
cancel_effect of subtype state_targeted | Optional | effect block, with scopes ROOT: Country, FROM: State | |||
target_trigger of subtype state_targeted | Optional | trigger block, with scopes ROOT: Country, FROM: State | |||
targets of subtype state_targeted | Optional | block, containing: | |||
<state> | Optional, many | ||||
A "variable" value | Optional, many | ||||
64 bit Float or float variable | Optional, many | ||||
target_root_trigger of subtype state_targeted | Optional | trigger block, with scopes ROOT: Country | |||
ai_will_do of subtype state_targeted | Optional | block, containing: | |||
base, factor | Required | 64 bit Float or float variable | |||
Required | modifier_rule fields |
field | description | required | rhs | ||
---|---|---|---|---|---|
icon | Optional | Scalar | |||
picture | Optional | Scalar | |||
priority | Optional | Integer | |||
visible_when_empty | Optional | yes/no | |||
visibility_type | Optional | map_only, map_and_decisions_view | |||
scripted_gui | Optional | <scripted_gui> | |||
icon | Optional, many | block, containing: | |||
key | Required | Scalar | |||
trigger | Required | trigger block | |||
priority | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
available | Check if decisions in this category can be activated. | Optional | trigger block, with scopes ROOT: Country | ||
allowed | Check if who can use decisions in this category. | Optional | trigger block, with scopes ROOT: Country | ||
visible | Can the player see decisions in this category. | Optional | trigger block, with scopes ROOT: Country | ||
cancel_trigger | Check whether to cancel missions in this category. | Optional | trigger block, with scopes ROOT: Country | ||
custom_icon | Optional, many | block, containing: | |||
tag | Required | ||||
value | Required | Scalar | |||
desc | Required | Localisation key | |||
visible | Required | trigger block | |||
on_map_area | Optional, many | block, containing: | |||
name | Required | Localisation key | |||
zoom | Required | Integer | |||
state | Optional | <state> | |||
target_array | Optional, many | A "array" value | |||
target_array | Optional, many | 64 bit Float or float variable | |||
targets | Optional | block, containing: | |||
<state> | Optional, many | ||||
target_trigger | Optional | trigger block, with scopes ROOT: Country, FROM: State | |||
target_root_trigger | Optional | trigger block, with scopes ROOT: Country |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Required | Inline localisation key | |||
fallback_name | Optional | Scalar | |||
for_countries | Required | block, containing: | |||
Recommended, many | |||||
can_use | Optional | trigger block | |||
division_types | Optional | block, containing: | |||
<unit> of subtype land_unit | Recommended, many | ||||
link_numbering_with | Optional | block, containing: | |||
<division_name> | Recommended, many | ||||
unordered | Optional | block, containing: | |||
Integer | Recommended, many | block, containing: | |||
Scalar | Required | ||||
ordered | Optional | block, containing: | |||
Integer | Recommended, many | block, containing: | |||
Scalar | Required |
field | description | required | rhs | |
---|---|---|---|---|
icon | Optional, will show up in guis if icon is specified. | Optional | <spriteType> | |
Optional, many | 64 bit Float or float variable | |||
enable | Optional, the modifier won't apply if not enabled. | Optional | trigger block | |
remove_trigger | Optional, will remove the modifier if true. | Optional | trigger block |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
name | Required | Scalar | ||||
pdxmesh | Optional | <pdxmesh> | ||||
pdxmesh | Optional | empty_mesh | ||||
cull_radius | Optional | Float | ||||
scale | Optional | Float | ||||
default_state | Optional | |||||
default_state | Optional | no_state | ||||
get_state_from_parent | Optional | yes/no | ||||
clone | Optional | <entity> | ||||
locator | Optional, many | block, containing: | ||||
name | Required | Scalar | ||||
position | Required | block, containing: | ||||
Float | Required min 3, up to 3 | |||||
rotation | Optional | block, containing: | ||||
Float | Required min 3, up to 3 | |||||
state | Optional, many | block, containing: | ||||
name | Required | Scalar | ||||
state_time | Optional | Float | ||||
next_state | Optional | |||||
animation | Optional | |||||
animation_speed | Optional | Float | ||||
animation_blend_time | Optional | Float | ||||
looping | Optional | yes/no | ||||
chance | Optional | Float | ||||
time_offset | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
propagate_state | Optional, many | block, containing: | ||||
Required | ||||||
game_data | Optional | block, containing: | ||||
hitmiss_effect | Optional, many | block, containing: | ||||
time | Required | Float | ||||
type | Required | big, small | ||||
event | Optional, many | block, containing: | ||||
id | Optional | a_1_bomb, a_1_crash, a_1_fire, a_1_fire, a_1_idle, a_1_idle, a_1_supply, a_2_bomb, a_2_crash, a_2_fire, a_2_fire, a_2_idle, a_2_idle, a_2_supply, a_3_bomb, a_3_crash, a_3_fire, a_3_idle, a_3_idle, a_3_supply, a_bomb, a_crash, a_explode, a_fire, a_fire, a_idle, a_idle, a_supply, d_1_crash, d_1_crash, d_1_fire, d_1_idle, d_2_crash, d_2_fire, d_2_fire, d_2_idle, d_2_idle, d_3_crash, d_3_fire, d_3_idle, d_bomb, d_crash, d_crash, d_fire, d_idle, d_idle | ||||
trigger_once | Optional | yes/no | ||||
node | Optional | Scalar | ||||
entity | Optional | <entity> | ||||
life | Optional | Float | ||||
time | Optional | Float | ||||
particle | Optional | <pdxparticle> | ||||
keep_particle | Optional | yes/no | ||||
light | Optional | <light> | ||||
sound | Optional | block, containing: | ||||
soundeffect | Required | Scalar | ||||
attach | Optional, many | block, containing: | ||||
name | Required | Scalar | ||||
Scalar | Required min 2, up to 2 | <entity> | ||||
game_data | Optional | block, containing: | ||||
texture_anim_speed | Optional | Float |
field | description | required | rhs |
---|---|---|
is_archetype | Required | yes |
field | description | required | rhs |
---|---|---|
is_archetype | Optional | no |
field | description | required | rhs |
---|---|---|---|
type | Optional | battle_cruiser, battleship, capital_ship, carrier, convoy, destroyer, heavy_cruiser, light_cruiser, screen_ship, submarine | |
archetype | Optional | <equipment> of subtype naval_equip | |
type | Optional | block, containing: | |
battle_cruiser, battleship, capital_ship, carrier, convoy, destroyer, heavy_cruiser, light_cruiser, screen_ship, submarine | Required, many |
field | description | required | rhs |
---|---|---|---|
type | Optional | air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | |
archetype | Optional | <equipment> of subtype air_equip | |
type | Optional | block, containing: | |
air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | Required, many |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
year | Limits the equipment from appearing before the specified year. Optional. | Optional | Integer | |||
is_archetype | Specifies an entry as an archetype entry. All non-archetype entries inherit. | Optional | yes/no | |||
is_buildable | Prevents this equipment from being built. | Optional | yes/no | |||
is_convertable | Optional | yes/no | ||||
active | Determines if this equipment is available without unlocking from a technology. | Optional | yes/no | |||
can_license | Optional | yes/no | ||||
sprite | Optional | Scalar | ||||
alias | Optional | <unit> | ||||
interface_category | Which category the equipment appears in the production screen. | Optional | interface_category_land, interface_category_armor, interface_category_capital_ships, interface_category_screen_ships, interface_category_other_ships, interface_category_air | |||
priority | Priority for usage over other equipment. | Optional | Integer | |||
type | Internal type: what kind of unit can use this equipment. | Optional | infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | |||
Required | unit_stat fields | |||||
Required | naval_stat fields | |||||
Required | air_stat fields | |||||
offensive_weapons | Optional | yes/no | ||||
priority | Optional | block, containing: | ||||
base, factor | Optional | Float | ||||
Required | modifier_rule fields | |||||
picture of subtype archetype_equip | GFX reference used to define equipment picture in land-lease. | Required | Scalar | |||
group_by of subtype archetype_equip | How the equipment is grouped in the production screen. | Required | archetype, type | |||
family of subtype archetype_equip | Optional | <equipment> of subtype archetype_equip | ||||
interface_category of subtype archetype_equip | Required | interface_category_land, interface_category_armor, interface_category_capital_ships, interface_category_screen_ships, interface_category_other_ships, interface_category_air | ||||
can_be_produced of subtype archetype_equip | Optional | trigger block, with scopes ROOT: Country | ||||
carrier_capable of subtype air_equip | Optional | yes | ||||
air_map_icon_frame of subtype air_equip | Required | Integer | ||||
interface_overview_category_index of subtype air_equip | Required | Integer | ||||
archetype of subtype regular_equip | Which archetype equipment this equipment inherits from. | Required | <equipment> of subtype archetype_equip | |||
parent of subtype regular_equip | Which equipment is parent to this equipment (i.e. which does it supercede). | Optional | <equipment> of subtype regular_equip | |||
visual_level of subtype regular_equip | Image priority in production screen. | Optional | Integer | |||
one_use_only of subtype regular_equip | Optional | yes/no | ||||
family of subtype regular_equip | Optional | <equipment> of subtype regular_equip | ||||
can_convert_from of subtype regular_equip | Optional | block, containing: | ||||
<equipment> of subtype regular_equip | Required, up to 5 | |||||
visual_tech_level_addition of subtype naval_equip | Optional | Integer | ||||
model of subtype naval_equip | Optional | Scalar | ||||
module_slots of subtype naval_equip | All parent module slots will directly inherited with no modifications. | Optional | inherit | |||
module_slots of subtype naval_equip | List of module slots and their details. | Optional | block, containing: | |||
Optional, many | ||||||
Optional, many | inherit | |||||
Optional, many | block, containing: | |||||
required of subtype naval_equip | Required | yes/no | ||||
gfx of subtype naval_equip | Optional | Scalar | ||||
allowed_module_categories of subtype naval_equip | Required | block, containing: | ||||
Required, many | ||||||
module_count_limit of subtype naval_equip | Any number of module count limits can be specified. They are automatically inherited by child equipment types. An inherited limit is overridden if the child has a limit with exactly the same match conditions. | Optional, many | block, containing: | |||
category of subtype naval_equip | Optional | |||||
module of subtype naval_equip | Optional | <module> | ||||
count of subtype naval_equip | Required | Integer | ||||
default_modules of subtype naval_equip | List of modules assigned to module slots for the default equipment variant for this type. | Required | block, containing: | |||
Optional, many | <module> | |||||
Optional, many | empty | |||||
type | Internal type: what kind of unit can use this equipment. | Optional | block, containing: | |||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | Required, many | |||||
resources | Resources needed for producing one unit of the equipment.. | Optional | block, containing: | |||
<resource> | Recommended, many | Integer | ||||
upgrades | List of upgrade names. | Optional, up to 3 | block, containing: | |||
<upgrade> | Recommended, up to 4 |
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|---|---|
hidden | Required | yes |
field | description | required | rhs | ||
---|---|---|---|---|---|
id | Required | Scalar | |||
title | Optional, many | Localisation key | |||
picture | Optional | <spriteType> | |||
desc | Optional, many | Localisation key | |||
hidden | Optional | yes | |||
hidden | Optional | no | |||
major | Optional | yes | |||
major | Optional | no | |||
fire_only_once | Optional | yes | |||
fire_only_once | Optional | no | |||
is_triggered_only | Optional | yes | |||
is_triggered_only | Optional | no | |||
timeout_days | Optional | Integer | |||
fire_for_sender | Optional | yes/no | |||
title | Optional, many | block, containing: | |||
text | Required | Localisation key | |||
trigger | Recommended | trigger block | |||
desc | Optional, many | block, containing: | |||
text | Required | Localisation key | |||
trigger | Recommended | trigger block | |||
trigger | Optional | trigger block | |||
show_major | Optional | trigger block | |||
mean_time_to_happen | Optional | block, containing: | |||
days | Optional | Integer | |||
months | Optional | Integer | |||
years | Optional | Integer | |||
Required | modifier_rule fields | ||||
immediate | Optional, many | effect block | |||
option | Optional, many | block, containing: | |||
name | Optional | Localisation key | |||
Required | effect fields | ||||
trigger | Optional | trigger block | |||
ai_chance | Optional | block, containing: | |||
base, factor | Optional, many | 64 bit Float or float variable | |||
Required | modifier_rule fields |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
id | Required | Localisation key | ||||
default | Optional | yes/no | ||||
reset_on_civilwar | Optional | yes/no | ||||
shared_focus | Optional, many | <shared_focus> | ||||
country | Required | block, containing: | ||||
base, factor | Optional | Float | ||||
Required | modifier_rule fields | |||||
continuous_focus_position | Recommended | block, containing: | ||||
x | Required | Integer | ||||
y | Required | Integer | ||||
initial_show_position | Optional | block, containing: | ||||
focus | Optional | <focus> | ||||
focus | Optional | <shared_focus> | ||||
x | Optional | Integer | ||||
y | Optional | Integer | ||||
offset | Optional, many | block, containing: | ||||
x | Optional | Integer | ||||
y | Optional | Integer | ||||
trigger | Required | trigger block | ||||
focus | Optional, many | block, containing: | ||||
id | Required | Localisation key | ||||
text | Optional | Localisation key | ||||
icon | Recommended | <spriteType> | ||||
cost | Required | Float | ||||
x | Required | Integer | ||||
y | Required | Integer | ||||
relative_position_id | Optional | <focus> | ||||
relative_position_id | Optional | <shared_focus> | ||||
dynamic | Used for focuses that can change title/desc. | Optional | yes | |||
dynamic | Optional | no | ||||
available_if_capitulated | Optional | yes | ||||
available_if_capitulated | Optional | no | ||||
cancel_if_invalid | Optional | no | ||||
cancel_if_invalid | Optional | yes | ||||
continue_if_invalid | Optional | yes | ||||
continue_if_invalid | Optional | no | ||||
cancelable | Optional | no | ||||
cancelable | Optional | yes | ||||
bypass_if_unavailable | Optional | yes | ||||
bypass_if_unavailable | Optional | no | ||||
will_lead_to_war_with | Optional, many | Scope object in [Country] scope | ||||
will_lead_to_war_with | Optional, many | |||||
offset | Optional, many | block, containing: | ||||
x | Optional | Integer | ||||
y | Optional | Integer | ||||
trigger | Optional | trigger block | ||||
prerequisite | Optional, many | block, containing: | ||||
focus | Optional, many | <focus> | ||||
focus | Optional, many | <shared_focus> | ||||
mutually_exclusive | Optional, many | block, containing: | ||||
focus | Optional, many | <focus> | ||||
focus | Optional, many | <shared_focus> | ||||
bypass | Optional | trigger block | ||||
allow_branch | Optional | trigger block | ||||
available | Optional | trigger block | ||||
cancel | Optional | trigger block | ||||
historical_ai | Optional | trigger block | ||||
select_effect | Optional | effect block | ||||
complete_tooltip | Optional | effect block | ||||
completion_reward | Recommended | effect block | ||||
ai_will_do | Optional | block, containing: | ||||
base, factor | Optional | Float | ||||
Required | modifier_rule fields | |||||
search_filters | Optional | block, containing: | ||||
Scalar, a "focus_filter" value | Recommended, many |
field | description | required | rhs | |
---|---|---|---|---|
name | Required | Localisation key | ||
required_dlc | Optional | Poland: United and Ready, Together for Victory, Death or Dishonor, Waking the Tiger, Man the Guns, La Resistance, Battle for the Bosporus | ||
desc | Optional | Localisation key | ||
group | Used for filtering. A single rule can be in multiple groups. | Required | Localisation key | |
icon | Optional icon. | Optional | <spriteType> | |
option | Unless other specified, the first option is the default option. | Optional, many | block, containing: | |
name | Required | Scalar, a "game_rule_options" value | ||
text | Required | Localisation key | ||
desc | Required | Localisation key | ||
allow_achievements | Achievements cannot be earned if one or more game rules are set to an option that has this property set to no. If not specified, this is set to yes for default options and no for all other options. | Optional | yes/no | |
required_dlc | Optional | Poland: United and Ready, Together for Victory, Death or Dishonor, Waking the Tiger, Man the Guns, La Resistance, Battle for the Bosporus | ||
default | Specify an option with the "default" token to override the behavior of treating the first option as the default. | Optional | block, containing: | |
name | Required | Scalar, a "game_rule_options" value | ||
text | Required | Localisation key | ||
desc | Required | Localisation key | ||
allow_achievements | Achievements cannot be earned if one or more game rules are set to an option that has this property set to no. If not specified, this is set to yes for default options and no for all other options. | Optional | yes/no | |
required_dlc | Optional | Poland: United and Ready, Together for Victory, Death or Dishonor, Waking the Tiger, Man the Guns, La Resistance, Battle for the Bosporus |
field | description | required | rhs | |
---|---|---|---|---|
type | Required | <terrain> | ||
texture | Required | Integer | ||
spawn_city | Optional | yes | ||
perm_snow | Optional | yes | ||
color | Required | block, containing: | ||
Integer | Required |
field | description | required | rhs | ||||
---|---|---|---|---|---|---|---|
<idea_category> of subtype no_slot | Optional, many | block, containing: | |||||
Scalar | Recommended, many | block, containing: | |||||
name | Optional | Localisation key | |||||
cancel_if_invalid | Optional | no | |||||
cancel_if_invalid | Optional | yes | |||||
picture | Optional | Scalar | |||||
cost | Optional | Integer | |||||
removal_cost | Optional | Integer | |||||
Optional, many | targeted_modifier_rule fields | ||||||
visible | Optional | trigger block | |||||
allowed | Optional | trigger block | |||||
cancel | Optional | trigger block | |||||
available | Optional | trigger block | |||||
allowed_civil_war | Optional | trigger block | |||||
modifier | Optional | modifier block | |||||
rule | Optional | block, containing: | |||||
can_be_called_to_war, can_be_spymaster, can_boost_other_ideologies, can_create_collaboration_government, can_create_factions, can_declare_war_on_same_ideology, can_declare_war_without_wargoal_when_in_war, can_decline_call_to_war, can_force_government, can_generate_female_aces, can_guarantee_other_ideologies, can_join_factions, can_join_factions_not_allowed_diplomacy, can_join_opposite_factions, can_lower_tension, can_not_declare_war, can_occupy_non_war, can_only_justify_war_on_threat_country, can_puppet, can_send_volunteers, can_use_kamikaze_pilots, contributes_operatives, units_deployed_to_overlord, can_boost_own_ideology | Recommended, many | yes/no | |||||
research_bonus | Optional | block, containing: | |||||
Required, up to 10 | Float | ||||||
equipment_bonus | Optional | block, containing: | |||||
<equipment> | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
<unit> | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
traits | Optional | block, containing: | |||||
<country_leader_trait> | Recommended, many | ||||||
on_add | Optional | effect block | |||||
on_remove | Optional | effect block | |||||
do_effect | While it is used in vanilla and doesn't throw errors, I can't get it to work reliably so I suspect there is some hard-coded strangeness going on here. | Optional | trigger block | ||||
ai_will_do | Optional | block, containing: | |||||
base, factor | Optional | Float | |||||
Required | modifier_rule fields | ||||||
A "idea_slot" value | Optional, many | block, containing: | |||||
law | Optional | yes/no | |||||
use_list_view | Optional | yes/no | |||||
designer | Optional | yes/no | |||||
Scalar | Recommended, many | block, containing: | |||||
name | Optional | Localisation key | |||||
level | Optional | Integer | |||||
default | Optional | yes/no | |||||
cancel_if_invalid | Optional | no | |||||
cancel_if_invalid | Optional | yes | |||||
picture | Optional | Scalar | |||||
cost | Optional | Integer | |||||
removal_cost | Optional | Integer | |||||
Optional, many | targeted_modifier_rule fields | ||||||
ledger | Optional | army, navy, air, invalid, civilian, hidden, all | |||||
visible | Optional | trigger block | |||||
allowed | Optional | trigger block | |||||
available | Optional | trigger block | |||||
allowed_civil_war | Optional | trigger block | |||||
allowed_to_remove | Optional | trigger block | |||||
modifier | Optional | modifier block | |||||
rule | Optional | block, containing: | |||||
can_be_called_to_war, can_be_spymaster, can_boost_other_ideologies, can_create_collaboration_government, can_create_factions, can_declare_war_on_same_ideology, can_declare_war_without_wargoal_when_in_war, can_decline_call_to_war, can_force_government, can_generate_female_aces, can_guarantee_other_ideologies, can_join_factions, can_join_factions_not_allowed_diplomacy, can_join_opposite_factions, can_lower_tension, can_not_declare_war, can_occupy_non_war, can_only_justify_war_on_threat_country, can_puppet, can_send_volunteers, can_use_kamikaze_pilots, contributes_operatives, units_deployed_to_overlord, can_boost_own_ideology | Recommended, many | yes/no | |||||
equipment_bonus | Optional | block, containing: | |||||
<equipment> | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
<unit> | Optional, many | block, containing: | |||||
instant | Optional | yes/no | |||||
Required | unit_stat fields | ||||||
Required | naval_stat fields | ||||||
Required | air_stat fields | ||||||
ai_will_do | Optional | block, containing: | |||||
base, factor | Optional | Float | |||||
Required | modifier_rule fields | ||||||
traits | Optional | block, containing: | |||||
<country_leader_trait> | Recommended, many | ||||||
on_add | Optional | effect block | |||||
on_remove | Optional | effect block | |||||
do_effect | While it is used in vanilla and doesn't throw errors, I can't get it to work reliably so I suspect there is some hard-coded strangeness going on here. | Optional | trigger block | ||||
research_bonus | Optional | block, containing: | |||||
Recommended, up to 10 | Float |
field | description | required | rhs |
---|---|---|
slot | Required, many | Scalar |
field | description | required | rhs |
---|
field | description | required | rhs |
---|---|---|---|
hidden | Whether the ideas are shown anywhere. Default: yes | Optional | yes/no |
cost | Optional | Integer | |
removal_cost | Optional | Integer | |
ledger | Optional | army, navy, air, invalid, civilian, hidden, all | |
national_spirit of subtype no_slot | Optional | yes/no | |
slot of subtype slot | Required, many | Scalar, a "idea_slot" value |
field | description | required | rhs |
---|---|---|
types | Required | block, containing: |
field | description | required | rhs |
---|---|---|
types | Optional, up to 0 | block, containing: |
field | description | required | rhs | ||
---|---|---|---|---|---|
can_host_government_in_exile of subtype regular | Optional | yes | |||
war_impact_on_world_tension of subtype regular | Required | Float | |||
faction_impact_on_world_tension of subtype regular | Required | Float | |||
can_be_boosted of subtype regular | Optional | yes/no | |||
can_collaborate of subtype regular | Optional | yes/no | |||
ai_fascist, ai_communist, ai_democratic, ai_neutral | AI playstyle. | Optional | yes/no | ||
types of subtype regular | Required | block, containing: | |||
Scalar | Recommended, many | block, containing: | |||
can_be_randomly_selected of subtype regular | won't be assigned to randomly generated country leaders | Optional | yes/no | ||
dynamic_faction_names of subtype regular | Required | block, containing: | |||
Localisation key | Optional, many | ||||
Scalar | Optional, many | ||||
color of subtype regular | RGB color of ideology. | Required | block, containing: | ||
Integer | Required min 3, up to 3 | ||||
rules of subtype regular | Required | block, containing: | |||
can_force_government of subtype regular | Required | yes/no | |||
can_puppet of subtype regular | Required | yes/no | |||
can_send_volunteers of subtype regular | Required | yes/no | |||
can_be_called_to_war, can_be_spymaster, can_boost_other_ideologies, can_create_collaboration_government, can_create_factions, can_declare_war_on_same_ideology, can_declare_war_without_wargoal_when_in_war, can_decline_call_to_war, can_force_government, can_generate_female_aces, can_guarantee_other_ideologies, can_join_factions, can_join_factions_not_allowed_diplomacy, can_join_opposite_factions, can_lower_tension, can_not_declare_war, can_occupy_non_war, can_only_justify_war_on_threat_country, can_puppet, can_send_volunteers, can_use_kamikaze_pilots, contributes_operatives, units_deployed_to_overlord, can_boost_own_ideology | Optional, up to 20 | yes/no | |||
modifiers of subtype regular | Modifiers applied to countries with this ideology. | Required | modifier block | ||
faction_modifiers of subtype regular | Modifiers applied to countries with a faction leader of this ideology. | Required | modifier block |
field | description | required | rhs | |
---|---|---|---|---|
picture | Required | <spriteType> | ||
names | Required | block, containing: | ||
Localisation key | Optional, many | |||
Inline localisation key | Optional, many | |||
default | Required | trigger block | ||
available | Required | trigger block |
field | description | required | rhs | ||
---|---|---|---|---|---|
picture | Required | <spriteType> | |||
frame | GFX entry of the border for the icon, without the suffixe (suffix are _available, _completed and _unavailable ) Optional, "upgrade_frame_1" by default. | Optional | <spriteType> | ||
sound | Optional, "click_default" by default. | Optional | Scalar | ||
ai_will_do | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
modifiers_during_progress | Modifiers to apply while the upgrade is being done. | Optional | modifier block | ||
available | trigger available, like decisions. Optional. If not available, the upgrade will be visible but locked. | Optional | trigger block | ||
visible | trigger visible, like decisions. Optional. | Optional | trigger block | ||
level | Required, many | block, containing: | |||
modifier | Modifiers for this level of the upgrade. | Optional | modifier block | ||
complete_effect | Effects when this level is researched. | Optional | effect block |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Required | Scalar | |||
Optional | intensity fields | ||||
radius | Required | Float | |||
falloff | Required | Float | |||
duration | Optional | Float | |||
color | Required | block, containing: | |||
r | Required | block, containing: | |||
Float | Required | ||||
g | Required | block, containing: | |||
Float | Required | ||||
b | Required | block, containing: | |||
Float | Required | ||||
position | Required | block, containing: | |||
x | Required | Integer | |||
y | Required | Integer | |||
z | Required | Integer | |||
animation | Optional | block, containing: | |||
name | Required | Scalar | |||
start | Required | Float | |||
duration | Required | Float | |||
repeat | Optional | yes/no | |||
op | Required | MUL, ADD, ABS | |||
minValue | Optional | Float | |||
maxValue | Optional | Float | |||
curve | Required | block, containing: | |||
Float | Required min 4, up to 10000 |
field | description | required | rhs |
---|---|---|---|
name | Required | Scalar | |
file | Required | Scalar |
field | description | required | rhs |
---|---|---|---|
color_type | the tooltips will be colored accordingly depending if value is positive or not | Optional | good, neutral, bad |
value_type | type of values in tooltip. | Optional | number, percentage, percentage_in_hundred, yes_no |
precision | number of precision for tooltips | Optional | Integer |
postfix | post fix for values in tooltip | Optional | none, days, hours, daily |
category | cateogies can be defined if wanted. some tooltips only display certain categories. multiple cateogies can be defined for a single modifier@modifier_token | Optional, many | none, all, naval, air, unit_leader, country, state, army, peace, politics, ai, defensive, aggressive, war_production, military_advancements, military_equipment, autonomy, government_in_exile, intelligence_agency |
field | description | required | rhs | ||
---|---|---|---|---|---|
category | Required | ||||
gui_category | Optional | ||||
parent | Optional | <module> | |||
gfx | Optional | Scalar | |||
sfx | Optional | Scalar | |||
add_equipment_type | Optional | infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | |||
manpower | Manpower required to produce one unit of the equipment (naval only). | Optional | Integer | ||
dismantle_cost_ic | Optional | Integer | |||
add_stats | Required | block, containing: | |||
Required | naval_stat fields | ||||
Required | naval_stat fields | ||||
build_cost_ic | Optional | Integer | |||
build_cost_resources | Optional | block, containing: | |||
<resource> | Optional, up to 10 | Integer | |||
add_average_stats | Optional | block, containing: | |||
Required | naval_stat fields | ||||
Required | naval_stat fields | ||||
multiply_stats | Optional, up to 10 | block, containing: | |||
Required | naval_stat fields | ||||
Required | naval_stat fields | ||||
can_convert_from | Optional, up to 10 | block, containing: | |||
module_category | Optional | ||||
module | Optional | <module> | |||
convert_cost_ic | Required | Integer | |||
convert_cost_resources | Optional | block, containing: | |||
<resource> | Recommended, up to 10 | Integer | |||
critical_parts | Optional | block, containing: | |||
<critical_part> | Required | ||||
dismantle_cost_resources | Optional | block, containing: | |||
<resource> | Recommended, up to 10 | Integer |
field | description | required | rhs |
---|---|---|---|
base, factor | Required | 64 bit Float or float variable | |
Required | modifier_rule fields |
field | description | required | rhs | |
---|---|---|---|---|
tooltip | tooltip description for the law | Optional | Localisation key | |
icon | gfx entry & frame for law entry icon. gfx entry can be omitted, in that case it will default to GFX_occupation_policy_icon_strip | Optional | Scalar | |
icon | gfx entry & frame for law entry icon. gfx entry can be omitted, in that case it will default to GFX_occupation_policy_icon_strip | Optional | Integer | |
sound_effect | plays when the law is selected | Optional | Scalar | |
fallback_law | if a current modifier is no longer active (visible/available is false) it will fallback to this law | Optional | <occupation_law> | |
default_law | Optional | yes/no | ||
starting_law | Optional | yes/no | ||
main_fallback_law | main fallback modifier will be used when previous modifier is no longer active and there is no fallback_law, there must be exactly one fallback modifier. if you are lacking manpower/equipments for your current laws, fallback modifier bonuses will apply instead (will lerp to fallback and at 0 manpower you will be forced to switch) | Optional | yes/no | |
gui_order | Optional | Integer | ||
visible | if a law is not visible, it won't show up in gui at all. scope is occupier country, occupied country is not set (this is only check at country level, not target level) | Optional | trigger block, with scopes ROOT: Country | |
available | if a law is not available, it will show up in disable state ingui and won't be selectable. scope is occupier country and from scope is occupied country | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |
state_modifier | applies to states if the law is selected | Optional | modifier block | |
suppressed_state_modifier | states with resistance supressed (at 0) will get this modifier instead (if defined) | Optional | modifier block | |
ai_will_do | Optional | block, containing: | ||
base, factor | Optional | Float | ||
Required | modifier_rule fields |
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs | |
---|---|---|---|---|
random_events of subtype on_new_term_election | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_new_term_election | Optional | effect block | ||
random_events of subtype on_ace_promoted | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ace_promoted | Optional | effect block | ||
random_events of subtype on_aces_killed_each_other | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_aces_killed_each_other | Optional | effect block | ||
random_events of subtype on_ace_killed_by_ace | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ace_killed_by_ace | Optional | effect block | ||
random_events of subtype on_ace_killed_other_ace | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ace_killed_other_ace | Optional | effect block | ||
random_events of subtype on_ace_killed | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ace_killed | Optional | effect block | ||
random_events of subtype on_justifying_wargoal_pulse | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_justifying_wargoal_pulse | Optional | effect block | ||
random_events of subtype on_wargoal_expire | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_wargoal_expire | Optional | effect block | ||
random_events of subtype on_nuke_drop | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_nuke_drop | Optional | effect block | ||
random_events of subtype on_border_war_lost | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_border_war_lost | Optional | effect block | ||
random_events of subtype on_leave_faction | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_leave_faction | Optional | effect block | ||
random_events of subtype on_create_faction | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_create_faction | Optional | effect block | ||
random_events of subtype on_offer_join_faction | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_offer_join_faction | Optional | effect block | ||
random_events of subtype on_join_faction | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_join_faction | Optional | effect block | ||
random_events of subtype on_declare_war | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_declare_war | Optional | effect block | ||
random_events of subtype on_faction_formed | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_faction_formed | Optional | effect block | ||
random_events of subtype on_capitulation | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_capitulation | Optional | effect block | ||
random_events of subtype on_uncapitulation | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_uncapitulation | Optional | effect block | ||
random_events of subtype on_government_change | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_government_change | Optional | effect block | ||
random_events of subtype on_naval_invasion | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_naval_invasion | Optional | effect block | ||
random_events of subtype on_coup_succeeded | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_coup_succeeded | Optional | effect block | ||
random_events of subtype on_civil_war_end | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_civil_war_end | Optional | effect block | ||
random_events of subtype on_puppet | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_puppet | Optional | effect block | ||
random_events of subtype on_release_as_puppet | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_release_as_puppet | Optional | effect block | ||
random_events of subtype on_annex | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_annex | Optional | effect block | ||
random_events of subtype on_subject_free | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_subject_free | Optional | effect block | ||
random_events of subtype on_subject_autonomy_level_change | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_subject_autonomy_level_change | Optional | effect block | ||
random_events of subtype on_subject_annexed | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_subject_annexed | Optional | effect block | ||
random_events of subtype on_release_as_free | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_release_as_free | Optional | effect block | ||
random_events of subtype on_peaceconference_ended | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_peaceconference_ended | Optional | effect block | ||
random_events of subtype on_generate_wargoal | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_generate_wargoal | Optional | effect block | ||
random_events of subtype on_guarantee | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_guarantee | Optional | effect block | ||
random_events of subtype on_military_access | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_military_access | Optional | effect block | ||
random_events of subtype on_offer_military_access | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_offer_military_access | Optional | effect block | ||
random_events of subtype on_call_allies | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_call_allies | Optional | effect block | ||
random_events of subtype on_join_allies | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_join_allies | Optional | effect block | ||
random_events of subtype on_lend_lease | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_lend_lease | Optional | effect block | ||
random_events of subtype on_incoming_lend_lease | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_incoming_lend_lease | Optional | effect block | ||
random_events of subtype on_incoming_lend_lease | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_incoming_lend_lease | Optional | effect block | ||
random_events of subtype on_send_volunteers | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_send_volunteers | Optional | effect block | ||
random_events of subtype on_send_expeditionary_force | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_send_expeditionary_force | Optional | effect block | ||
random_events of subtype on_return_expeditionary_forces | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_return_expeditionary_forces | Optional | effect block | ||
random_events of subtype on_request_expeditionary_forces | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_request_expeditionary_forces | Optional | effect block | ||
random_events of subtype on_ask_for_state_control | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ask_for_state_control | Optional | effect block | ||
random_events of subtype on_give_state_control | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_give_state_control | Optional | effect block | ||
random_events of subtype on_war_relation_added | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_war_relation_added | Optional | effect block | ||
random_events of subtype on_liberate | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_liberate | Optional | effect block | ||
random_events of subtype on_startup | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> | ||
effect of subtype on_startup | Optional | effect block | ||
random_events of subtype on_daily | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_daily | Optional | effect block | ||
random_events of subtype on_weekly | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_weekly | Optional | effect block | ||
random_events of subtype on_monthly | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_monthly | Optional | effect block | ||
random_events of subtype on_yearly | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_yearly | Optional | effect block | ||
random_events of subtype on_thri_yearly_pulse | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_thri_yearly_pulse | Optional | effect block | ||
random_events of subtype on_bi_yearly_pulse | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_bi_yearly_pulse | Optional | effect block | ||
random_events of subtype on_state_control_changed | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_state_control_changed | Optional | effect block | ||
random_events of subtype on_unit_leader_created | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_unit_leader_created | Optional | effect block | ||
random_events of subtype on_unit_leader_level_up | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_unit_leader_level_up | Optional | effect block | ||
random_events of subtype on_army_leader_daily | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_army_leader_daily | Optional | effect block | ||
random_events of subtype on_army_leader_won_combat | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_army_leader_won_combat | Optional | effect block | ||
random_events of subtype on_army_leader_lost_combat | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_army_leader_lost_combat | Optional | effect block | ||
random_events of subtype on_army_leader_promoted | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype unit_leader_event | ||
effect of subtype on_army_leader_promoted | Optional | effect block | ||
random_events of subtype on_host_changed_from_capitulation | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_host_changed_from_capitulation | Optional | effect block | ||
random_events of subtype on_exile_government_reinstated | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_exile_government_reinstated | Optional | effect block | ||
random_events of subtype on_civil_war_end_before_annexation | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_civil_war_end_before_annexation | Optional | effect block | ||
random_events of subtype on_government_exiled | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_government_exiled | Optional | effect block | ||
random_events of subtype on_pride_of_the_fleet_sunk | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_pride_of_the_fleet_sunk | Optional | effect block | ||
random_events of subtype on_assume_faction_leadership | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_assume_faction_leadership | Optional | effect block | ||
random_events of subtype on_war | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_war | Optional | effect block | ||
random_events of subtype on_peace | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_peace | Optional | effect block | ||
random_events of subtype on_peace_proposal | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_peace_proposal | Optional | effect block | ||
random_events of subtype on_operative_on_mission_spotted | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_on_mission_spotted | Optional | effect block | ||
random_events of subtype on_operative_captured | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_captured | Optional | effect block | ||
random_events of subtype on_operative_death | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_death | Optional | effect block | ||
random_events of subtype on_operative_detected_during_operation | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_detected_during_operation | Optional | effect block | ||
random_events of subtype on_operative_created | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_created | Optional | effect block | ||
random_events of subtype on_operative_recruited | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operative_recruited | Optional | effect block | ||
random_events of subtype on_operation_completed | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype operative_leader_event | ||
effect of subtype on_operation_completed | Optional | effect block | ||
random_events of subtype on_fully_decrypted_cipher | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_fully_decrypted_cipher | Optional | effect block | ||
random_events of subtype on_activated_active_decryption_bonuses | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_activated_active_decryption_bonuses | Optional | effect block | ||
random_events of subtype on_paradrop | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_paradrop | Optional | effect block | ||
random_events of subtype on_ruling_party_change | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_ruling_party_change | Optional | effect block | ||
random_events of subtype on_stage_coup | Optional | block, containing: | ||
Integer | Optional, many | 0 | ||
Integer | Optional, many | <event> of subtype country_event | ||
effect of subtype on_stage_coup | Optional | effect block |
field | description | required | rhs | ||||||
---|---|---|---|---|---|---|---|---|---|
start_equipment_factor | Optional | Float | |||||||
focus | Optional | block, containing: | |||||||
current | Required | <focus> | |||||||
progress | Required | Float above 0 | |||||||
division_template | Optional, many | block, containing: | |||||||
name | Required | Scalar | |||||||
division_names_group | Optional | <division_name> | |||||||
template_counter | Optional | Integer | |||||||
is_locked | Optional | yes/no | |||||||
template_counter | Optional | Integer | |||||||
priority | Optional | Integer | |||||||
regiments | Required | block, containing: | |||||||
<unit> | Required, up to 25 | block, containing: | |||||||
x | Required | Integer between 0 and 5 | |||||||
y | Required | Integer between 0 and 5 | |||||||
support | Optional | block, containing: | |||||||
<unit> | Recommended, up to 5 | block, containing: | |||||||
x | Required | Integer between 0 and 5 | |||||||
y | Required | Integer between 0 and 5 | |||||||
instant_effect | Optional | effect block | |||||||
units | Optional | block, containing: | |||||||
division | Optional, many | block, containing: | |||||||
name | Optional | Scalar | |||||||
location | Required | ||||||||
division_template | Required | Scalar | |||||||
start_experience_factor | Optional | Float between 0 and 1 | |||||||
start_equipment_factor | Optional | Float | |||||||
division_name | Optional | block, containing: | |||||||
is_name_ordered | Required | yes/no | |||||||
name_order | Optional | Integer | |||||||
force_equipment_variants | Optional, many | block, containing: | |||||||
<equipment> of subtype regular_equip | Recommended, many | block, containing: | |||||||
owner | Required | ||||||||
creator | Optional | ||||||||
fleet | Optional, many | block, containing: | |||||||
name | Required | Scalar | |||||||
naval_base | Required | ||||||||
task_force | Recommended, many | block, containing: | |||||||
name | Required | Scalar | |||||||
location | Required | ||||||||
ship | Required, many | block, containing: | |||||||
name | Optional | Scalar | |||||||
ordered_name | Optional | Scalar | |||||||
pride_of_the_fleet | Optional | yes | |||||||
definition | Required | <unit> of subtype ship_unit | |||||||
start_experience_factor | Optional | Float between 0 and 1 | |||||||
equipment | Required | block, containing: | |||||||
<equipment> of subtype naval_equip | Required | block, containing: | |||||||
amount | Required | Integer | |||||||
owner | Required | ||||||||
version_name | Optional | Scalar | |||||||
creator | Optional | ||||||||
air_wings | Optional | block, containing: | |||||||
start_experience_factor | Order is important. start_experience_factor will be assigned to the ace above. | Optional, many | Float between 0 and 1 | ||||||
<equipment> of subtype air_equip | Optional, many | block, containing: | |||||||
owner | Required | ||||||||
creator | Optional | ||||||||
amount | Required | Integer | |||||||
ace | Order is important. Ace will be assigned to the wing above. | Optional, many | block, containing: | ||||||
modifier | Required | <ace> | |||||||
name | Required | Inline localisation key | |||||||
surname | Required | Inline localisation key | |||||||
callsign | Optional | Inline localisation key | |||||||
portrait | Optional | Integer | |||||||
is_female | Optional | yes | |||||||
air_wings | Optional | block, containing: | |||||||
<state> | Required, many | block, containing: | |||||||
start_experience_factor | Order is important. start_experience_factor will be assigned to the ace above. | Optional, many | Float between 0 and 1 | ||||||
<equipment> of subtype air_equip | Required, many | block, containing: | |||||||
owner | Required | ||||||||
creator | Optional | ||||||||
amount | Required | Integer | |||||||
ace | Order is important. Ace will be assigned to the wing above. | Optional, many | block, containing: | ||||||
modifier | Required | <ace> | |||||||
name | Required | Inline localisation key | |||||||
surname | Required | Inline localisation key | |||||||
callsign | Optional | Inline localisation key | |||||||
portrait | Optional | Integer | |||||||
is_female | Optional | yes | |||||||
navy_leader | Optional, many | block, containing: | |||||||
name | Required | Scalar | |||||||
desc | Optional | Localisation key | |||||||
picture | Optional | Scalar | |||||||
portrait_path | Optional | Scalar | |||||||
gfx | Optional | Scalar | |||||||
skill | Recommended | Integer | |||||||
attack_skill | Recommended | Integer | |||||||
defense_skill | Recommended | Integer | |||||||
maneuvering_skill | Recommended | Integer | |||||||
coordination_skill | Recommended | Integer | |||||||
id | Optional | Scalar, a "unit_leader_ids" value | |||||||
female | Optional | yes/no | |||||||
flags | Optional | block, containing: | |||||||
Scalar, a "leader_flag" value | Recommended, many | block, containing: | |||||||
value | Required | 1 | |||||||
traits | Sets starting traits for this leader. If empty, sets no traits. If missing, assigns a random trait. | Required | block, containing: | ||||||
<unit_leader_trait> | Optional, many | ||||||||
field_marshal | Optional, many | block, containing: | |||||||
name | Required | Scalar | |||||||
desc | Optional | Localisation key | |||||||
picture | Optional | Scalar | |||||||
portrait_path | Optional | Scalar | |||||||
gfx | Optional | Scalar | |||||||
skill | Recommended | Integer | |||||||
attack_skill | Recommended | Integer | |||||||
defense_skill | Recommended | Integer | |||||||
planning_skill | Recommended | Integer | |||||||
logistics_skill | Recommended | Integer | |||||||
id | Optional | Scalar, a "unit_leader_ids" value | |||||||
female | Optional | yes/no | |||||||
flags | Optional | block, containing: | |||||||
Scalar, a "leader_flag" value | Recommended, many | block, containing: | |||||||
value | Required | 1 | |||||||
traits | Sets starting traits for this leader. If empty, sets no traits. If missing, assigns a random trait. | Required | block, containing: | ||||||
<unit_leader_trait> | Optional, many | ||||||||
corps_commander | Optional, many | block, containing: | |||||||
name | Optional | Scalar | |||||||
desc | Optional | Localisation key | |||||||
picture | Optional | Scalar | |||||||
portrait_path | Optional | Scalar | |||||||
gfx | Optional | Scalar | |||||||
skill | Recommended | Integer | |||||||
attack_skill | Recommended | Integer | |||||||
defense_skill | Recommended | Integer | |||||||
planning_skill | Recommended | Integer | |||||||
logistics_skill | Recommended | Integer | |||||||
id | Optional | Scalar, a "unit_leader_ids" value | |||||||
female | Optional | yes/no | |||||||
flags | Optional | block, containing: | |||||||
Scalar, a "leader_flag" value | Recommended, many | block, containing: | |||||||
value | Required | 1 | |||||||
traits | Sets starting traits for this leader. If empty, sets no traits. If missing, assigns a random trait. | Required | block, containing: | ||||||
<unit_leader_trait> | Optional, many |
field | description | required | rhs | ||
---|---|---|---|---|---|
icon | Required | <spriteType> | |||
map_icon | Required | <spriteType> | |||
name | Required | Localisation key | |||
desc | Required | Localisation key | |||
priority | Priority determines in which order they are listed from the list of operations in the Intelligence Agency window. The higher the number the earlier in the list it will be | Optional | Integer | ||
days | Every operation needs a duration in days that it takes to execute it | Required | Integer | ||
danger_level | The danger level the target country will perceived once this operation is initiated (default = 0) | Optional | Integer | ||
operatives | The number of operatives requires to be assigned to an operation for it to start | Required | Integer | ||
network_strength | Every operation has a hard requirement of network strength in the target country Integer [0-100] | Required | Integer between 0 and 100 | ||
prevent_captured_operative_to_die | Used for rescue operative operations | Optional | yes/no | ||
cost_multiplier | Multiplier for the operation cost | Optional | Float | ||
experience | Experience awarded by the operation | Optional | Float | ||
scale_cost_independent_of_target | Sets a fixed scaling instead of per target size | Optional | yes/no | ||
risk_chance | Optional | Float between 0 and 1 | |||
target_type | Determines the selector type. Currently supported are: [ province, strategic_region ] | Optional | province | ||
target_type | Optional | strategic_region | |||
return_on_complete | Default: no - will refund all equipment cost for this operation at the end of the operation [ operation phases costs have their own specifier in the operation database ] | Optional | yes | ||
outcome_extra_chance | Chance for outcome_execute_extra to happen (assuming it exists), otherwise outcome_extra will be executed | Optional | Float between 0 and 1 | ||
will_lead_to_war_with | Used to warn the AI about an upcoming war with the target of the operation | Optional | yes/no | ||
phases | This is where all the separate phases are defined, There can be any number of phases, they will be evenly split over the total duration of the operation | Required, many | block, containing: | ||
<operation_phase> | Each phase for an operation may have a single actual phase assigned to it, which is determined here, Every <phase id> can have a base chance as well as any number of modifiers | Required, many | block, containing: | ||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
ai_will_do | Behaves like any other ai_will_do, IF the total weight factor falls below OPERATION_AI_MINIMUM_SCORE, THEN the AI will cancel the operation if it was currently planning it | Optional | block, containing: | ||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
allowed | Determines whether the operation is visible to the player, Default = { always = yes } | Optional | trigger block, with scopes ROOT: Country | ||
available | Determines whether the operation can be launched by the player, Default = { always = yes } | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
visible | Determines whether the operation will be visible to the player, If no trigger used it will fall back to a default where it shows operations with network strength below NOperatives::INTEL_NETWORK_MIN_DEFAULT_FOR_SHOWING or when reaching half its network requirements. It will also only show operations with one level higher operation count than you currently have. | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
risk_modifiers | List of modifiers that apply to risk_chance | Optional | block, containing: | ||
Optional, many | |||||
Optional, many | |||||
awarded_tokens | Determines the potentially awarded token(s) - this is for display purposes only in tooltips | Optional | block, containing: | ||
<operation_token> | Required, many | ||||
cost_modifiers | List of traits that affect the cost of an operation | Optional | block, containing: | ||
Optional, many | |||||
Optional, many | |||||
operation_target | If no operation_target is defined it will be allowed for all countries | Optional | block, containing: | ||
targets | Required | block, containing: | |||
Scope object in [Country] scope | Required, many | ||||
selection_target | Determines the valid countries for province selection. If set this will enable the UI to select a target province | Optional | block, containing: | ||
targets | Required | block, containing: | |||
Scope object in [Country] scope | Required, many | ||||
selection_target_state | Determines the valid states for province selection | Optional | trigger block, with scopes ROOT: State | ||
equipment | Equipment base cost for the operation, Note: Exceptionally supports `civilian_factories` as an equipment type. It works like the agency creation cost, where it allocates a number of factories over time | Optional | block, containing: | ||
<equipment> | Optional, many | Integer | |||
civilian_factories | Optional, many | Integer | |||
civilian_factories | Optional, many | block, containing: | |||
amount | Required | Integer | |||
days | Required | Integer | |||
required_tokens | Determines required token(s) - against target country - to launch the operation | Optional | block, containing: | ||
<operation_token> | Recommended, many | ||||
target_weight | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
requirements | Determines requirements other than equipment to launch the operation | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
on_start | Executed when an operation starts | Optional | effect block, with scopes ROOT: Country, FROM: Country | ||
outcome_potential | For description purposes only. This is the effect that generates that text shown as a potential reward for completing the operation | Optional | effect block | ||
outcome_modifiers | List of modifiers that apply to outcome_chance | Optional | block, containing: | ||
Optional, many | |||||
Optional, many | |||||
outcome_execute | Executed when the operation has completed [ once per operation ] | Optional | effect block | ||
outcome_extra_execute | Same as outcome_execute | Optional | effect block |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Every phase needs a name to be displayed | Required | Localisation key | ||
desc | Every phase needs a description to show what it is about | Required | Localisation key | ||
icon | Every phase needs an icon for display purposes | Required | <spriteType> | ||
picture | Required | <spriteType> | |||
outcome | Outcome text that is used to build the final outcome string | Optional | Localisation key | ||
map_icon | map icon, will use regular icon if none specified | Optional | <spriteType> | ||
outcome_extra | Outcome text that is used to build the final outcome string - This happens if a risk_extra has happened ( something bad ) to at least one of the operatives. We usually only specify outcome_extra for exfiltration phases, technically all phases use outcome_extra, but if none is defined for it ( as in our use case it would not make sense ) then it will default fallback to outcome. Some modders might have a different use case for this, so support is there and it uses outocme_extra for all phases of an operation that had something risky happen. Can be used to build a different storyline from an operation where everthing went smooth. | Optional | Localisation key | ||
risk_extra | Optional | Localisation key | |||
return_on_complete | Default: no - will refund all equipment cost for this operation phase at the end of the operation [ operation costs have their own specifier in the operation database ] | Optional | yes/no | ||
requirements | requirements is a trigger that will be visible in the UI and determines the set of requirements necessary to start an operation. They are used for phase selection. If this trigger is not successful ( checked on a weekly basis ) then the phase is invalid. PreSeeded operations will be ReSeeded with new phases if one of theirs becomes invalid | Optional | trigger block, with scopes ROOT: Country, FROM: Country | ||
equipment | Equipment cost that is scalable by the multiplier defined in the operation. Note: Exceptionally supports `civilian_factories` as an equipment type. It works like the agency creation cost, where it allocates a number of factories over time | Optional | block, containing: | ||
<equipment> | Optional, many | Integer | |||
civilian_factories | Optional, many | Integer | |||
civilian_factories | Optional, many | block, containing: | |||
amount | Required | Integer | |||
days | Required | Integer |
field | description | required | rhs |
---|---|---|---|
name | Every token needs a name to be displayed | Required | Localisation key |
desc | Every token needs a description to show what it is about | Required | Localisation key |
icon | Every token needs an icon for display purposes | Required | <spriteType> |
text_icon | Required | <spriteType> | |
targeted_modifier | Every token can have any number of targeted modifier listed as demonstrated below. Those will be applied to the relation between the origin country and the target country of the operation. For as long as the origin country that receives the token posses the token, when the token is consumed the modifiers will go away | Optional, many | <dynamic_modifier> |
intel_source | Intel Source Gains. A token may grant intel gains against of one value for one source per token. Multiple intel gains per token are NOT supported. Supported sources are: navy, army, civilian, airforce | Optional | navy, army, civilian, airforce |
intel_gain | Intel Source Gains. A token may grant intel gains against of one value for one source per token. Multiple intel gains per token are NOT supported. Supported sources are: navy, army, civilian, airforce | Optional | Float |
field | description | required | rhs |
---|---|---|---|
value | Required | Integer | |
trade | Optional | yes/no | |
decay | Optional | Float | |
min_trust | Optional | Integer | |
max_trust | Optional | Integer | |
target | Optional | yes/no | |
days, months, years | Optional | Integer |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
name | Required | Scalar | ||||
subsystem | Required, many | block, containing: | ||||
name | Optional | Scalar | ||||
max_amount | Optional | Integer | ||||
slave_particles | Optional | Integer | ||||
emitter_type | Optional | point, sphere, box | ||||
invert | Optional | yes/no | ||||
trail | Optional | yes/no | ||||
local_space | Optional | yes/no | ||||
billboard | Optional | yes/no | ||||
hide | Optional | yes/no | ||||
Required | subsystem_color fields | |||||
duration | Required | Float | ||||
life | Required | Float | ||||
Required | emission fields | |||||
size | Required | Float | ||||
size | Required | Scalar | ||||
rotation | Optional | Float | ||||
rotation | Optional | Scalar | ||||
sort | Optional | depth, age | ||||
rotation_speed | Optional | Float | ||||
rotation_speed_yaw | Optional | Float | ||||
rotation_speed_pitch | Optional | Float | ||||
sphere_emitter_radius | Optional | Float | ||||
sphere_emitter_yaw | Optional | Float | ||||
sphere_emitter_pitch | Optional | Float | ||||
start | Optional | Float | ||||
Required | emission fields | |||||
box_emitter_x | Optional | Float | ||||
box_emitter_x | Optional | Scalar | ||||
box_emitter_y | Optional | Scalar | ||||
box_emitter_z | Optional | Scalar | ||||
velocity | Optional | Float | ||||
velocity_pitch | Optional | Scalar | ||||
velocity_yaw | Optional | Float | ||||
emitter_pitch | Optional | Float | ||||
emitter_yaw | Optional | Float | ||||
emission_pulse_duration | Optional | Float | ||||
emission_pulse_silence | Optional | Float | ||||
particle_pitch | Optional | Float | ||||
particle_yaw | Optional | Scalar | ||||
force | Optional | Scalar | ||||
texture | Optional | block, containing: | ||||
file | Required | Filepath | ||||
shader | Required | Scalar | ||||
x | Optional | Integer | ||||
y | Optional | Integer | ||||
position | Optional | block, containing: | ||||
x | Optional | Float | ||||
y | Optional | Float | ||||
z | Optional | Float | ||||
life | Required | block, containing: | ||||
Float | Required, up to 2 | |||||
size | Required | block, containing: | ||||
Scalar | Required, up to 2 | |||||
rotation | Optional | block, containing: | ||||
Scalar | Required, up to 2 | |||||
rotation_speed_roll | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
rotation_speed | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
sphere_emitter_radius | Optional | block, containing: | ||||
Scalar | Required min 2, up to 2 | |||||
sphere_emitter_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
sphere_emitter_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
start | Optional | block, containing: | ||||
Float | Required, up to 2 | |||||
box_emitter_x | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
box_emitter_y | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
box_emitter_z | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
velocity | Optional | block, containing: | ||||
Float | Required, up to 2 | |||||
velocity_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
velocity_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
emitter_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
emitter_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
particle_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
particle_yaw | Optional | block, containing: | ||||
Scalar | Required min 2, up to 2 | |||||
particle_roll | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
childsystem | Optional | block, containing: | ||||
name | Optional | Scalar | ||||
max_amount | Optional | Integer | ||||
slave_particles | Optional | Integer | ||||
emitter_type | Optional | point, sphere, box | ||||
invert | Optional | yes/no | ||||
trail | Optional | yes/no | ||||
local_space | Optional | yes/no | ||||
billboard | Optional | yes/no | ||||
hide | Optional | yes/no | ||||
Required | subsystem_color fields | |||||
duration | Required | Float | ||||
life | Required | Float | ||||
Required | emission fields | |||||
size | Required | Float | ||||
rotation | Optional | Float | ||||
sort | Optional | depth, age | ||||
rotation_speed | Optional | Float | ||||
rotation_speed_pitch | Optional | Float | ||||
sphere_emitter_radius | Optional | Float | ||||
sphere_emitter_yaw | Optional | Float | ||||
start | Optional | Float | ||||
box_emitter_x | Optional | Float | ||||
box_emitter_x | Optional | Scalar | ||||
box_emitter_y | Optional | Scalar | ||||
box_emitter_z | Optional | Scalar | ||||
velocity | Optional | Float | ||||
velocity_pitch | Optional | Scalar | ||||
velocity_yaw | Optional | Float | ||||
emitter_pitch | Optional | Float | ||||
emitter_yaw | Optional | Float | ||||
emission_pulse_duration | Optional | Float | ||||
emission_pulse_silence | Optional | Float | ||||
particle_pitch | Optional | Float | ||||
particle_yaw | Optional | Float | ||||
force | Optional | Scalar | ||||
texture | Optional | block, containing: | ||||
file | Required | Filepath | ||||
shader | Required | Scalar | ||||
x | Optional | Integer | ||||
y | Optional | Integer | ||||
position | Optional | block, containing: | ||||
x | Optional | Float | ||||
y | Optional | Float | ||||
z | Optional | Float | ||||
life | Required | block, containing: | ||||
Float | Required, up to 2 | |||||
size | Required | block, containing: | ||||
Scalar | Required, up to 2 | |||||
rotation | Optional | block, containing: | ||||
Scalar | Required, up to 2 | |||||
rotation_speed_roll | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
rotation_speed | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
sphere_emitter_radius | Optional | block, containing: | ||||
Scalar | Required min 2, up to 2 | |||||
sphere_emitter_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
sphere_emitter_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
start | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
box_emitter_x | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
box_emitter_y | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
box_emitter_z | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
velocity | Optional | block, containing: | ||||
Float | Optional, up to 2 | |||||
velocity_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
velocity_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
emitter_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
emitter_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
particle_pitch | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
particle_yaw | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
particle_roll | Optional | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
animation | Optional, many | block, containing: | ||||
name | Required | Scalar | ||||
start | Required | Float | ||||
duration | Required | Float | ||||
repeat | Optional | yes/no | ||||
minValue | Required | Float | ||||
maxValue | Required | Float | ||||
op | Required | MUL, ADD, ABS | ||||
time | Required | life, life_abs, system, spawn | ||||
curve | Required | block, containing: | ||||
Float | Required min 4, up to 10000 | |||||
force | Optional, many | block, containing: | ||||
name | Required | Scalar | ||||
type | Required | friction, planar, point, spin, turbulence, vortex | ||||
local_force | Optional | yes/no | ||||
yaw | Optional | Float | ||||
division | Optional | Integer | ||||
amount | Optional | Float | ||||
amount | Optional | Scalar | ||||
position | Optional | block, containing: | ||||
Float | Required min 3, up to 3 | |||||
direction | Optional | block, containing: | ||||
Float | Required min 3, up to 3 | |||||
amount | Optional | block, containing: | ||||
Float | Required |
field | description | required | rhs | |
---|---|---|---|---|
name | Required | Scalar | ||
file | Required | Filepath | ||
scale | Optional | Float | ||
cull_distance | Optional | Float | ||
animation | Optional, many | block, containing: | ||
id | Required | Scalar | ||
type | Required | <model_animation> | ||
meshsettings | Optional, many | block, containing: | ||
name | Optional | Scalar | ||
index | Optional | Integer | ||
texture_diffuse | Optional | Scalar | ||
texture_normal | Optional | Scalar | ||
texture_specular | Optional | Scalar | ||
shader | Optional | Scalar |
field | description | required | rhs |
---|---|---|---|
name | Required | Scalar | |
type | Required | <particle> | |
scale | Optional | Float |
field | description | required | rhs |
---|---|---|
type | Required | state_compliance_modifier, core_compliance_modifier |
field | description | required | rhs |
---|---|---|
type | Required | state_resistance_modifier, core_resistance_modifier |
field | description | required | rhs |
---|---|---|
type | Required | core_resistance_modifier, core_compliance_modifier |
field | description | required | rhs |
---|---|---|
type | Required | state_resistance_modifier, state_compliance_modifier |
field | description | required | rhs | |
---|---|---|---|---|
type | Required | state_resistance_modifier, state_compliance_modifier, core_resistance_modifier, core_compliance_modifier | ||
icon | GFX entry & frame for law entry icon. both frame and gfx name can be ommited, in that case it will default to GFX_occupation_modifier_strip | Required | Scalar | |
small_icon | Small icon will be used for progress bars (GFX_occupation_modifier_small_strip is default gfx) | Required | Scalar | |
threshold | Percentage threshold to enable. | Required | Integer | |
margin | Margin to disable the modifier back. It will be disabled if current value < threshold - margin. | Required | Integer | |
alert_level | Optional | high, medium, low | ||
alert_margin | Optional | Integer | ||
state_modifier | Will be added to state if modifier is enabled. | Optional | modifier block | |
visible of subtype core | If visible is false, the modifier will not show up anywhere. | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |
enabled of subtype core | If enabled is false, the modifier won't be enabled even if it passes threshold (and will be disabled if it was enabled before). | Optional | trigger block, with scopes ROOT: Country, FROM: Country | |
on_enable of subtype core | The effect will be called when modifier is enabled. | Optional | effect block, with scopes ROOT: Country, FROM: Country | |
on_disable of subtype core | The effect will be called when modifier is disabled. | Optional | effect block, with scopes ROOT: Country, FROM: Country | |
visible of subtype state | If visible is false, the modifier will not show up anywhere. | Optional | trigger block, with scopes ROOT: Country, FROM: Country, FROMFROM: Country | |
enabled of subtype state | If enabled is false, the modifier won't be enabled even if it passes threshold (and will be disabled if it was enabled before). | Optional | trigger block, with scopes ROOT: Country, FROM: Country, FROMFROM: Country | |
on_enable of subtype state | The effect will be called when modifier is enabled. | Optional | effect block, with scopes ROOT: Country, FROM: Country, FROMFROM: Country | |
on_disable of subtype state | The effect will be called when modifier is disabled. | Optional | effect block, with scopes ROOT: Country, FROM: Country, FROMFROM: Country |
field | description | required | rhs |
---|---|---|---|
icon_frame | Icon frame from file. | Required | Integer |
cic | 1 unit of resource costs this many civ factories. | Required | Float |
convoys | This many convoys to convey one unit of resource. | Required | Float |
field | description | required | rhs |
---|---|---|---|
Required | effect fields |
field | description | required | rhs | |
---|---|---|---|---|
dynamic_lists | Required | block, containing: | ||
Scalar | Required | block, containing: | ||
change_scope | Required | yes |
field | description | required | rhs |
---|---|---|
context_type | Required | global_context |
field | description | required | rhs |
---|---|---|
context_type | Required | selected_state_context |
field | description | required | rhs |
---|---|---|
context_type | Required | selected_country_context |
field | description | required | rhs |
---|
field | description | required | rhs | |||||
---|---|---|---|---|---|---|---|---|
window_name | Name of corresponding GUI container. | Required | <containerWindowType> | |||||
context_type | Optional | global_context, player_context, decision_category, selected_state_context, selected_country_context | ||||||
parent_window_token | Optional | top_bar, decision_tab, technology_tab, trade_tab, construction_tab, production_tab, deployment_tab, logistics_tab, diplomacy_tab, politics_tab, tech_infantry_folder, tech_support_folder, tech_armor_folder, tech_artillery_folder, tech_land_doctrine_folder, tech_naval_folder, tech_naval_doctrine_folder, tech_air_techs_folder, tech_air_doctrine_folder, tech_electronics_folder, tech_industry_folder, national_focus, selected_state_view, selected_country_view, selected_country_view_info, selected_country_view_diplomacy | ||||||
parent_window_name | Any GUI container name. Use only if parent_window_token doesn't have a corresponding token. | Optional | <containerWindowType> | |||||
parent_window_name | Any GUI container name. Use only if parent_window_token doesn't have a corresponding token. | Optional | ||||||
dirty | By default the scripted guis will update the gui with every gameplay change (every hourly tick. every time you click something that affects game etc). For large scripted guis this can become quite heavy. If you scripted gui is not updated regularly and you know when it will needs an update, you can use the dirty variable feature. dirty = var_name Once this is defined, the game will check if the value of variable named "var_name" is updated or not. It will only update the scripted gui if that value is changed. It will read the variable from the scope of the scripted gui (player scope or targeted scope etc). When you call an effect that will change the contents of a scripted gui, you can also call `add_to_variable = { var_name = 1 }` to change that dirty variable to retrigger and update on the interface | Optional | Scalar, a "variable" value | |||||
ai_test_interval | Number of hours between each AI check. Default: 24 | Optional | Integer | |||||
ai_test_variance | Variance of number of hours between each AI check. Default: 0.2 | Optional | Float | |||||
ai_max_weight_taken_per_test | By default, AI can click at most 1 button per instance of interval. On each check, it will create a list of things that it can click and it will click the one with highest score. If you want AI to be able to click multiple stuff on same tick you can use this. | Optional | Integer | |||||
ai_test_parent | By default, every scripted GUI has its own AI. It will do prioritization process separately for each GUI. If you want AI to check different scripted GUIs at same interval and compare ai_will_do with each other as well, you can make on of them parent of each other. If you add this entry to a scripted GUI, this scripted GUI will be tested along with 'fuhrer_mana_powers' and it will share its effects with the other one while prioritizing stuff. For example both fuhrer_enemy_country_spells and fuhrer_self_state_spells defines fuhrer_spells as parent and AI evaluates them at the same time. This is done because AI for fuhrer_enemy_country_spells has an AI entry for meteor swarm that blocks everything else to save mana if there is a legit enemy. If you define a parent, you shouldn't define ai_test_interval, ai_test_variance and ai_max_weight_taken_per_test in child AIs since it will share parent's. | Optional | <scripted_gui> | |||||
properties | Optional | block, containing: | ||||||
Scalar | Recommended, many | block, containing: | ||||||
image | Should return name of the texture in gfx file. | Optional | Inline localisation key | |||||
frame | Optional | 64 bit Float or float variable | ||||||
x | Optional | 64 bit Float or float variable | ||||||
y | Optional | 64 bit Float or float variable | ||||||
dynamic_lists | Optional | block, containing: | ||||||
Scalar | Recommended, many | block, containing: | ||||||
array | The array that will be used for populating the grid. | Required | 64 bit Float or float variable | |||||
change_scope | Since our array contains scope objects (countries) we can set change_scope to yes, which will chance current scope to array element while displaying the lists. | Optional | yes/no | |||||
entry_container | GUI container name of the entry. | Required | Scalar | |||||
index | current index and value is also stored as temp variables and can be used in effects/triggers if wanted. You can rename them to another temp variables | Optional | Scalar | |||||
value | current index and value is also stored as temp variables and can be used in effects/triggers if wanted. You can rename them to another temp variables | Optional | Scalar | |||||
ai_weights | Ai_weights of lists are stored under its list entry. | Optional | block, containing: | |||||
Scalar | Recommended, many | block, containing: | ||||||
ai_will_do | Required | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ai_test_scopes of subtype any_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_country, test_enemy_countries, test_ally_countries, test_neighbouring_countries, test_neighbouring_ally_countries, test_neighbouring_enemy_countries, test_if_only_major | |||||
ai_test_scopes of subtype any_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_owned_states, test_enemy_owned_states, test_ally_owned_states, test_self_controlled_states, test_enemy_controlled_states, test_ally_controlled_states, test_neighbouring_states, test_neighbouring_enemy_states, test_neighbouring_ally_states, test_our_neighbouring_states, test_our_neighbouring_states_against_allies, test_our_neighbouring_states_against_enemies, test_contesded_states, test_if_only_coastal | |||||
effects of subtype any_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | effect block, with scopes ROOT: Country, FROM: Any | ||||||
visible of subtype any_context | Optional | trigger block, with scopes ROOT: Country, FROM: Any | ||||||
triggers of subtype any_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | trigger block, with scopes ROOT: Country, FROM: Any | ||||||
ai_check_scope of subtype any_context | AI makes a final check on each target scope:ai_check_scope. If this trigger is false, AI will ignore that scope. | Optional | trigger block | |||||
ai_test_scopes of subtype global_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_country, test_enemy_countries, test_ally_countries, test_neighbouring_countries, test_neighbouring_ally_countries, test_neighbouring_enemy_countries, test_if_only_major | |||||
ai_test_scopes of subtype global_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_owned_states, test_enemy_owned_states, test_ally_owned_states, test_self_controlled_states, test_enemy_controlled_states, test_ally_controlled_states, test_neighbouring_states, test_neighbouring_enemy_states, test_neighbouring_ally_states, test_our_neighbouring_states, test_our_neighbouring_states_against_allies, test_our_neighbouring_states_against_enemies, test_contesded_states, test_if_only_coastal | |||||
effects of subtype global_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | effect block, with scopes ROOT: Country | ||||||
visible of subtype global_context | Optional | trigger block, with scopes ROOT: Country | ||||||
triggers of subtype global_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | trigger block, with scopes ROOT: Country | ||||||
ai_check_scope of subtype global_context | AI makes a final check on each target scope:ai_check_scope. If this trigger is false, AI will ignore that scope. | Optional | trigger block, with scopes ROOT: Country | |||||
visible of subtype player_context | Optional | trigger block, with scopes ROOT: Country | ||||||
effects of subtype player_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | effect block, with scopes ROOT: Country | ||||||
triggers of subtype player_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | trigger block, with scopes ROOT: Country | ||||||
ai_test_scopes of subtype country_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_country, test_enemy_countries, test_ally_countries, test_neighbouring_countries, test_neighbouring_ally_countries, test_neighbouring_enemy_countries, test_if_only_major | |||||
visible of subtype country_context | Optional | trigger block, with scopes ROOT: Country | ||||||
effects of subtype country_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | effect block, with scopes ROOT: Country | ||||||
triggers of subtype country_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | trigger block, with scopes ROOT: Country | ||||||
ai_check_scope of subtype country_context | AI makes a final check on each target scope:ai_check_scope. If this trigger is false, AI will ignore that scope. | Optional | trigger block, with scopes ROOT: Country | |||||
ai_test_scopes of subtype state_context | Limits AI to selected scopes. When used multiple times, will use all matching scopes. | Optional, many | test_self_owned_states, test_enemy_owned_states, test_ally_owned_states, test_self_controlled_states, test_enemy_controlled_states, test_ally_controlled_states, test_neighbouring_states, test_neighbouring_enemy_states, test_neighbouring_ally_states, test_our_neighbouring_states, test_our_neighbouring_states_against_allies, test_our_neighbouring_states_against_enemies, test_contesded_states, test_if_only_coastal | |||||
visible of subtype state_context | Optional | trigger block, with scopes ROOT: Country | ||||||
effects of subtype state_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | effect block, with scopes ROOT: Country | ||||||
triggers of subtype state_context | Optional | block, containing: | ||||||
Scalar | Recommended, many | trigger block, with scopes ROOT: Country | ||||||
ai_check_scope of subtype state_context | AI makes a final check on each target scope:ai_check_scope. If this trigger is false, AI will ignore that scope. | Optional | trigger block, with scopes ROOT: Country | |||||
ai_enabled | Ai_enabled entry is the best optimization you can set. While initialization AI, it will check every scripted GUI for every country and will test ai_enabled with its country scope. If ai_enabled is false, AI will ignore that scripted GUI forever. | Optional | trigger block, with scopes ROOT: Country | |||||
ai_check | Called on every tick of the interval you specified and the scope is again country scope. If this is false, AI will ignore your GUI in that tick. | Optional | trigger block, with scopes ROOT: Country | |||||
ai_weights | Optional | block, containing: | ||||||
weight | Optional | Integer | ||||||
Scalar | Recommended, many | block, containing: | ||||||
ai_will_do of subtype player_context | Required | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ignore_lower_weights of subtype player_context | Optional | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ai_will_do of subtype country_context | Required | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ignore_lower_weights of subtype country_context | Optional | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ai_will_do of subtype state_context | Required | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields | |||||||
ignore_lower_weights of subtype state_context | Optional | block, containing: | ||||||
base, factor | Optional | 64 bit Float or float variable | ||||||
Required | modifier_rule fields |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
name | Required | Scalar | ||||
text | Optional, many | block, containing: | ||||
localization_key | Optional | Inline localisation key | ||||
trigger | Optional | trigger block | ||||
random_list | Optional | block, containing: | ||||
Integer | Required, many | block, containing: | ||||
Required | modifier_rule fields | |||||
localization_key | Required | Inline localisation key |
field | description | required | rhs |
---|---|---|---|
Required | trigger fields |
field | description | required | rhs | ||
---|---|---|---|---|---|
id | Required | Localisation key | |||
text | Optional | Localisation key | |||
icon | Recommended | <spriteType> | |||
cost | Required | Float | |||
x | Required | Integer | |||
y | Required | Integer | |||
relative_position_id | Optional | <shared_focus> | |||
relative_position_id | Optional | <focus> | |||
dynamic | Used for focuses that can change title/desc. | Optional | yes | ||
dynamic | Optional | no | |||
available_if_capitulated | Optional | yes | |||
available_if_capitulated | Optional | no | |||
cancel_if_invalid | Optional | yes | |||
cancel_if_invalid | Optional | no | |||
continue_if_invalid | Optional | yes | |||
continue_if_invalid | Optional | no | |||
cancelable | Optional | no | |||
cancelable | Optional | yes | |||
bypass_if_unavailable | Optional | yes | |||
bypass_if_unavailable | Optional | no | |||
will_lead_to_war_with | Optional, many | Scope object in [Country] scope | |||
will_lead_to_war_with | Optional, many | ||||
offset | Optional, many | block, containing: | |||
x | Optional | Integer | |||
y | Optional | Integer | |||
trigger | Optional | trigger block | |||
prerequisite | Optional, many | block, containing: | |||
focus | Optional, many | <shared_focus> | |||
focus | Optional, many | <focus> | |||
mutually_exclusive | Optional, many | block, containing: | |||
focus | Optional, many | <shared_focus> | |||
focus | Optional, many | <focus> | |||
bypass | Optional | trigger block | |||
allow_branch | Optional | trigger block | |||
available | Optional | trigger block | |||
cancel | Optional | trigger block | |||
historical_ai | Optional | trigger block | |||
select_effect | Optional | effect block | |||
complete_tooltip | Optional | effect block | |||
completion_reward | Recommended | effect block | |||
ai_will_do | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
search_filters | Optional | block, containing: | |||
Scalar, a "focus_filter" value | Recommended, many |
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Required | Localisation key | |||
type | Required | ship | |||
prefix | Optional | Scalar | |||
fallback_name | Optional | Scalar | |||
for_countries | Optional | block, containing: | |||
Recommended, many | |||||
can_use | Optional | trigger block | |||
ship_types | Optional | block, containing: | |||
<equipment> of subtype naval_equip | Recommended, many | ||||
<unit> of subtype ship_unit | Recommended, many | ||||
battle_cruiser, battleship, capital_ship, carrier, convoy, destroyer, heavy_cruiser, light_cruiser, screen_ship, submarine | Recommended, many | ||||
unique | Optional | block, containing: | |||
Scalar | Recommended, many | ||||
unordered | Optional | block, containing: | |||
Integer | Recommended, many | block, containing: | |||
Scalar | Required | ||||
ordered | Optional | block, containing: | |||
Integer | Recommended, many | block, containing: | |||
Scalar | Required |
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs |
---|
field | description | required | rhs | ||
---|---|---|---|---|---|
name | Required | Scalar | |||
effectFile | Optional | Scalar | |||
noOfFrames | Optional | Integer | |||
animation_rate_fps | Optional | Float | |||
looping | Optional | yes/no | |||
play_on_show | Optional | yes/no | |||
loadType | Optional | Scalar | |||
transparencecheck | Optional | yes/no | |||
legacy_lazy_load | Optional | yes/no | |||
pause_on_loop | Optional | Float | |||
alwaystransparent | Optional | yes/no | |||
animation | Optional, many | block, containing: | |||
animationmaskfile | Optional | Scalar | |||
animationtexturefile | Optional | Scalar | |||
animationrotation | Optional | Float | |||
animationlooping | Optional | yes/no | |||
animationtime | Optional | Float | |||
animationdelay | Optional | Float | |||
animationtype | Optional | Scalar | |||
animationblendmode | Optional | Scalar | |||
animationrotationoffset | Optional | block, containing: | |||
x | Required | Float | |||
y | Required | Float | |||
animationtexturescale | Optional | block, containing: | |||
x | Required | Float | |||
y | Required | Float | |||
animationframes | Optional | block, containing: | |||
Integer | Required, many | ||||
textureFile of subtype spriteType | Required | Filepath | |||
textureFile of subtype frameAnimatedSpriteType | Required | Filepath | |||
textureFile of subtype corneredTileSpriteType | Required | Filepath | |||
tilingCenter of subtype corneredTileSpriteType | Optional | yes/no | |||
borderSize of subtype corneredTileSpriteType | Required | block, containing: | |||
x of subtype corneredTileSpriteType | Required | Integer | |||
y of subtype corneredTileSpriteType | Required | Integer | |||
size of subtype corneredTileSpriteType | Required | block, containing: | |||
x of subtype corneredTileSpriteType | Required | Integer | |||
y of subtype corneredTileSpriteType | Required | Integer | |||
textureFile1 of subtype maskedShieldType | Required | Scalar | |||
textureFile2 of subtype maskedShieldType | Required | Scalar | |||
textureFile1 of subtype progressbartype | Required | Scalar | |||
textureFile2 of subtype progressbartype | Required | Scalar | |||
horizontal of subtype progressbartype | Required | yes/no | |||
steps of subtype progressbartype | Required | Integer | |||
size of subtype progressbartype | Required | block, containing: | |||
x of subtype progressbartype | Required | Integer | |||
y of subtype progressbartype | Required | Integer | |||
color of subtype progressbartype | Required | block, containing: | |||
Float | Required min 3, up to 3 | ||||
colortwo of subtype progressbartype | Required | block, containing: | |||
Float | Required min 3, up to 3 |
field | description | required | rhs | ||||
---|---|---|---|---|---|---|---|
id | Required | Integer | |||||
name | Required | Localisation key | |||||
manpower | Required | Integer above 0 | |||||
buildings_max_level_factor | Optional | Float | |||||
state_category | Required | <state_category> | |||||
impassable | Optional | yes | |||||
resources | Optional | block, containing: | |||||
<resource> | Recommended, many | Float | |||||
history | Required | block, containing: | |||||
owner | Required | ||||||
controller | Optional | ||||||
Required | effect fields | ||||||
victory_points | Optional, many | block, containing: | |||||
Required min 2, up to 2 | |||||||
buildings | Optional | block, containing: | |||||
<building> | Optional, many | Integer between 0 and 20 | |||||
Optional, many | block, containing: | ||||||
<building> | Optional, many | Integer between 0 and 20 | |||||
Date with YYYY.MM.dd format, starting from 1.1.1 | Optional, many | block, containing: | |||||
owner | Optional | ||||||
controller | Optional | ||||||
Required | effect fields | ||||||
victory_points | Optional, many | block, containing: | |||||
Required min 2, up to 2 | |||||||
buildings | Optional | block, containing: | |||||
<building> | Optional, many | Integer between 0 and 20 | |||||
Optional, many | block, containing: | ||||||
<building> | Optional, many | Integer between 0 and 20 | |||||
provinces | Required | block, containing: | |||||
Recommended, many |
field | description | required | rhs | |
---|---|---|---|---|
local_building_slots | Required | Integer | ||
color | Required | block, containing: | ||
Integer | Required min 3, up to 3 |
field | description | required | rhs |
---|---|---|
valid_relation_trigger | Required | block, containing: |
field | description | required | rhs | |
---|---|---|---|---|
Required | modifier fields | |||
Required | unit_stat fields | |||
Required | air_stat fields | |||
Required | naval_stat fields | |||
valid_relation_trigger of subtype relation_modifier | Required | trigger block |
field | description | required | rhs | |||
---|---|---|---|---|---|---|
id | Required | Integer | ||||
name | Required | Localisation key | ||||
naval_terrain | Optional | <terrain> of subtype naval_terrain | ||||
provinces | Required | block, containing: | ||||
Recommended, many | ||||||
static_modifiers | Optional | block, containing: | ||||
<static_modifier> | Required, many | always | ||||
weather | Black magic. | Required | block, containing: | |||
period | Periods of weather, months in vanilla. | Optional, many | block, containing: | |||
no_phenomenon, rain_light, rain_heavy, snow, blizzard, arctic_water, mud, sandstorm | Required min 7, up to 8 | Float above 0 | ||||
min_snow_level | Required | Float | ||||
between | Required | block, containing: | ||||
Float between 0.0 and 30.9 | Day.month (both start at 0) | Required min 2, up to 2 | ||||
temperature | Required | block, containing: | ||||
Float | Required min 2, up to 2 | |||||
temperature_day_night | Required | block, containing: | ||||
Float | Required min 2, up to 2 |
field | description | required | rhs | |
---|---|---|---|---|
id | Required | Integer | ||
name | Required | Localisation key | ||
value | Required | Integer | ||
states | Required | block, containing: | ||
<state> | Required, many |
field | description | required | rhs | |
---|---|---|---|---|
id | Required | Scalar | ||
name | Required | Localisation key | ||
desc | Required | Localisation key | ||
picture | Required | <spriteType> | ||
research_sharing_per_country_bonus | Required | Float | ||
is_faction_sharing | Optional | yes | ||
categories | Categories for tech. | Optional | block, containing: | |
Recommended, many | ||||
available | Optional | trigger block |
field | description | required | rhs |
---|---|---|
doctrine | Required | yes |
field | description | required | rhs | ||
---|---|---|---|---|---|
doctrine_name | Optional | Localisation key | |||
show_equipment_icon | Optional | yes/no | |||
desc | Optional | Localisation key | |||
xp_research_type | Optional | army, navy, air | |||
xp_research_cost | Optional | Integer | |||
xp_research_bonus | Optional | Float | |||
enable_tactic | Optional, many | <combat_tactic> | |||
research_cost | Multiplier to base tech cost in defines.lua | Required | Float | ||
start_year | When ahead of time penalty reaches 0. | Optional | Integer | ||
sub_tech_index | Optional | Integer | |||
doctrine | Is a doctrine. | Optional | yes/no | ||
show_effect_as_desc | Optional | yes/no | |||
nuclear_production | Optional | Float | |||
Required | modifier fields | ||||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
allow | Hides technology unless trigger is true. | Optional | trigger block | ||
allow_branch | Hides technology and children unless trigger is true. | Optional | trigger block | ||
xor | Make technology exclusive with techs named. | Optional | block, containing: | ||
<technology> | Recommended, many | ||||
enable_subunits | Enables listed units. | Optional | block, containing: | ||
<unit> | Recommended, many | ||||
enable_equipments | Enables listed equipment. | Optional | block, containing: | ||
<equipment> | Recommended, many | ||||
enable_equipment_modules | Enables listed equipment modules. | Optional, many | block, containing: | ||
<module> | Recommended, many | ||||
enable_building | Sets max level of named building. | Optional | block, containing: | ||
building | Required | <building> | |||
level | Required | Integer | |||
sub_technologies | Technologies directly dependent on this tech. | Optional | block, containing: | ||
<technology> | Recommended, up to 3 | ||||
path | Techs following this. | Optional, many | block, containing: | ||
leads_to_tech | Optional | <technology> | |||
research_cost_coeff | Required | Float | |||
dependencies | Optional | block, containing: | |||
<technology> | Recommended, many | Integer | |||
folder | Which folder(s) tech appears in. | Optional, many | block, containing: | ||
name | Required | ||||
position | Required | block, containing: | |||
x | Required | Float | |||
y | Required | Float | |||
ai_will_do | AI weights for research. | Optional | block, containing: | ||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
ai_research_weights | Modifies AI willingness for categories. | Optional | block, containing: | ||
defensive, offensive, carrier, battleship, cruiser | Optional, many | Float | |||
Optional, many | Float | ||||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, cavalry, mechanized, armor, fighter, cas, naval_bomber, interceptor, suicide, tactical_bomber, strategic_bomber, air_transport, missile, submarine, screen_ship, capital_ship, carrier, convoy, paratroopers, scout_plane | Optional, many | Float | |||
<resource> | Optional, many | Float | |||
categories | Categories for tech. | Optional | block, containing: | ||
Recommended, many | |||||
Optional, many | block, containing: | ||||
Optional, many | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
<unit> | Optional, many | block, containing: | |||
Optional, many | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
need | Optional, many | block, containing: | |||
<equipment> | Required, many | Integer | |||
modifier | Optional | modifier block | |||
on_research_complete_limit | Optional | trigger block | |||
on_research_complete | Optional | effect block |
field | description | required | rhs |
---|---|---|
movement_cost | Optional, up to 0 | Float |
field | description | required | rhs |
---|---|---|
is_water | Required | yes |
field | description | required | rhs |
---|---|---|
naval_terrain | Required | yes |
field | description | required | rhs |
---|---|---|
is_water | Optional | no |
field | description | required | rhs | ||
---|---|---|---|---|---|
color | Required | block, containing: | |||
Integer | Required min 3, up to 3 | ||||
movement_cost of subtype unknown | Required | Float | |||
sound_type of subtype unknown | Required | Scalar | |||
naval_terrain of subtype water | Optional | yes | |||
is_water of subtype water | Required | yes | |||
Required | unit_stat fields | ||||
<unit> of subtype ship_unit | Optional, many | block, containing: | |||
Required | naval_stat fields | ||||
units of subtype water | Optional | unit_stat block | |||
naval_terrain of subtype naval_terrain | Required | yes | |||
is_water of subtype naval_terrain | Required | yes | |||
Required | unit_stat fields | ||||
<unit> of subtype ship_unit | Optional, many | block, containing: | |||
Required | naval_stat fields | ||||
units of subtype naval_terrain | Optional | unit_stat block | |||
combat_width, attrition, enemy_army_bonus_air_superiority_factor, sickness_chance | Optional, many | Float | |||
ai_terrain_importance_factor of subtype land | Required | Float | |||
match_value of subtype land | Required | Float | |||
units of subtype land | Optional | unit_stat block |
field | description | required | rhs |
---|---|---|---|
type | Required | block, containing: | |
air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | Required, up to 10 |
field | description | required | rhs |
---|---|---|
map_icon_category | Required | ship, transport, uboat |
field | description | required | rhs |
---|---|---|
group | Required | support |
field | description | required | rhs |
---|---|---|
map_icon_category | Required | infantry, armored, other |
field | description | required | rhs |
---|
field | description | required | rhs | ||
---|---|---|---|---|---|
sprite | 3D map asset. | Required | Scalar | ||
priority | Weighting for mixed divisions. | Required | Integer | ||
active | Whether needs tech to create. | Required | yes/no | ||
Required | unit_stat fields | ||||
own_equipment_fuel_consumption_mult | Optional | Float | |||
ai_priority of subtype land_unit | Required | Integer | |||
map_icon_category of subtype land_unit | map icon | Required | infantry, armored, other | ||
cavalry of subtype land_unit | Cavalry | Optional | yes/no | ||
special_forces of subtype land_unit | counts against special forces limit | Optional | yes/no | ||
marines of subtype land_unit | Marines ooh-rah | Optional | yes/no | ||
mountaineers of subtype land_unit | Mountaineers | Optional | yes/no | ||
can_be_parachuted of subtype land_unit | Paratroopers | Optional | yes/no | ||
transport of subtype land_unit | use this equipment for speed | Optional | <equipment> | ||
group of subtype land_unit | division designer group | Optional | Inline localisation key | ||
need of subtype land_unit | Required | block, containing: | |||
<equipment> | Recommended, many | Integer | |||
type of subtype land_unit | unit type | Required | block, containing: | ||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, mechanized, armor | Recommended, many | ||||
ai_priority of subtype support_unit | Required | Integer | |||
map_icon_category of subtype support_unit | map icon | Required | infantry, armored, other | ||
cavalry of subtype support_unit | Cavalry. | Optional | yes/no | ||
special_forces of subtype support_unit | Counts against special forces limit. | Optional | yes/no | ||
marines of subtype support_unit | Marines ooh-rah. | Optional | yes/no | ||
mountaineers of subtype support_unit | Mountaineers. | Optional | yes/no | ||
can_be_parachuted of subtype support_unit | Paratroopers. | Optional | yes/no | ||
transport of subtype support_unit | Use this equipment for speed. | Optional | <equipment> | ||
group of subtype support_unit | Division designer group. | Optional | Inline localisation key | ||
affects_speed of subtype support_unit | Optional | no | |||
same_support_type of subtype support_unit | Blocks adding same unit types to a template. | Optional | <unit> of subtype support_unit | ||
need of subtype support_unit | Required | block, containing: | |||
<equipment> | Recommended, many | Integer | |||
type of subtype support_unit | Unit type. | Required | block, containing: | ||
infantry, support, artillery, rocket, anti_tank, anti_air, motorized, mechanized, armor | Recommended, many | ||||
map_icon_category of subtype ship_unit | Map icon. | Required | ship, transport, uboat | ||
Required | naval_stat fields | ||||
critical_part_damage_chance_mult of subtype ship_unit | Required | Float | |||
hit_profile_mult of subtype ship_unit | Required | Float | |||
need of subtype ship_unit | Optional | block, containing: | |||
<equipment> | Recommended, many | Integer | |||
need_equipment of subtype ship_unit | Optional | block, containing: | |||
<equipment> | Recommended, many | Integer | |||
need_equipment_modules of subtype ship_unit | Optional | block, containing: | |||
any of subtype ship_unit | Required | block, containing: | |||
<module> | Required, many | Integer | |||
type of subtype ship_unit | Required | block, containing: | |||
battle_cruiser, battleship, capital_ship, carrier, convoy, destroyer, heavy_cruiser, light_cruiser, screen_ship, submarine | Recommended, many | ||||
critical_parts of subtype ship_unit | Required | block, containing: | |||
<critical_part> | Recommended, many | ||||
Required | air_stat fields | ||||
need of subtype air_unit | Required | block, containing: | |||
<equipment> | Recommended, many | Integer | |||
type of subtype air_unit | Required | block, containing: | |||
air_transport, cas, fighter, interceptor, missile, naval_bomber, scout_plane, strategic_bomber, suicide, tactical_bomber | Recommended, many | ||||
test of subtype catch | Required | Integer | |||
essential | Optional | block, containing: | |||
<equipment> | Recommended, many | ||||
categories | Optional | block, containing: | |||
Recommended, many |
field | description | required | rhs |
---|---|---|
type | Required | corps_commander |
field | description | required | rhs |
---|---|---|
type | Required | field_marshal |
field | description | required | rhs |
---|---|---|
type | Required | navy |
field | description | required | rhs |
---|---|---|
type | Required | land |
field | description | required | rhs |
---|---|---|
trait_type | Required | assignable_trait |
trait_type | Required | assignable_terrain_trait |
field | description | required | rhs |
---|---|---|
gain_xp | Required | block, containing: |
field | description | required | rhs |
---|---|---|
gain_xp_leader | Required | block, containing: |
field | description | required | rhs | ||
---|---|---|---|---|---|
type | Required | all, corps_commander, field_marshal, navy, land, operative | |||
trait_type | Optional | assignable_terrain_trait, basic_terrain_trait, personality_trait, assignable_trait, status_trait, exile, basic_trait | |||
custom_effect_tooltip | Optional | Localisation key | |||
override_effect_tooltip | Optional | Localisation key | |||
enable_ability | Optional, up to 5 | <ability> | |||
type | Required | block, containing: | |||
all, corps_commander, field_marshal, navy, land, operative | Recommended, many | ||||
attack_skill, defense_skill, logistics_skill, planning_skill | Direct bonus to this skill. | Optional, up to 4 | Integer | ||
attack_skill_factor, defense_skill_factor, logistics_skill_factor, planning_skill_factor | Bonus for gaining this skill. | Optional, up to 4 | Integer | ||
gain_xp_on_spotting of subtype naval_commander | Optional | Integer | |||
attack_skill_factor, coordination_skill_factor, maneuvering_skill_factor, planning_skill_factor | Bonus for gaining this skill. | Optional, up to 4 | Integer | ||
sub_unit_modifiers of subtype naval_commander | Optional | block, containing: | |||
<unit> | Required, many | block, containing: | |||
Required | unit_stat fields | ||||
Required | naval_stat fields | ||||
Required | air_stat fields | ||||
cost of subtype gainable_trait | Required | Integer | |||
gui_row of subtype gainable_trait | Required | Integer | |||
gui_column of subtype gainable_trait | Optional | Integer | |||
custom_gain_xp_trigger_tooltip of subtype gainable_trait | Optional | Localisation key | |||
gain_xp of subtype gainable_trait | Required | trigger block, with scopes ROOT: Combat, FROM: Combat | |||
gain_xp_leader of subtype gainable_trait | Required | trigger block, with scopes ROOT: Unit Leader, FROM: Country | |||
gui_row of subtype assignable_trait | Required | Integer | |||
gui_column of subtype assignable_trait | Optional | Integer | |||
parent of subtype assignable_trait | Optional, up to 5 | <unit_leader_trait> | |||
mutually_exclusive of subtype assignable_trait | Optional, up to 5 | <unit_leader_trait> | |||
custom_prerequisite_tooltip of subtype assignable_trait | Optional | Localisation key | |||
num_parents_needed of subtype assignable_trait | Optional | Integer | |||
prerequisites of subtype assignable_trait | Optional | trigger block | |||
field_marshal_modifier | Optional | block, containing: | |||
Required | modifier fields | ||||
Required | unit_leader_modifier fields | ||||
corps_commander_modifier | Optional | block, containing: | |||
Required | modifier fields | ||||
Required | unit_leader_modifier fields | ||||
allowed | Optional | trigger block | |||
modifier | Optional | block, containing: | |||
Required | modifier fields | ||||
Required | unit_leader_modifier fields | ||||
non_shared_modifier | Optional | block, containing: | |||
Required | modifier fields | ||||
Required | unit_leader_modifier fields | ||||
new_commander_weight | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields | ||||
trait_xp_factor | Optional | block, containing: | |||
<unit_leader_trait> | Required | Float | |||
ai_will_do | Optional | block, containing: | |||
base, factor | Optional | Float | |||
Required | modifier_rule fields |
field | description | required | rhs |
---|---|---|
cost | Required | naval |
field | description | required | rhs |
---|---|---|
cost | Required | air |
field | description | required | rhs |
---|---|---|
cost | Required | land |
field | description | required | rhs |
---|---|---|---|
max_level | Required | Integer | |
Required | unit_stat fields | ||
cost of subtype naval_upgrade | Required | naval | |
Required | naval_stat fields | ||
cost of subtype air_upgrade | Required | air | |
Required | air_stat fields | ||
cost of subtype land_upgrade | Required | land |
field | description | required | rhs | |
---|---|---|---|---|
war_name | Optional | Localisation key | ||
generate_base_cost | Optional | Integer | ||
generate_per_state_cost | Optional | Integer | ||
take_states_limit | Optional | Integer | ||
take_states_cost | Optional | Integer | ||
puppet_cost | Optional | Integer | ||
annex_threat_factor | Optional | Float | ||
annex_cost | Optional | Integer | ||
force_government_cost | Optional | Integer | ||
expire | Optional | Integer | ||
threat | Optional | Float | ||
allowed | Optional | trigger block | ||
available | Optional | trigger block | ||
take_states | Optional | trigger block, with scopes ROOT: Country | ||
puppet | Optional | trigger block | ||
liberate | Optional | trigger block |