User:Dayshine

From Stellaris Wiki
Jump to navigation Jump to search

common

achievement

path: common

Edit this type

field description required rhs
id Required Integer
possible Required trigger block, with scopes ROOT: Any
happened Required trigger block, with scopes ROOT: Any

agenda

path: common/agendas

Edit this type

field description required rhs
weight_modifier Required block, containing:
factor, weight Required Float
Required modifier_rule fields
modifier Required modifier block, with scopes ROOT: Any

ai_budget

path: common/ai_budget

Edit this type

field description required rhs
resource Required <resource>
type Required expenditure
type Required upkeep
category Required <economic_category>
potential Required trigger block
fraction Optional block, containing:
weight, base Required Float
Required modifier_rule fields
static_max Optional block, containing:
base Required Integer
Required modifier_rule fields
static_min Optional block, containing:
base Required Integer
Required modifier_rule fields

ai_personality

path: common/personalities

Edit this type

field description required rhs
aggressiveness Required Float
trade_willingness Required Float
bravery Required Float
combat_bravery Optional Float
military_spending Optional Float
colony_spending Optional Float
federation_acceptance Optional Integer
nap_acceptance Optional Integer
commercial_pact_acceptance Optional Integer
research_agreement_acceptance Optional Integer
defensive_pact_acceptance Optional Integer
migration_pact_acceptance Optional Integer
advanced_start_chance Optional Integer
weapon_preferences Optional
armor_ratio Optional Float
shields_ratio Optional Float
hull_ratio Optional Float
threat_modifier Required Float
threat_others_modifier Optional Float
friction_modifier Required Float
claims_modifier Optional Float
behaviour Required block, containing:
conqueror Optional yes/no
subjugator Optional yes/no
liberator Optional yes/no
opportunist Optional yes/no
slaver Optional yes/no
caste_system Optional yes/no
uplifter Optional yes/no
purger Optional yes/no
displacer Optional yes/no
infiltrator Optional yes/no
dominator Optional yes/no
robot_exploiter Optional yes/no
robot_liberator Optional yes/no
propagator Optional yes/no
multispecies Optional yes/no
crisis_fighter Optional yes/no
wants_tribute Optional yes/no
decadent Optional yes/no
isolationist Optional yes/no
attack_neutrals Optional yes/no
holy_planets Optional yes/no
demands_clear_borders Optional yes/no
crisis_leader special for awakened fallen empires Optional yes/no
custodian special for awakened machine fallen empires, prevents colonization & locks attitude Optional yes/no
enigmatic special for machine fallen empires Optional yes/no
limited prevents certain AI behaviours Optional yes/no
berserker special for awakened machine fallen empires, prevents colonization & locks attitude Optional yes/no
allow Required trigger block
weight_modifier Required block, containing:
weight Required Float
Required modifier_rule fields

ai_should_restrict_system

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

alert

path: common

Edit this type

field description required rhs
Required alert_category fields
sound Required <sound_effect>

alert_icon

path: common

Edit this type

field description required rhs
Scalar Optional, many <sprite>

ambient_object

path: common/ambient_objects

Edit this type

field description required rhs
entity Required <model_entity>
selectable Required yes/no
show_name Required yes/no
name Cannot use localisation_synced! The Vanilla case NAME_Syzygy_Remains is a bug. Required Localisation key
name Required Scalar
description Required Localisation key
tooltip Required Localisation key

anomaly_category

path: common/anomalies

Edit this type

field description required rhs
should_ai_use Yes makes the anomaly exclusively used by the AI, no by the player. Default: no Optional yes/no
should_ai_and_humans_use If set to yes, this allows both the player and the AI to use the anomaly Optional yes/no
desc Optional. Will use <anomaly_category>_description if not specified. Optional Localisation key
picture Picture displayed in category window Optional <sprite>
level Anomaly level, 1 to 10 Required Integer between 1 and 10
null_spawn_chance Default 0. 0.0 - 1.0 (0 to 100%) chance category will NOT spawn even if it is picked by the anomaly die roll. Used to make categories for unusual objects (e.g. black holes) actually rare. Optional Float
max_once default NO, if true will spawn category only once per empire Optional yes/no
max_once_global default NO, if true will spawn category only once per game Optional yes/no
on_success Picks anomaly event to fire; similar to random_list Required <event> of subtype ship
desc Optional, many block, containing:
text Required Localisation key
trigger Scope: planet, from = ship Required trigger block
spawn_chance Chance for this anomaly category to spawn, relative to other valid categories. Default: base = 0. Scope: planet, from = ship Required block, containing:
base Optional Float
Optional, many modifier_rule_add_factor fields
on_spawn Executes immediately when anomaly category is spawned. Scopes are this/root: planet, from: ship. NOTE: on_spawn effects will not run if category is spawned through console Optional effect block, with scopes ROOT: Any, FROM: Any
on_success Required block, containing:
Integer Optional, up to 100 <event> of subtype ship
Integer Optional, up to 100 block, containing:
max_once Individual outcomes default to max_once = yes Optional yes/no
max_once_global Individual outcomes default to max_once_global = no Optional yes/no
Required modifier_rule_add_factor fields
anomaly_event Required <event> of subtype ship

archaeological_site_type

path: common/archaeological_site_types

Edit this type

field description required rhs
picture Optional <sprite>
desc Required Localisation key
max_instances Optional Integer above 1
weight Optional Integer
stages Required Integer above 1
desc Required block, containing:
text Required Localisation key
trigger Required trigger block
weight Optional block, containing:
base Required Float
Required modifier_rule fields
potential Optional trigger block, with scopes ROOT: Any, FROM: Any
allow Required trigger block, with scopes ROOT: Any, FROM: Any
visible Required trigger block, with scopes ROOT: Any, FROM: Any
stage Optional, many block, containing:
difficulty Required Integer above 0
icon Required <sprite>
event Required <event>
difficulty Required block, containing:
min Required Integer above 0
max Required Integer above 0
on_roll_failed Required effect block, with scopes ROOT: Any, FROM: Any
on_create Optional effect block, with scopes ROOT: Any
on_visible Optional effect block, with scopes ROOT: Any, FROM: Any

are_rebels_hostile

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

army

path: common/armies

Edit this type

field description required rhs
defensive Optional yes/no
is_building_spawned Optional yes/no
is_pop_spawned Optional yes/no
damage Optional Float
health Optional Float
has_morale Optional yes/no
morale Optional Float
morale_damage Optional Float
collateral_damage Optional Float
war_exhaustion Optional Float
icon_frame Optional Integer
has_species Optional yes/no
time Optional Integer
pop_limited Optional yes/no
rebel Optional yes/no
occupation Optional yes/no
resources Optional block, containing:
category Required armies
Required economic_template fields
prerequisites Optional block, containing:
<technology> Required
show_tech_unlock_if Optional trigger block, with scopes ROOT: Any
potential Optional trigger block
allow Optional trigger block
on_queued Optional effect block
on_unqueued Optional effect block

artifact_action

path: common/artifact_action

Edit this type

field description required rhs
resources Optional block, containing:
category Required artifact_actions
Required economic_template fields
ai_weight Optional block, containing:
factor, weight Required Float
Required modifier_rule fields
potential Required trigger block
effect Optional effect block
allow Optional trigger block

ascension_perk

path: common/ascension_perks

Edit this type

field description required rhs
potential Optional trigger block, with scopes ROOT: Any
possible Optional trigger block, with scopes ROOT: Any
on_enabled Optional effect block, with scopes ROOT: Any
modifier Optional block, containing:
description Optional Localisation key
Required modifier fields
description_parameters Optional block, containing:
Scalar Any value can go here to be used in localisation Optional, many Float
ai_weight Optional block, containing:
factor Required Float
Required modifier_rule fields

asteroid_belt_type

path: common/asteroid_belts

Edit this type

field description required rhs
mesh Required, many Scalar
shader Optional Scalar

attitude

path: common/attitudes

Edit this type

field description required rhs
type Required Scalar
behaviour Required block, containing:
attack Optional yes/no
weaken Optional yes/no
alliance Optional yes/no
vassalize Optional yes/no
trade Optional yes/no
coexist Optional yes/no

authority

path: common/governments/authorities

Edit this type

field description required rhs
machine_empire Optional yes
icon Optional Filepath
has_heir Optional yes/no
election_type Optional none, oligarchic, democratic
election_term_years default = 0, hence required if defined to oligarchic or democratic Optional Integer
election_term_variance acts like random = int Optional Integer
re_election_allowed Optional yes/no
can_have_emergency_elections Optional yes/no
emergency_election_cost influence cost! Optional Integer
max_election_candidates default = -1, which equals limitless Optional Integer
can_reform Optional yes/no
has_agendas is tied to the agena files if = yes Optional yes/no
uses_mandates is tied to the mandate files if = yes Optional yes/no
has_factions Optional yes/no
valid_for_released_vassal Optional yes/no
localization_postfix Optional hive_mind, machine_intelligence
localization_postfix Optional Scalar
potential Optional block, containing:
text Optional Localisation key
always Optional yes/no
ethics Optional block, containing:
value Optional, many <ethos>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <ethos>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
country_type Optional block, containing:
value Optional <country_type>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <country_type>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
possible Optional block, containing:
text Optional Localisation key
always Optional yes/no
ethics Optional block, containing:
value Optional, many <ethos>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <ethos>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
country_type Optional block, containing:
value Optional <country_type>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <country_type>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
random_weight Optional block, containing:
base Optional Integer
Optional, many modifier_rule fields
traits Optional block, containing:
trait Optional, many <trait>
country_modifier Optional modifier block, with scopes ROOT: Any
playable Optional trigger block
tags Optional block, containing:
Localisation key Required, many

bombardment_stance

path: common/bombardment_stances

Edit this type

field description required rhs
icon_frame Required Integer
default Required yes/no
stop_when_armies_dead Required yes/no
abduct_pops Required yes/no
planet_damage Required Float
army_damage Required Float
min_pops_to_kill_pop Required Integer
trigger Required trigger block, with scopes ROOT: Any
kill_pop_chance Required block, containing:
base Required Float
Required modifier_rule fields
ai_weight Required block, containing:
weight Required Integer
Required modifier_rule fields

buildable_pop

path: common/unused

Edit this type

field description required rhs
species_class Optional <species_class>
species Optional founder_species
prerequisites Optional block, containing:
<technology> Required
show_tech_unlock_if Optional trigger block, with scopes ROOT: Any
cost Optional block, containing:
<resource> of subtype accumulative Optional, many Float
potential_build Optional trigger block, with scopes ROOT: Any
tile_potential Optional trigger block, with scopes ROOT: Any
allow Optional trigger block, with scopes ROOT: Any
species Optional block, containing:
name Required Localisation key
name_list Optional <name_list>
class Required <species_class>
portrait Required <portrait>
pops_auto_growth Required Float
pop_ethics Optional no
pop_ethics Optional random
pop_maintenance Required Float
pops_auto_upgrade_to Optional <buildable_pop>
pops_can_be_colonizers Optional yes/no
pops_can_migrate Optional yes/no
pops_can_reproduce Optional yes/no
pops_can_join_factions Optional yes/no
can_generate_leaders Optional yes/no
pops_can_be_slaves Optional yes/no
pops_have_happiness Optional yes/no
consumer_goods Optional yes/no
traits Required block, containing:
trait Optional, many <trait>
new_pop_resource_requirement Required block, containing:
type Optional <resource>
type Optional Scalar
value Required Float
pop_ethics Optional block, containing:
<ethos> Optional, many
portrait Optional block, containing:
<portrait> Optional, many trigger block

building

path: common/buildings

Edit this type

field description required rhs
base_buildtime Optional Integer
category Optional army, manufacturing, government, pop_assembly, resource, unity, research, trade, amenity
icon Optional gfx/interface/icons/buildings icon
icon Optional <building>
capital Optional yes/no
can_demolish Optional yes/no
can_be_ruined Optional yes/no
can_be_disabled Optional yes/no
can_build Optional yes/no
base_cap_amount Optional Integer
add_to_first_building_slot Optional yes
is_capped_by_modifier Optional yes/no
branch_office_building Optional yes/no
planetary_ftl_inhibitor Optional yes/no
Required triggered_planet_modifier_direct fields
Required triggered_desc fields
allow Optional trigger block
on_queued Optional effect block
on_unqueued Optional effect block
on_built Optional effect block
on_destroy Optional effect block
potential Optional trigger block
destroy_trigger Optional trigger block
show_tech_unlock_if Optional trigger block, with scopes ROOT: Any
resources Optional block, containing:
category Required planet_branch_office_buildings
category Required planet_buildings
category Required <economic_category>
Required economic_template fields
upgrades Optional block, containing:
<building> Optional
planet_modifier Optional modifier block, with scopes ROOT: Any
prerequisites Optional block, containing:
<technology> Optional, many
ai_weight Optional block, containing:
factor, weight Required Float
Required modifier_rule fields
ai_resource_production Optional block, containing:
<resource> Required, many Integer
trigger Required trigger block
convert_to Optional block, containing:
<building> Required, many
country_modifier Optional modifier block, with scopes ROOT: Any
army_modifier Optional modifier block, with scopes ROOT: Any

button_effect

path: common/button_effects

Edit this type

field description required rhs
potential Required trigger block, with scopes ROOT: Any, FROM: Any
allow Required trigger block, with scopes ROOT: Any, FROM: Any
effect Optional effect block, with scopes ROOT: Any, FROM: Any

bypass

path: common/bypass Description These can be added to megastructures Edit this type

field description required rhs
name the localization key used in triggers and effects for the type Required Localisation key
is_pathfind whether this type can be automatically used by the pathfinding (otherwise you'll have to right click the object containing it) Required yes/no
requires_exploration whether this bypass type needs to be 'seen' before it can be used Optional yes/no
uses_action whether this type needs an action or can be used automagically Required yes/no
always_active whether bypasses of these types are automatically active on creation, or if they need to be researched/upgraded to be activated Required yes/no
windup_time time spent "prepping" in the system before going through the bypass Required Integer
winddown_time time spent "recovering" in the system after going through the bypass Required Integer
ftl_multiplier 0 means instant Required Float
extends_sensors whether you can "see through" the bypass and extends your sensor range to the other side Optional yes/no
icon_frame Required Integer
remember_instances whether countries remember meeting a specific instance of that type, or if they just remember seeing the type in general Required yes/no
galactic_map_tooltip_header Required Localisation key
galactic_map_tooltip_desc Required Localisation key
connection_type Required any_other, one_to_one, scripted_connection
ftl_ship_effect what effect to spawn on the ship when they jump through the bypass Required Scalar
ftl_bypass_effect what effect to spawn on the bypass when a ship jumps through Required <model_entity>
bypass_effect Optional Scalar
animation_time number of days to wait for the jump animation to be played Required Integer
on_action FROMFROM = System jumped from Optional Scalar
prerequisites Optional block, containing:
<technology> Required, many
on_pre_explore an effect that is called just before the jump of a right click "explore" action of a fleet Optional effect block
country_can_use trigger to evaluate if a country can use bypasses of this type. this: country, from: (optional) system owner; default: { always = yes } Optional trigger block, with scopes ROOT: Any, FROM: Any
potential Optional trigger block
scripted_connection Required block, containing:
node defines endpoints that can only reach the "nexus" Required trigger block, with scopes ROOT: Any
nexus defines endpoint(s) that can reach all "nodes" (but not other nexuses) Required trigger block, with scopes ROOT: Any

can_add_claim

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_auto_migrate_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_be_hostile_towards

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_colonize_outside_borders

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_colonize_planet

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_colonize_with_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_declare_war

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_enter_system_by_jump

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_generate_army_from_planet

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_generate_army_from_species

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_generate_leader_from_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_generate_leader_from_species

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_generate_military_leader_from_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_get_claim_from_lost_system

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_have_piracy_risk

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_have_robot_pops

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_jump_drive

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_modify_species

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_orbital_bombard

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_planet_support_orbital_station

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_pop_procreate

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_purge_pop_manually

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_release_vassal

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_release_vassal_from_species

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_resettle_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_resettle_pop_planet

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_spawn_debris

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_spawn_occupation_armies

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_species_have_rights

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_starbase_repair_ships

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_stop_purge_pop_manually

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_subjugate_empires

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_take_hostile_actions

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_terraform_planet

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

can_vote_in_democratic_election

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

casus_belli

path: common/casus_belli

Edit this type

field description required rhs
show_notification optional (default = yes), flag to control whether this CB will generate a notification (to avoid duplicate notification when a claim CB is generated). Caligula's note: Always used in Vanilla (even when yes), so marked as obligatory unless someone knows better Required yes/no
show_in_diplomacy Optional yes/no
potential trigger to make some CBs invalid for certain types of countries; this = attacker (CB owner); default: { always = yes } Optional trigger block
is_valid trigger, evaluated daily to check if CB should be created or destroyed automatically, does not affect CBs granted via script; this = attacker (CB owner), from = defender (target country); default: { always = yes } Optional trigger block, with scopes ROOT: Any, FROM: Any
destroy_if trigger, evaluated daily to destroy CBs that have been granted via script ahead of expiration date; this = attacker (CB owner), from = defender (target country); default: { always = no } Optional trigger block, with scopes ROOT: Any, FROM: Any

civic

path: common/governments/civics

Edit this type

field description required rhs
icon Optional Filepath
pickable_at_start default: yes Optional yes/no
modification default: yes, set to no to prevent adding or removing this after creation of the empire Optional yes/no
preferred_planet_class_neighbor Optional no
description localisation of custom effects Optional Localisation key
can_build_ruler_ship default: no Optional yes/no
starting_colony Optional <planet_class>
habitability_preference Optional <planet_class>
preferred_planet_class_neighbor Optional yes/no
playable AND trigger, no scope; use this to prevent the civic from being selectable by the player (UI) Optional trigger block
potential requirements list, supports country_type, ethics, authority and civics. See ../readme_requirements.txt Optional block, containing:
text Optional Localisation key
always Optional yes/no
ethics Optional block, containing:
value Optional, many <ethos>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <ethos>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
country_type Optional block, containing:
value Optional <country_type>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <country_type>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
authority Optional block, containing:
value Optional <authority>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <authority>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <authority>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <authority>
civics Optional block, containing:
value Optional, up to 3 <civic>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <civic>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <civic>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <civic>
possible requirements list, supports country_type, ethics, authority and civics. See ../readme_requirements.txt Optional block, containing:
text Optional Localisation key
always Optional yes/no
ethics Optional block, containing:
value Optional, up to 3 <ethos>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <ethos>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <ethos>
country_type Optional block, containing:
value Optional <country_type>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <country_type>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <country_type>
authority Optional block, containing:
value Optional <authority>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <authority>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <authority>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <authority>
civics Optional block, containing:
value Optional, up to 3 <civic>
OR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <civic>
NOT Optional, many block, containing:
text Optional Localisation key
value Required <civic>
NOR Optional, many block, containing:
text Optional Localisation key
value Min 2, up to 99 <civic>
random_weight scriptable weight for randomizing a civic; required, else the civic will not get assigned randomly Optional block, containing:
base Optional Integer
Required modifier_rule fields
modifier modifier added to the country if the civic is selected and valid Optional modifier block, with scopes ROOT: Any
traits default: empty; trait set to enforce on the primary species. They cannot be removed, but more can be added if points/picks permit Optional block, containing:
trait Required, up to 5 <trait>
has_secondary_species default: none; if present, will enable secondary species customization in empire designer and will create secondary species & pops at galaxy generation time (see empire_init_create_capital_secondary_pops) Optional block, containing:
title Required Localisation key
traits Optional block, containing:
trait Required, up to 5 <trait>

colony_automation

path: common/colony_automation

Edit this type

field description required rhs
available Required trigger block
prio_districts Required block, containing:
<district> Optional, many
buildings Required block, containing:
Integer between 1 and 16 Required, up to 16 block, containing:
building Required, many <building>
available Required, many trigger block

colony_ship_rushed

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

colony_type

path: common/colony_type

Edit this type

field description required rhs
icon Required Integer
potential Required trigger block
planet_modifier Optional modifier block, with scopes ROOT: Any
weight_modifier Required block, containing:
base Optional Float
Required modifier_rule fields

component_set

path: common/component_sets

Edit this type

field description required rhs
required_component_set Optional yes/no
key Required Scalar
icon Optional Scalar
icon_frame Optional Scalar
key Required Localisation key
icon Required <sprite>
icon_frame Required Integer

component_template

path: common/component_templates

Edit this type

field description required rhs
key Required Scalar
icon Required <sprite>
icon_frame Required Integer
component_set Optional <component_set>
hidden Optional yes/no
upgrades_to Optional <component_template>
should_ai_use Optional yes/no
prerequisites Optional block, containing:
<technology> Required, many
class_restriction Optional block, containing:
Required, many
tags Optional block, containing:
Optional, many
ai_tags Optional block, containing:
Optional, many
size_restriction Optional block, containing:
<ship_size> Optional, many
null Optional
valid_for_country Optional trigger block, with scopes ROOT: Any
ai_weight Optional block, containing:
factor, weight Optional Float
Required modifier_rule fields
power Required Integer
size Required extra_large, large, medium, small, aux
ftl Optional yes/no
ftl_inhibitor Optional yes/no
jumpdrive Optional yes/no
ship_behavior Optional <ship_behavior>
sensor_range Optional Integer
hyperlane_range Optional Integer
resources Required block, containing:
category Required ship_components
Required economic_template fields
modifier Optional modifier block, with scopes ROOT: Any
ship_modifier Optional modifier block, with scopes ROOT: Any
friendly_aura Optional block, containing:
name Required Scalar
system_wide Optional yes/no
radius Optional Integer
system_wide Optional yes/no
apply_on Optional ships, fleets
stack_info Required block, containing:
id Required Scalar
priority Required Integer
modifier Optional modifier block, with scopes ROOT: Any
graphics Optional block, containing:
area_effect Optional, many block, containing:
entity Required <model_entity>
dynamic_scale Required yes/no
ship_effect Optional, many block, containing:
entity Required <model_entity>
dynamic_scale Required yes/no
hostile_aura Optional block, containing:
name Required Scalar
system_wide Optional yes/no
radius Optional Integer
system_wide Optional yes/no
apply_on Optional ships, fleets
stack_info Required block, containing:
id Required Scalar
priority Required Integer
modifier Optional modifier block, with scopes ROOT: Any
graphics Optional block, containing:
area_effect Optional, many block, containing:
entity Required <model_entity>
dynamic_scale Required yes/no
ship_effect Optional, many block, containing:
entity Required <model_entity>
dynamic_scale Required yes/no
damage_per_day Optional block, containing:
accuracy Optional Float
shield_damage Optional Float
shield_penetration Optional Float
armor_penetration Optional Float
damage Optional block, containing:
min Required Integer
max Required Integer
size Required extra_large, large, medium, small, torpedo, point_defence, planet_killer, titanic
type Required instant, missile, point_defence, planet_killer
projectile_gfx Required Scalar
ai_tag_weight Optional Integer
entity Optional Scalar
power Optional Float
use_ship_kill_target Optional yes/no
firing_arc Optional Float
min_range Optional Float
prio_projectile Optional yes/no
static_rotation Optional yes/no
planet_destruction_gfx Optional Scalar
shield_damage Optional Float
shield_penetration Optional Float
hull_damage Optional Float
armor_damage Optional Float
armor_penetration Optional Float
total_fire_time Optional Float
range Optional Float
accuracy Optional Float
tracking Optional Float
missile_speed Optional Float
missile_evasion Optional Float
missile_health Optional Float
missile_armor Optional Float
missile_shield Optional Float
missile_retarget_range Optional Integer
color Optional block, containing:
Float Min 3, up to 4
resources Required block, containing:
category Required ship_components
Required economic_template_no_produce fields
target_weights Optional block, containing:
Scalar Required, many Integer
damage Optional block, containing:
min Required Float
max Required Float
windup Optional block, containing:
min Required Float
max Required Float
size Required extra_large, large, medium, small, torpedo, point_defence, planet_killer, titanic
entity Required Scalar
weapon_type Required instant, missile, point_defence, planet_killer
ship_behavior Required <ship_behavior>
projectile_gfx Required Scalar
power Required Float
count Required Float
regeneration_per_day Required Float
launch_time Required Float
cooldown Required Float
range Required Float
accuracy Required Float
tracking Required Float
health Required Float
armor Required Float
shield Required Float
evasion Required Float
speed Required Float
rotation_speed Required Float
acceleration Required Float
shield_damage Required Float
shield_penetration Required Float
armor_damage Required Float
armor_penetration Required Float
hull_damage Required Float
attack_range Optional Float
resources Required block, containing:
category Required ship_components
Required economic_template_no_produce fields
damage Required block, containing:
min Required Float
max Required Float

country_customization

path: common/country_customization

Edit this type

field description required rhs
colony_shelter Required block, containing:
default Required <building>
<planet_class> Optional, many <building>
graphical_culture_for_random_empire Optional block, containing:
<graphical_culture> Optional, many block, containing:
modifier Optional, many block, containing:
add Required Integer
species_portrait Required <portrait>
weight Optional block, containing:
base Optional Integer
Required modifier_rule_add fields

country_type

path: common/country_types

Edit this type

field description required rhs
has_pulse_events Optional yes/no
can_use_invalid_technology Optional yes/no
can_own_empty_planets Optional yes/no
playable Optional yes/no
randomize_ethos Optional yes/no
shuffle_pop_ethos Optional yes/no
sub_title Optional Localisation key
sub_title_desc Optional Localisation key
needs_survey Optional yes/no
has_complete_sensor Optional yes/no
has_capital Optional yes/no
enforces_borders Optional yes/no
can_planets_be_attacked Optional yes/no
colonizing_title Optional Localisation key
colonizing_desc Optional Localisation key
orbital_bombardment Optional yes/no
diplomatic_wars Optional yes/no
attack_unarmed_orbital_stations Optional yes/no
ship_disengagement Optional yes/no
army_disengagement Optional yes/no
min_navy_for_wars Optional Integer
min_assault_armies_for_wars Optional Integer
share_communications Optional yes/no
relations Optional yes/no
fallen_empire Optional yes/no
awakened_fallen_empire Optional yes/no
piracy_risk Optional yes/no
uses_special_buildables Optional yes/no
show_in_contacts_list Optional yes/no
minimalist_contacts_list_profile Optional yes/no
government Optional yes/no
custom_starbase Optional <ship_size> of subtype starbase
destroys_starbases Optional yes/no
can_have_their_comms_shared Optional yes/no
hide_names_if_no_communication Optional yes/no
mid_game_crisis Optional yes/no
end_game_crisis Optional yes/no
custom_diplomacy Optional yes/no
custom_opinion Optional yes/no
scaled_difficulty_bonuses Optional Float
destroys_starbases Optional yes/no
is_space_critter Optional yes/no
blocks_pirate Optional yes/no
home_system This is a star flag Optional Scalar
hub_system This is a star flag Optional Scalar
default_ships Optional yes/no
is_enclave Optional yes/no
counts_for_victory Optional yes/no
has_difficulty_bonuses Optional yes/no
pop_growth Optional yes/no
share_survey_data Optional yes/no
blocks_piracy Optional yes/no
is_the_shroud Optional yes/no
pre_communications_fleet_name Optional Localisation key
observable Optional yes/no
faction Optional block, containing:
neutral Optional yes/no
hostile Optional yes/no
follow Optional yes/no
auto_delete Optional yes/no
needs_border_access Optional yes/no
generate_borders Optional yes/no
needs_colony Optional yes/no
primitive Optional yes/no
primitive_age Optional Localisation key
hostile_when_attacked Optional yes/no
show_borders_in_us Optional yes/no
pirate Optional yes/no
space_creatures Optional yes/no
ai Required block, containing:
enabled Required yes/no
declare_war Optional yes/no
colonizer Optional yes/no
internal_policies Optional yes/no
modification Optional yes/no
construction Optional yes/no
tech Optional yes/no
avoid_enemies Optional yes/no
min_navy_for_wars Optional Float
min_assault_armies_for_wars Optional Integer
government Optional yes/no
traditions Optional yes/no
follow Optional yes/no
starbase_upgrade Optional yes/no
limited_construction Optional yes/no
can_use_market Optional yes/no
ship_data Optional block, containing:
<ship_size> Optional, many block, containing:
min Optional Integer
max Optional Integer
system_mult Optional Float
planet_mult Optional Float
fraction Optional, many block, containing:
base Optional Integer between 0 and 100
factor Optional Integer
modifier Optional, many block, containing:
add Optional Integer
factor Optional Float
Optional, many trigger fields
army_data Optional block, containing:
<army> Optional, many block, containing:
min Optional Integer
max Optional Integer
system_mult Optional Float
fraction Optional, many block, containing:
base Optional Integer between 0 and 100
factor Optional Integer
modifier Optional, many block, containing:
add Optional Integer
factor Optional Float
Optional, many trigger fields
modules Optional block, containing:
military_minister_module, foreign_minister_module, interior_minister_module, horde_interior_minister_module, horde_military_minister_module, space_monsters_module, anti_crisis_military_minister_module, invaders_military_minister_module, invaders_interior_minister_module, swarm_interior_minister_module, swarm_military_minister_module, machine_interior_minister_module, machine_military_minister_module, berserk_military_minister_module Optional, many
targets used with extradimensional invaders Optional block, containing:
<country_type> Optional, many
replace_scope Optional block, containing:
this Required country
root Required country
trade_routes_available Optional trigger block
modules Optional block, containing:
standard_event_module Optional block, containing:
standard_economy_module Optional block, containing:
standard_leader_module Optional block, containing:
standard_diplomacy_module Optional block, containing:
standard_technology_module Optional block, containing:
standard_pop_factions_module Optional block, containing:
standard_expansion_module Optional block, containing:
basic_technology_module Optional block, containing:
standard_species_rights_module Optional block, containing:
exclusive_diplomacy_module Optional block, containing:
contact_rule Optional always
contact_rule Optional script_only
can_receive Optional block, containing:
<diplomatic_action> Optional, many
can_send Optional block, containing:
<diplomatic_action> Optional, many
tiered_technology_module Optional block, containing:
tier Required Integer
rare Required yes/no
all_technology_module Optional block, containing:
standard_trade_routes_module Optional block, containing:
resources Optional block, containing:
category Required country_base
Required economic_template fields
branch_office_resources Optional block, containing:
category Required planet_branch_offices
Required economic_template fields

decision

path: common/decisions

Edit this type

field description required rhs
owned_planets_only Optional yes/no
enactment_time Optional Integer
sound Optional <sound>
icon Optional gfx/interface/icons/decisions icon
icon Optional <decision>
resources Optional block, containing:
category Required decisions
Required economic_template fields
potential Optional trigger block
allow Optional trigger block
effect Required effect block
ai_weight Required block, containing:
weight Required Float
Required modifier_rule fields
prerequisites Optional block, containing:
<technology> Required, many

deposit

path: common/deposits

Edit this type

field description required rhs
use_for_min_max_adjustments Optional yes/no
icon Optional gfx/interface/icons/deposits icon
Required triggered_planet_modifier fields
Required resources_template_optional fields
is_for_colonizeable Required yes/no
is_null this makes the deposit transparent, used by vanilla to designate an "empty" deposit. Required yes
time Optional Integer
use_weights_for_blocker_swap_types Optional yes/no
all_blocker_swap_types Optional yes
on_cleared Optional effect block
can_be_cleared Optional trigger block
blocker_swap_types Optional block, containing:
<deposit> Required, many
prerequisites Optional block, containing:
<technology> Optional, many
use_weights_for_terraforming_swap_types Optional yes/no
should_swap_deposit_on_terraforming Optional yes/no
category Required <deposit_category>
planet_modifier Required modifier block, with scopes ROOT: Any
terraforming_swap_types Optional block, containing:
<deposit> Required, many
category Optional deposit_cat_rare
potential Optional trigger block
drop_weight Required block, containing:
weight Required Float
Required modifier_rule fields
drop_weight Optional block, containing:
weight Required 0
station Required shipclass_mining_station
station Required shipclass_research_station
planet_modifier Optional modifier block, with scopes ROOT: Any

deposit_category

path: common/deposit_categories

Edit this type

field description required rhs
blocker Optional yes
important Optional yes

diplo_phrase

path: common/diplo_phrases

Edit this type

field description required rhs
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
select Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
consider Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
propose Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
accept Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
refuse Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
propose_vote Optional, many block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
propose Optional, many block, containing:
Localisation key Optional, many block, containing:
only_for_gift Optional yes
only_for_trade Optional yes
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
accept Optional, many block, containing:
Localisation key Optional, many block, containing:
only_for_gift Optional yes
only_for_trade Optional yes
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer
opinion Required block, containing:
Localisation key Optional, many block, containing:
trigger Required trigger block, with scopes ROOT: Any, FROM: Any
weight Optional block, containing:
weight Required Integer

diplomatic_action

path: common/diplomatic_actions

Edit this type

field description required rhs
is_listed decides if this diplomactic action type is listed in diplomatic view. Optional yes/no
requires_actor_peace will require the actor to be at peace for this action to pass the possible check. Optional yes/no
show_to_alliance_members Optional yes/no
requires_alliance_vote will require the alliance of the actor to vote for this action before passing it on to the recipient. Optional yes/no
requires_unanimous_vote Optional yes/no
requires_actor_independence true by default, will require the actor to be independent. Optional yes/no
requires_recipient_independence true by default, will require the recipient to be independent. Optional yes/no
requires_actor_federation_leader false by default, if the actor is in a federation, he has to be the leader of it. Optional yes/no
requires_recipient_federation_leader true by default, if the recipient is in a federation, he has to be the leader of it. Optional yes/no
requires_recipient_peace Optional yes/no
requires_recipient_alliance_vote Optional yes/no
show_decline_to_alliance_members false by default, will show your alliance members when you decline a proposal of this type. Optional yes/no
should_show_accept_message decides whether actor gets a response on acceptance (otherwise just on decline) Optional yes/no
should_show_auto_accept_message_recipient decides if the recipient gets a message showing the diplomatic action. Optional yes/no
should_open_auto_accept_message_recipient decides if the recipient automatically opens this message. Optional yes/no
should_show_auto_accept_message_actor decides if the actor gets a reply showing the diplomatic action. Optional yes/no
should_notify_all_communications decides if a message notification is sent to all countries who have communications with actor or recipient Optional yes/no
diplo_view_acceptance_icon Optional yes/no
auto_accepted Optional yes/no
AI_acceptance_base_value Optional Integer
prerequisites the technologies required to enable the player to send this diplomatic action. Optional block, containing:
<technology> Optional, up to 100
potential root is actor, from is recipient, decides if the action is shown Optional trigger block, with scopes ROOT: Any, FROM: Any
possible root is actor, from is recipient, decides if the action is still possible Optional trigger block, with scopes ROOT: Any, FROM: Any
proposable root is actor, from is recipient, decides if the action is proposable Optional trigger block, with scopes ROOT: Any, FROM: Any
on_accept Optional effect block, with scopes ROOT: Any, FROM: Any
on_decline Optional effect block, with scopes ROOT: Any, FROM: Any

district

path: common/districts

Edit this type

field description required rhs
base_buildtime Required Integer
min_for_deposits_on_planet Optional Integer
max_for_deposits_on_planet Optional Integer
icon Optional gfx/interface/icons/districts icon
is_capped_by_modifier Optional yes/no
can_demolish Optional yes/no
conversion_ratio Optional Float
Required triggered_planet_modifier fields
Required triggered_desc fields
show_on_uncolonized Required trigger block
potential Required trigger block
allow Optional trigger block
prerequisites Optional block, containing:
<technology> Optional, many
convert_to Optional block, containing:
<district> Required, many
resources Required block, containing:
category Required <economic_category>
Required economic_template fields
planet_modifier Optional modifier block, with scopes ROOT: Any
ai_weight Required block, containing:
weight Required Float
Required modifier_rule fields
ai_resource_production Optional block, containing:
<resource> Required Integer
trigger Required trigger block

economic_category

path: common/economic_categories

Edit this type

field description required rhs
parent Optional <economic_category>
use_for_ai_budget Optional yes
hidden Optional yes/no
icon Required Scalar
hidden Required yes
triggered_produces_modifier Optional, many block, containing:
key Required Localisation key
use_parent_icon Optional yes
trigger Optional trigger block
modifier_types Required block, containing:
mult, add Optional, up to 2
triggered_cost_modifier Optional, many block, containing:
key Required Localisation key
use_parent_icon Optional yes
trigger Optional trigger block
modifier_types Required block, containing:
mult, add Optional, up to 2
triggered_upkeep_modifier Optional, many block, containing:
key Required Scalar
trigger Optional trigger block
modifier_types Required block, containing:
mult, add Optional, up to 2
ai_use_parent_for_resources_upkeep Optional block, containing:
<resource> Required
generate_mult_modifiers Optional block, containing:
produces, cost, upkeep Required, up to 3
generate_add_modifiers Optional block, containing:
produces, cost, upkeep Required, up to 3

edict

path: common/edicts

Edit this type

field description required rhs
length Required Integer
is_ambition Required yes
resources Optional block, containing:
category Required <economic_category>
Required economic_template fields
modifier Optional modifier block, with scopes ROOT: Any
potential Optional trigger block
allow Optional trigger block
prerequisites Optional block, containing:
<technology> Optional, up to 100
show_tech_unlock_if Optional trigger block
ai_weight Optional block, containing:
weight Required Float
Required modifier_rule fields
effect Optional effect block

ethic_categories

path: common/ethics

Edit this type

field description required rhs
Scalar Optional, up to 100 block, containing:

ethos

path: common/ethics

Edit this type

field description required rhs
cost Required Integer
category Required Scalar
category_value Required Integer between 0 and 20
use_for_pops Yes by default Optional yes/no
category_opposite Optional yes/no
regular_variant Optional <ethos>
fanatic_variant Optional <ethos>
playable always = yes by default Optional trigger block
country_modifier Optional modifier block, with scopes ROOT: Any
tags Optional block, containing:
Localisation key Optional, many
random_weight Required block, containing:
value Required Integer
Required modifier_rule fields
pop_attraction_tag Optional, up to 100 block, containing:
desc Required Localisation key
trigger Scope = country Required trigger block, with scopes ROOT: Any
country_attraction Root = country Optional block, containing:
value Required Float
Required modifier_rule fields
pop_attraction Root = pop, from = planet Optional block, containing:
value Required Float
Required modifier_rule fields

event_chain

path: common/event_chains

Edit this type

field description required rhs
icon Optional Filepath
picture Optional <sprite>
counter Optional, many block, containing:
Scalar Optional, many block, containing:
max Optional Integer

fallen_empires

path: common/fallen_empires

Edit this type

field description required rhs
graphical_culture Required <graphical_culture>
initializer Required <solar_system_initializer> of subtype fallen_empire_initializer
possible Optional trigger block
create_country_effect Required effect block

fleet_uses_templates

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

global_ship_design

path: common/global_ship_designs

Edit this type

field description required rhs
name Optional Synchronised localisation key
ship_size Optional <ship_size>
hide_size Optional yes/no
is_event_design Optional yes/no
use_design_name Optional yes/no
country_type Optional <country_type>
is_special_buildable Optional yes/no
allow_buildable_trigger Optional <scripted_trigger>
required_component Optional, many <component_template> of subtype utility_component_template
section Optional, many block, containing:
template Optional <section_template>
slot Optional
component Optional, many block, containing:
slot Optional
slot Optional SMALL_UTILITY_1, SMALL_UTILITY_2, SMALL_UTILITY_3, SMALL_UTILITY_4, SMALL_UTILITY_5, SMALL_UTILITY_6, SMALL_UTILITY_7, SMALL_UTILITY_8, SMALL_UTILITY_9, SMALL_UTILITY_10, SMALL_UTILITY_11, SMALL_UTILITY_12, SMALL_UTILITY_13, SMALL_UTILITY_14, SMALL_UTILITY_15, SMALL_UTILITY_16, SMALL_UTILITY_17, SMALL_UTILITY_18, SMALL_UTILITY_19, SMALL_UTILITY_20, SMALL_UTILITY_21, SMALL_UTILITY_22, SMALL_UTILITY_23, SMALL_UTILITY_24, SMALL_UTILITY_25, SMALL_UTILITY_26, SMALL_UTILITY_27, SMALL_UTILITY_28, SMALL_UTILITY_29, SMALL_UTILITY_30, MEDIUM_UTILITY_1, MEDIUM_UTILITY_2, MEDIUM_UTILITY_3, MEDIUM_UTILITY_4, MEDIUM_UTILITY_5, MEDIUM_UTILITY_6, MEDIUM_UTILITY_7, MEDIUM_UTILITY_8, MEDIUM_UTILITY_9, MEDIUM_UTILITY_10, MEDIUM_UTILITY_11, MEDIUM_UTILITY_12, MEDIUM_UTILITY_13, MEDIUM_UTILITY_14, MEDIUM_UTILITY_15, MEDIUM_UTILITY_16, MEDIUM_UTILITY_17, MEDIUM_UTILITY_18, MEDIUM_UTILITY_19, MEDIUM_UTILITY_20, MEDIUM_UTILITY_21, MEDIUM_UTILITY_22, MEDIUM_UTILITY_23, MEDIUM_UTILITY_24, MEDIUM_UTILITY_25, MEDIUM_UTILITY_26, MEDIUM_UTILITY_27, MEDIUM_UTILITY_28, MEDIUM_UTILITY_29, MEDIUM_UTILITY_30, LARGE_UTILITY_1, LARGE_UTILITY_2, LARGE_UTILITY_3, LARGE_UTILITY_4, LARGE_UTILITY_5, LARGE_UTILITY_6, LARGE_UTILITY_7, LARGE_UTILITY_8, LARGE_UTILITY_9, LARGE_UTILITY_10, LARGE_UTILITY_11, LARGE_UTILITY_12, LARGE_UTILITY_13, LARGE_UTILITY_14, LARGE_UTILITY_15, LARGE_UTILITY_16, LARGE_UTILITY_17, LARGE_UTILITY_18, LARGE_UTILITY_19, LARGE_UTILITY_20, LARGE_UTILITY_21, LARGE_UTILITY_22, LARGE_UTILITY_23, LARGE_UTILITY_24, LARGE_UTILITY_25, LARGE_UTILITY_26, LARGE_UTILITY_27, LARGE_UTILITY_28, LARGE_UTILITY_29, LARGE_UTILITY_30, LARGE_UTILITY_31, LARGE_UTILITY_32, LARGE_UTILITY_33, LARGE_UTILITY_34, LARGE_UTILITY_35, LARGE_UTILITY_36, LARGE_UTILITY_37, LARGE_UTILITY_38, LARGE_UTILITY_39, LARGE_UTILITY_40, LARGE_UTILITY_41, LARGE_UTILITY_42, LARGE_UTILITY_43, LARGE_UTILITY_44, LARGE_UTILITY_45, LARGE_UTILITY_46, LARGE_UTILITY_47, LARGE_UTILITY_48, LARGE_UTILITY_49, LARGE_UTILITY_50, LARGE_UTILITY_51, LARGE_UTILITY_52, LARGE_UTILITY_53, LARGE_UTILITY_54, LARGE_UTILITY_55, LARGE_UTILITY_56, LARGE_UTILITY_57, LARGE_UTILITY_58, LARGE_UTILITY_59, LARGE_UTILITY_60, AUX_UTILITY_1, AUX_UTILITY_2, AUX_UTILITY_3, AUX_UTILITY_4, AUX_UTILITY_5, AUX_UTILITY_6, AUX_UTILITY_7, AUX_UTILITY_8, AUX_UTILITY_9, AUX_UTILITY_10, AUX_UTILITY_11, AUX_UTILITY_12, AUX_UTILITY_13, AUX_UTILITY_14, AUX_UTILITY_15, AUX_UTILITY_16, AUX_UTILITY_17, AUX_UTILITY_18, AUX_UTILITY_19, AUX_UTILITY_20, AUX_UTILITY_21, AUX_UTILITY_22, AUX_UTILITY_23, AUX_UTILITY_24, AUX_UTILITY_25, AUX_UTILITY_26, AUX_UTILITY_27, AUX_UTILITY_28, AUX_UTILITY_29, AUX_UTILITY_30
template Required <component_template>

government

path: common/governments

Edit this type

field description required rhs
ruler_title Required Localisation key
ruler_title_female Optional Localisation key
heir_title Optional Localisation key
heir_title_female Optional Localisation key
use_regnal_names Optional yes/no
dynastic_last_names Optional yes/no
should_force_rename Optional yes/no
leader_class Optional scientist, admiral, governor, general
possible Determines if a government name can be chosen. AND trigger, scope: country; valid triggers: has_ethic, has_authority, has_valid_civic; everything else is undefined behavior! Required trigger block, with scopes ROOT: Any
weight scriptable value, scope: country; the (possible) government type with the biggest weight is assigned to the country Required block, containing:
base Optional Integer
Required modifier_rule fields
election_candidates Optional modifier_rule block, with scopes ROOT: Any

graphical_culture

path: common/graphical_culture

Edit this type

field description required rhs
fallback Optional <graphical_culture>
ship_color Optional yes/no
ship_lighting Required block, containing:
intensity_near Amount of light when near Optional Float
intensity_far Amount when far away Optional Float
near_value Near threshold Optional Integer
far_value Far threshold Optional Integer
rim_start_near Optional Float
rim_stop_near Optional Float
rim_start_far Optional Float
rim_stop_far Optional Float
rim_start_far Optional Float
rim_stop_far Optional Float
ambient_near Optional Float
ambient_far Optional Float
cam_light_1_dir Required block, containing:
Float Min 3, up to 3
cam_light_2_dir Required block, containing:
Float Min 3, up to 3
cam_light_3_dir Required block, containing:
Float Min 3, up to 3
randomized Optional trigger block
selectable Optional trigger block

has_full_sensor_range

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_bio_trophy

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_extradimensional_anchor

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_extradimensional_portal

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_owned_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_owner_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

is_valid_rival

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

job

path: common/pop_jobs

Edit this type

field description required rhs
category Required <social_strata>
condition_string Optional Localisation key
building_icon Optional <building>
building_icon Optional gfx/interface/icons/buildings icon
clothes_texture_index Optional Integer
icon Optional gfx/interface/icons/jobs icon
icon Optional <job>
is_capped_by_modifier Optional yes/no
can_set_priority Optional yes/no
is_pre_sapient Optional yes/no
purge Optional purge_matrix, purge_normal, purge_neutering, purge_displacement, purge_labor_camps, purge_processing
Optional triggered_planet_modifier_pop fields
Optional triggered_country_modifier_pop fields
Optional triggered_pop_modifier fields
possible_pre_triggers Only uses certain simple triggers. Optional pop_pre_trigger block
possible Optional trigger block
resources Optional block, containing:
resources Optional block, containing:
category Required <economic_category>
Required economic_template fields
pop_modifier Optional modifier block, with scopes ROOT: Any
country_modifier Optional modifier block, with scopes ROOT: Any
planet_modifier Multiple planet_modifiers blocks result in only the last one applying Optional modifier block, with scopes ROOT: Any
weight Required block, containing:
weight Required Float
Required modifier_rule fields

mandate

path: common/mandates

Edit this type

field description required rhs
valid Required trigger block, with scopes ROOT: Any
parameters Optional block, containing:
self Optional country
enemy Optional country
master Optional country
planet Optional planet
on_term_started Optional effect block, with scopes ROOT: Any
on_term_ended Optional effect block, with scopes ROOT: Any

map_mode

path: common/map_modes

Edit this type

field description required rhs
icon Required <sprite>
enable_terra_incognita Required yes/no
can_change_point_of_view Optional yes/no
shortcut Optional Scalar
display_claims Optional yes/no
color Required, many block, containing:
value Required country
custom_tooltip Optional Localisation key
hardcoded_tooltip Optional opinion, country
value Required block, containing:
Float Min 3, up to 4
condition Required trigger block, with scopes ROOT: Any, FROM: Any

megastructure

path: common/megastructures

Edit this type

field description required rhs
entity Required Scalar
rotate_to_center Optional yes/no
scale_offset Optional yes/no
construction_entity Optional Scalar
portrait Optional <sprite>
place_entity_on_planet_plane Optional yes/no
construction_blocks_others Optional yes/no
build_outside_gravity_well Optional yes/no
show_galactic_map_icon Optional yes/no
bypass_type Optional <bypass>
upgrade_desc also possible to use here upgrade_desc = hide, and localisations are not required in that case Optional Localisation key
upgrade_desc also possible to use here upgrade_desc = hide, and localisations are not required in that case Optional hide
build_time Optional Integer
sensor_range Optional Integer
hyperlane_range Optional Integer
construction_blocked_by_others Optional yes/no
entity_offset Optional block, containing:
x Required Integer
y Required Integer
upgrade_from Optional block, containing:
<megastructure> Required
prerequisites Optional block, containing:
<technology> Required
show_prereqs Optional yes/no
prereq_name Optional Localisation key
potential Optional trigger block, with scopes ROOT: Any
possible Optional trigger block, with scopes ROOT: Any, FROM: Any
resources Optional block, containing:
category Required megastructures
Required economic_template fields
country_modifier accepts country modifiers Optional modifier block, with scopes ROOT: Any
placement_rules Optional block, containing:
Optional, many trigger fields
planet_possible Optional trigger block, with scopes ROOT: Any
on_build_start Optional effect block, with scopes ROOT: Any, FROM: Any, FROMFROM: Any
on_build_cancel Optional effect block, with scopes ROOT: Any, FROM: Any
on_build_complete Optional effect block, with scopes ROOT: Any, FROM: Any, FROMFROM: Any
ai_weight Optional block, containing:
weight Optional Float
factor Optional Float
Required modifier_rule fields

message_type

path: common

Edit this type

field description required rhs
icon Required <sprite>
icon_frame Required Integer
key Required Scalar
name Optional Localisation key
sound Optional <sound_effect>
sound_is_advisor Optional yes/no
ping Required <pingmap>

name_list

path: common/name_lists

Edit this type

field description required rhs
language Optional Scalar
randomized It appears that randomized = yes will be read as randomized = no. Anyway yes is default. Optional no
alias Optional Scalar
should_name_home_system_planets Optional yes/no
selectable Optional trigger block
trigger Optional trigger block, with scopes ROOT: Any
ship_names Optional block, containing:
generic Optional block, containing:
Scalar Optional, many
<ship_size> Optional, many block, containing:
sequential_name Optional Scalar
random_names Optional block, containing:
Scalar Optional, many
Scalar Optional, many
fleet_names Optional block, containing:
sequential_name Optional Scalar
generic Optional block, containing:
Scalar Optional, many
random_names Optional block, containing:
Scalar Optional, many
army_names Optional block, containing:
generic Optional block, containing:
sequential_name Optional Scalar
Scalar Optional, many
<army> Optional, many block, containing:
sequential_name Optional Scalar
names Optional block, containing:
Scalar Optional, many
random_names Optional block, containing:
Scalar Optional, many
planet_names Optional block, containing:
generic Optional block, containing:
names Required block, containing:
Scalar Optional, many
<planet_class> Optional, many block, containing:
names Required block, containing:
Scalar Optional, many
ship_class_names Optional block, containing:
generic Optional block, containing:
Scalar Optional, many
<ship_size> Optional, many block, containing:
Scalar Optional, many
character_names Optional block, containing:
default Optional block, containing:
use_full_regnal_name Optional yes/no
full_names Optional block, containing:
Scalar Optional, many
full_names_male Optional block, containing:
Scalar Optional, many
full_names_female Optional block, containing:
Scalar Optional, many
first_names Optional block, containing:
Scalar Optional, many
first_names_male Optional block, containing:
Scalar Optional, many
first_names_female Optional block, containing:
Scalar Optional, many
second_names Optional block, containing:
Scalar Optional, many
second_names_male Optional block, containing:
Scalar Optional, many
second_names_female Optional block, containing:
Scalar Optional, many
regnal_first_names Optional block, containing:
Scalar Optional, many
regnal_first_names_male Optional block, containing:
Scalar Optional, many
regnal_first_names_female Optional block, containing:
Scalar Optional, many
regnal_second_names Optional block, containing:
Scalar Optional, many
Scalar Optional, many block, containing:
weight Required Integer
use_full_regnal_name Optional yes/no
full_names Optional block, containing:
Scalar Optional, many
full_names_male Optional block, containing:
Scalar Optional, many
full_names_female Optional block, containing:
Scalar Optional, many
first_names Optional block, containing:
Scalar Optional, many
first_names_male Optional block, containing:
Scalar Optional, many
first_names_female Optional block, containing:
Scalar Optional, many
second_names Optional block, containing:
Scalar Optional, many
second_names_male Optional block, containing:
Scalar Optional, many
second_names_female Optional block, containing:
Scalar Optional, many
regnal_first_names Optional block, containing:
Scalar Optional, many
regnal_first_names_male Optional block, containing:
Scalar Optional, many
regnal_first_names_female Optional block, containing:
Scalar Optional, many
regnal_second_names Optional block, containing:
Scalar Optional, many
ruler_names Optional block, containing:
default Required block, containing:
full_names Required block, containing:
Scalar Optional, many

notification_modifier

path: common/notification_modifiers

Edit this type

field description required rhs
icon Required Filepath

observation_station_mission

path: common/observation_station_missions

Edit this type

field description required rhs
icon Required <sprite>
small_icon Required Integer
monthly_progress Optional Float between 0.0 and 1.0
completion_event Optional <event> of subtype country
resources Optional block, containing:
category Required station_observer_missions
Required economic_template fields
potential Optional trigger block, with scopes ROOT: Any, FROM: Any
valid Optional trigger block, with scopes ROOT: Any, FROM: Any
ai_weight Required block, containing:
weight Optional Float
factor Optional Float
Required modifier_rule fields

on_action

path: common/on_actions

Edit this type

field description required rhs
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype scopeless Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype scopeless
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype ship Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype ship
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype pop Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype pop
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype planet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype planet
events Optional block, containing:
<event> of subtype country Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype country
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet
events Optional block, containing:
<event> of subtype fleet Optional, many
random_events Optional block, containing:
Integer Optional, many 0
Integer Optional, many <event> of subtype fleet

opinion_modifier

path: common/opinion_modifiers

Edit this type

field description required rhs
opinion Required Float
opinion Required block, containing:
base Optional Float
root = country with the opinion, from = country it has the opinion of Optional, many modifier_rule_add_factor fields
accumulative No by default Optional yes/no
min For use with accumulative if the base is negative Optional Integer
max For use with accumulative if the base is positive Optional Integer
unique Optional yes/no
monthly Optional yes
months Optional Integer
decay Optional block, containing:
base Optional Integer
root = country with the opinion, from = country it has the opinion of Optional, many modifier_rule_add_factor fields
block_triggered stops modifier from automatically triggering when trigger evaluates to true Required yes
min For use with accumulative if the base is negative Optional Integer
max For use with accumulative if the base is positive Optional Integer
trigger root = country with the opinion, from = country it has the opinion of Required trigger block, with scopes ROOT: Any, FROM: Any

planet_class

path: common/planet_classes

Edit this type

field description required rhs
atmosphere_color Optional block, containing:
Float between 0.0 and 2.0 Min 3, up to 4
atmosphere_intensity Optional Float
atmosphere_width Optional Float
entity Required Scalar
overlay_entity Optional Scalar
entity_scale Optional Float
outliner_planet_type Optional special
fixed_entity_scale Optional yes/no
icon_frame Optional Integer
spawn_odds Optional Float
production_spawn_chance Optional Float
city_color_lut Optional Scalar
extra_orbit_size Optional Float
extra_planet_count Optional Float
chance_of_ring Optional Float
min_distance_from_sun Optional Integer
max_distance_from_sun Optional Integer
planet_size Optional Integer
moon_size Optional Integer
climate Optional Localisation key
enable_tilt Optional yes/no
place_entity_on_planet_plane Optional yes/no
entity_face_object Optional yes/no
colonizable Optional yes/no
habitat Optional yes/no
starting_planet Optional yes/no
can_be_moon Optional yes/no
space_monster_target Optional yes/no
asteroid Optional yes/no
star Optional yes/no
ringworld Optional yes/no
show_city Optional yes/no
show_health_bar_in_planet_view Optional yes/no
ideal Optional yes/no
can_be_invaded Optional yes/no
orbit_lines Optional yes/no
has_colonization_influence_cost applies when within own borders only Optional yes/no
survey_time_factor Optional Float
picture this is only required if using a picture defined for another planet Optional Scalar
tile_set this is only required if using a tile-set defined for another planet Optional <planet_class>
uses_alternative_skies_for_moons Optional yes/no
fixed_city_level Optional Integer
is_artificial_planet Optional yes/no
icon_frame Required Integer
habitat Optional yes/no
outliner_planet_type Optional special
star_gfx Optional yes/no
planet_size Optional block, containing:
min Required Integer
max Required Integer
moon_size Optional block, containing:
min Required Integer
max Required Integer
colonization_tech Optional block, containing:
<technology> Required
modifier Optional modifier block, with scopes ROOT: Any
allowed_archetypes Optional block, containing:
<species_archetype> Optional, up to 100

planet_class_random_list

path: common/planet_classes

Edit this type

field description required rhs
name Required Scalar
planets Required block, containing:
<planet_class> Required, many

planet_modifier

path: common/planet_modifiers

Edit this type

field description required rhs
is_null Optional yes/no
spawn_chance Required block, containing:
value Optional Integer
Required modifier_rule_add_factor fields
modifier Required <static_modifier>

policy

path: common/policies

Edit this type

field description required rhs
potential Required trigger block
allow Optional trigger block
option Min 2, up to 20 block, containing:
name Required Localisation key
policy_flags Optional block, containing:
Scalar Optional, up to 10
on_enabled Optional effect block
on_disabled Optional effect block
potential Optional trigger block
valid Optional trigger block
modifier Optional modifier block, with scopes ROOT: Any
prerequisites Optional block, containing:
<technology> Required
AI_weight Optional block, containing:
factor Optional Float
weight Optional Float
Required modifier_rule fields

pop_can_flee_to_country

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

pop_can_live_on_planet

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

pop_eats_energy

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

pop_faction

path: common/pop_faction_types

Edit this type

field description required rhs
unique Allows to have multiple of this faction type within a single country Required yes/no
support_multiplier How much extra weight will receive a candidate from this faction Optional Float
guiding_ethic Primary ethic for this faction Optional <ethos>
election_header UI color for candidate header Optional <sprite>
is_potential This = Country. Existence requirements for this faction Optional trigger block
parameters Optional block, containing:
Scalar Optional block, containing:
type Required country, pop, planet, pop_faction, system, leader, sector, star, galactic_object, species, ambient_object, fleet, ship, war, army
valid_objects Optional trigger block
valid This = Pop faction. Existence requirements for defined parameter Optional block, containing:
Optional trigger fields
parameter:sector Optional block, containing:
debug_scope_type HAS TO BE REWORKED !!! Optional Scope object in Any scope
Optional trigger fields
can_join_pre_triggers This = Pop. Determines which pops are able to join this faction. Only uses certain simple triggers. Optional pop_pre_trigger block
can_join_faction This = Pop. Determines which pops are able to join this faction Required trigger block
attraction This = Pop. Pop's willingness weight to join this faction Optional block, containing:
base Basic faction attraction weight Required Float
Optional modifier_rule_add_factor fields
Optional scaled_modifier_rule fields
leader This = Leader. Pop's willingness weight to join this faction Optional block, containing:
base Basic weight for leader Optional Float
Optional modifier_rule_add_factor fields
on_create This = Pop faction. Some effects, immediately after faction has been established. Optional effect block
on_destroy This = Pop faction. Some effects, immediately after faction has been removed. Optional effect block
demand This = Pop faction. Faction dynamic requests & issues. Optional, many block, containing:
title Issue title, shown in faction manager screen Optional Localisation key
unfulfilled_title Unfulfilled issue title, shown in faction manager screen Optional Localisation key
desc Issue full description, shown in faction manager screen Optional Localisation key
fulfilled_effect Positive happiness effect on faction, if demand is satisfied Optional Float
unfulfilled_effect Negative happiness effect on faction, if demand is not satisfied Optional Float
potential This = Pop faction. Optional trigger block
trigger This = Pop faction. Required trigger block
actions This = Pop faction. Actions for this pop faction type (buttons) Optional block, containing:
Scalar Optional, many block, containing:
title Optional Localisation key
description Optional Localisation key
cost Optional block, containing:
<resource> Required Integer
potential This = Pop faction. Optional trigger block
valid This = Pop faction. Optional trigger block
effect This = Pop faction. Optional effect block
ai_weight This = Pop faction. Optional block, containing:
base Optional Float
factor Optional Float
Optional modifier_rule fields
resources Required block, containing:
category Required pop_factions
Required economic_template fields

pop_has_no_happiness

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

precursors

path: common/precursor_civilizations

Edit this type

field description required rhs
size Required Integer
possible Optional trigger block

random_empire_name_format

path: common/random_names Description This block contains rules for picking a specific name format Edit this type

field description required rhs
format Reference to localisation string for generating random name Required Synchronised localisation key
prefix_format String used to determine prefix for empire's ship. (Default being ISS). Usually matches name format. Optional for countries that would not ever have ships, e. g. Primitives. Optional Scalar
noun Not quite clear what it does. Matches [] string retrieval in game format. If you know what it does, please contact CW Tools developer Dayshine. Required Scalar
random_weight Conditional weight for choosing this format Required block, containing:
factor Optional Float
weight Optional Float
Required modifier_rule fields

random_empire_name_part

path: common/random_names Description Define possible parts of empire name here, such as "Glorious Empire of". When generating random name for empire, format can refer to it via <key> and pick random part. Edit this type

field description required rhs
key Unique ID by which list can be referred to from name format via <key>. Required Scalar
parts List of possible parts. Random weights to the right are optional Required block, containing:
Scalar Optional, many Integer
Scalar Optional, many

relic

path: common/relics

Edit this type

field description required rhs
activation_duration Required Integer above 0
portrait Required <sprite>
sound Required <sound_effect>
Required triggered_country_modifier_country fields
score Required Integer above 0
resources Required block, containing:
category Required relics
Required economic_template fields
ai_weight Optional block, containing:
factor, weight Required Float
Required modifier_rule fields
active_effect Required effect block, with scopes ROOT: Any
possible Possible check for activation Required trigger block, with scopes ROOT: Any

resource

path: common/strategic_resources

Edit this type

field description required rhs
tradable Optional yes/no
max Optional Integer
deficit_modifier Optional <static_modifier>
tooltip_decimals Optional Integer
market_amount Required Integer
market_price Required Integer
max Required Integer
prerequisites Optional block, containing:
<technology> Optional
visibility_prerequisite Optional trigger block
ai_weight Optional block, containing:
weight Required Float
ai_wants Optional block, containing:
base Required Integer
fixed_max_amount Optional yes

scripted_effect

path: common/scripted_effects

Edit this type

field description required rhs
Required effect fields

scripted_loc

path: common/scripted_loc

Edit this type

field description required rhs
name Required Scalar
text Required, many block, containing:
localization_key Required Localisation key
trigger Optional trigger block

scripted_trigger

path: common/scripted_triggers

Edit this type

field description required rhs
Required trigger fields

section_template

path: common/section_templates

Edit this type

field description required rhs
key Required Localisation key
ship_size Optional, many <ship_size>
fits_on_slot Optional, many
entity Required Scalar
icon As far as I can tell, this is unused (the Vanilla ones refer to non-existent sprites and I couldn't find an ingame effect) -Caligula Optional Scalar
icon_frame Optional Integer
should_draw_components Optional yes/no
small_utility_slots Optional Integer
medium_utility_slots Optional Integer
large_utility_slots Optional Integer
aux_utility_slots Optional Integer
resources Optional block, containing:
category Required ship_sections
Required economic_template fields
prerequisites Optional block, containing:
<technology> Optional, many
component_slot Optional, many block, containing:
name Required Scalar
slot_size Required Scalar
slot_type Required strike_craft, weapon
locatorname Required
locatorname Required Scalar
is_side_slot Optional yes/no
rotation Optional Integer
section_instance Optional Integer
position Optional block, containing:
x Required Float
y Required Float
ai_weight Optional block, containing:
weight Optional Float
factor Optional Float
Required modifier_rule fields

sector_type

path: common/sector_types

Edit this type

field description required rhs
max_jumps Required Integer
system_scores Required block, containing:
base Optional Integer
Required modifier_rule fields
local_capital_scores Required block, containing:
base Optional Integer
Required modifier_rule fields
resource_conversion_table Required block, containing:
energy Required Integer
minerals Required Integer

ship_behavior

path: common/ship_behaviors

Edit this type

field description required rhs
name Required Scalar
desc Optional Localisation key
preferred_attack_range Optional Integer
preferred_attack_range Optional min, max, median
formation_distance Optional Integer
formation_distance Optional min, max, median
return_to_formation_distance Optional Integer
return_to_formation_distance Optional min, max, median
collision_awareness Optional Float
collision_strafe Optional Float
collision_radius Optional Float
attack_move_pattern Optional none, stationary, charge, orbit, follow, stay_at_range, flee
passive_move_pattern Optional none, stationary, charge, orbit, follow, stay_at_range, flee
source_target_anchor_factor Optional Float
combat_source_anchor Optional root, parent
combat_target_anchor Optional root, parent
ignore_combat_movement Optional yes/no

ship_size

path: common/ship_sizes

Edit this type

field description required rhs
graphical_culture Optional, up to 2 yes/no
is_space_object Optional yes
can_be_inspected Optional yes/no
pre_communications_name Optional Localisation key
entity Optional <model_entity>
entity Optional Scalar
formation_priority Optional Integer
max_speed Optional Float
acceleration Optional Float
rotation_speed Optional Float
collision_radius Optional Float
max_hitpoints Optional Integer
is_listed Optional yes/no
components_add_to_cost Optional yes/no
is_designable Optional yes/no
build_time may be deprecated, tell Dayshine and Caligula if yes Optional Integer
is_civilian Optional yes/no
build_block_radius Optional Integer
can_disable Optional yes/no
size_multiplier Optional Float
fleet_slot_size Optional Integer
combat_size_multiplier Optional Integer
num_target_locators Optional Integer
is_space_station Optional yes/no
icon_frame Optional Integer
base_buildtime Optional Integer
can_have_federation_design Optional yes/no
enable_default_design Optional yes/no
default_behavior Optional <ship_behavior>
class Required
construction_type Optional starbase
construction_type Optional starbase_shipyard
construction_type Optional spaceport
construction_type Optional starbase_defenses
required_component_set Optional, many <component_set> of subtype required_component
valid_target_aggressive_stance Optional yes/no
auto_upgrade Optional yes/no
ship_class_icon_frame Optional Integer
uses_name_prefix Optional yes/no
takes_name_from_ship_design Optional yes/no
flip_control_on_disable Optional yes/no
combat_disengage_chance Optional Float
graphical_culture Optional, up to 2 block, containing:
<graphical_culture> Required, many
modifier Optional modifier block, with scopes ROOT: Any
modifier Optional modifier block, with scopes ROOT: Any
ship_modifier Optional modifier block, with scopes ROOT: Any
section_slots Optional block, containing:
Scalar Required, many block, containing:
locator Required, many
locator Required, many Scalar
prerequisites Optional block, containing:
<technology> Optional, many
possible_starbase Optional trigger block, with scopes ROOT: Any
potential_starbase Optional trigger block, with scopes ROOT: Any
empire_limit Optional block, containing:
base Required Integer
max Optional Integer
naval_cap_div Optional Integer
potential_country Optional trigger block, with scopes ROOT: Any
possible_country Optional trigger block, with scopes ROOT: Any
potential_planet Optional trigger block, with scopes ROOT: Any
possible_planet Optional trigger block, with scopes ROOT: Any
resources Optional block, containing:
category Required <economic_category>
Required economic_template fields
min_upgrade_cost Optional block, containing:
<resource> Required, many Float

should_abduct_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

should_apply_neighbor_rival_modifier

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

should_colony_be_destroyed_on_pc_change

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

should_kill_growing_pop

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

show_notification_for_ground_combat

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

social_strata

path: common/pop_categories

Edit this type

field description required rhs
rank Required Integer
clothes_texture_index Optional Integer
keep_from_former_job Optional yes/no
demotion_time Optional Integer
change_job_threshold Optional Float
display_category Optional <social_strata>
display_unemployment Optional yes/no
Optional, many triggered_planet_modifier_pop fields
assign_to_pop This is called whenever a Pop is created, moved to a different planet, or gets a new owner Optional trigger block
weight Optional block, containing:
weight Required Float
Required modifier_rule fields
pop_modifier Required modifier block, with scopes ROOT: Any
allow_resettlement scope: pop to be resettled Required trigger block
should_apply_unemployment_penalties Optional trigger block
unemployment_penalties Optional modifier block, with scopes ROOT: Any
resettlement_cost Optional block, containing:
<resource> Required Integer
unemployment_resources Optional block, containing:
category Required <economic_category>
Required economic_template fields
resources Optional block, containing:
category Required <economic_category>
Required economic_template fields

solar_system_initializer

path: common/solar_system_initializers

Edit this type

field description required rhs
name Optional Synchronised localisation key
class Required <star_class>
class Required
usage Optional, many empire_init, misc_system_init, custom_empire, fallen_empire_init
usage_odds Optional Float
max_instances accepts negative numbers, negative numbers = unrestricted Optional Integer
spawn_chance Optional Integer
scaled_spawn_chance Optional Integer
scaled_spawn_settings Optional Scalar
prevent_anomalies Optional yes/no
primitive_system Optional yes/no
inner_radius_offset Optional Integer
outer_radius_offset Optional Integer
change_orbit Optional, many Integer
flags Optional block, containing:
Scalar, a "star_flag" value Optional, many
asteroid_belt Optional, many block, containing:
type Required <asteroid_belt_type>
radius Required Integer
usage_odds Optional block, containing:
base Optional Float
Optional, many modifier_rule fields
Optional, many planet_initializer fields
Optional, many planet_initializer fields
change_orbit Optional, many block, containing:
min Required Integer
max Required Integer
init_effect the scope here is galactic_object scope, with prev being set to the previous system that was initialized by this tree ( if any ). Root will point to the first system in the tree or the root of the calling event. Optional effect block, with scopes ROOT: Any
init_effect the scope here is galactic_object scope, with prev being set to the previous system that was initialized by this tree ( if any ). Root will point to the first system in the tree or the root of the calling event. Optional effect block, with scopes ROOT: Any
neighbor_system Optional, many block, containing:
initializer Required <solar_system_initializer>
distance Optional Integer
hyperlane_distance Optional Integer
hyperlane_jumps Optional Integer
spawn_chance Optional Integer
distance Optional block, containing:
min Required Integer
max Required Integer
hyperlane_distance Optional block, containing:
min Required Integer
max Required Integer
hyperlane_jumps Optional block, containing:
min Required Integer
max Required Integer
trigger Optional trigger block

solar_system_initializer_random_list

path: common/solar_system_initializers

Edit this type

field description required rhs
name Required Scalar
<solar_system_initializer> Required, many Integer

special_project

path: common/special_projects

Edit this type

field description required rhs
key Required Localisation key
cost Optional Integer
timelimit Optional Integer
days_to_research Optional Integer
location Optional yes/no
icon Optional Filepath
picture Optional <sprite>
event_scope Required ship_event, planet_event
event_chain Optional <event_chain>
sound Optional no
cost Optional block, containing:
base Required Integer
Required scaled_modifier_rule fields
tech_department Required society_technology, engineering_technology, physics_technology
tech_department Optional society_technology, engineering_technology, physics_technology
same_option_group_as Optional block, containing:
<special_project> Required, up to 100
AI_wait_days Optional block, containing:
weight Required Integer
Required modifier_rule fields
requirements Optional block, containing:
shipclass_military Optional Integer
shipclass_constructor Optional Integer
shipclass_science_ship Optional Integer
shipclass_colonizer Optional Integer
shipclass_transport Optional Integer
leader Optional ruler, scientist, admiral, governor, general
assault_armies Optional Integer
defense_armies Optional Integer
research_station Optional yes
mining_station Optional yes
observation_station Optional yes
skill Optional Integer between 1 and 10
fleet_power Optional Integer
is_founder_species Optional yes/no
has_trait Optional <trait> of subtype leader_trait
abort_trigger this = country (project owner); from = event scope (planet or ship, MIGHT NOT EXIST); fromfrom = project creation scope (usually equals location) Optional trigger block
on_success this = event scope (ship or planet); from = project creation scope (usually equals location) Required effect block
on_progress_25 Optional effect block
on_progress_50 Optional effect block
on_progress_75 Optional effect block
on_start Optional effect block
on_fail this = country (project owner); from = project creation scope (usually equals location) Optional effect block
on_cancel new thing from 2.1.3 patch, have it from? Optional effect block

species_archetype

path: common/species_archetypes

Edit this type

field description required rhs
species_trait_points Optional Integer
species_max_traits Optional Integer
inherit_trait_points_from Optional <species_archetype>
inherit_traits_from Optional block, containing:
<species_archetype> Required

species_class

path: common/species_classes

Edit this type

field description required rhs
archetype Optional <species_archetype>
playable Optional yes/no
randomized Optional yes/no
uplifted_into Optional <species_class>
gender Optional yes/no
graphical_culture Optional <graphical_culture>
move_pop_sound_effect Optional Scalar
robotic Optional yes/no
use_climate_preference Optional yes/no
portrait_modding Optional yes/no
leader_age_min Optional Integer
leader_age_max Optional Integer
modifier Optional modifier block, with scopes ROOT: Any
playable Optional trigger block
randomized Optional trigger block
uplifted_portraits Optional block, containing:
<portrait> Optional, many
<portrait_group> Optional, many
possible Optional block, containing:
always Optional yes/no
text Optional Localisation key
Optional government_trigger fields
possible_secondary Optional block, containing:
always Optional yes/no
text Optional Localisation key
Optional government_trigger fields
portraits Optional block, containing:
<portrait> Optional, many
<portrait_group> Optional, many
custom_portraits Optional, many block, containing:
randomized Optional trigger block, with scopes ROOT: Any
playable Optional trigger block, with scopes ROOT: Any
portraits Required block, containing:
<portrait> Optional, many
<portrait_group> Optional, many
non_randomized_portraits Optional block, containing:
<portrait> Optional, many
<portrait_group> Optional, many
resources Optional block, containing:
resources Optional block, containing:
category Required <economic_category>
Required economic_template fields

species_has_citizenship

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

species_name

path: common/species_names

Edit this type

field description required rhs
Scalar Unique key for your species name entry Required, many block, containing:
name Name of a species, singular, e. g. Human Required Scalar
plural Plural for the species name, e. g. Humans Required Scalar
home_planet Name of the home planet, if this entry is used when generating random playable empire on game start, e. g. Earth Required Scalar
home_system Name of the home system, if this entry is used when generating random playable empire on game start, e. g. Sol Required Scalar
name_list ID of the name list picked if this entry is used when generating random player empire on game start, e. g. HUMAN1. It cannot be a non-randomizable name list (creates species with blank names). It is unclear whether selectable = { always = no } will also avoid this bug, let Dayshine and Caligula know if it does. Required <name_list>
language Optional Scalar

species_named_list

path: common/species_names

Edit this type

field description required rhs
Scalar Required, many block, containing:
name Required Scalar
plural Required Scalar
language Optional Scalar

species_rights

path: common/species_rights

Edit this type

field description required rhs
token Required Scalar
name Optional Localisation key
new_pop_weight Optional Float
pop_escape_chance Optional Float
Optional triggered_pop_modifier fields
modifier Optional modifier block, with scopes ROOT: Any
pop_modifier Optional block, containing:
Required modifier fields
custom_tooltip Optional Localisation key
free_pop_modifier Optional modifier block, with scopes ROOT: Any
potential Optional trigger block, with scopes ROOT: Any, FROM: Any
allow Optional trigger block, with scopes ROOT: Any, FROM: Any
ai_will_do Required block, containing:
factor Required Float
Required modifier_rule fields

star_class

path: common/star_classes

Edit this type

field description required rhs
class Required Scalar
icon Optional Scalar
icon_scale Optional Float
spawn_odds Optional Float
is_environmental_hazard Optional yes/no
planet Optional, many block, containing:
key Required <planet_class>
class Optional Scalar
num_planets Optional block, containing:
min Required Integer
max Required Integer
<planet_class> of subtype planet Optional, many block, containing:
spawn_odds Required Float
modifier Optional modifier block, with scopes ROOT: Any

star_class_random_list

path: common/star_classes

Edit this type

field description required rhs
name Required Scalar
stars Required block, containing:
<star_class> Optional, many

starbase_building

path: common/starbase_buildings

Edit this type

field description required rhs
icon Required <sprite>
construction_days Optional Integer
initial Optional yes/no
ai_build_at_chokepoint Optional yes/no
ai_build_outside_chokepoint Optional yes/no
show_in_tech Optional <technology>
equipped_component Optional <component_template>
custom_tooltip Optional, many Localisation key
Required triggered_system_modifier_starbase fields
Required triggered_country_modifier_starbase fields
Required triggered_station_modifier_starbase fields
potential Optional trigger block
possible entries in possible are displayed in game. Use custom_tooltip to replace localisations. Optional trigger block
resources Required block, containing:
category Required <economic_category>
Required economic_template fields
ai_weight Optional block, containing:
weight Required Float
Required modifier_rule fields
station_modifier ship modifiers, apply on the starbase itself Optional modifier block, with scopes ROOT: Any
ship_modifier ship modifiers, apply in orbit of the starbase Optional modifier block, with scopes ROOT: Any
orbit_modifier ship modifiers, apply in orbit of the starbase Optional modifier block, with scopes ROOT: Any
system_modifier planet modifiers, apply on system planets. Optional modifier block, with scopes ROOT: Any
country_modifier country modifiers Optional modifier block, with scopes ROOT: Any

starbase_level

path: common/starbase_levels

Edit this type

field description required rhs
ship_size Required <ship_size>
next_level Optional <starbase_level>
show_in_outliner Default yes, if yes starbase will be shown in outliner Optional yes/no
display_empire_shield Default no, if yes empire shield will be shown even if there's no colony Optional yes/no
display_map_icon Default yes, if yes starbase map icon will be shown even if there's no colony Optional yes/no
level_weight Default 0, used for claim cost and required module/building level Optional Integer
ai_weight Determines which levels are more important to upgrade from Optional block, containing:
weight Optional Float
factor Optional Float
Required modifier_rule fields

starbase_module

path: common/starbase_modules

Edit this type

field description required rhs
section Optional <section_template>
icon Optional <sprite>
construction_days Optional Integer
initial Optional yes/no
ai_build_at_chokepoint Optional yes/no
ai_build_outside_chokepoint Optional yes/no
show_in_tech Optional <technology>
equipped_component Optional <component_template>
custom_tooltip Optional, many Localisation key
Required triggered_system_modifier_starbase fields
Required triggered_country_modifier_starbase fields
Required triggered_station_modifier_starbase fields
resources Required block, containing:
category Required starbase_modules
Required economic_template fields
potential Optional trigger block
possible entries in possible are displayed in game. Use custom_tooltip to replace localisations. Optional trigger block
station_modifier ship modifiers, apply on the starbase itself Optional modifier block, with scopes ROOT: Any
ship_modifier ship modifiers, apply in orbit of the starbase Optional modifier block, with scopes ROOT: Any
orbit_modifier ship modifiers, apply in orbit of the starbase Optional modifier block, with scopes ROOT: Any
system_modifier planet modifiers, apply on system planets. Optional modifier block, with scopes ROOT: Any
country_modifier country modifiers Optional modifier block, with scopes ROOT: Any
ai_weight Optional block, containing:
weight Required Float
Required modifier_rule fields

starbase_type

path: common/starbase_types

Edit this type

field description required rhs
potential Required trigger block, with scopes ROOT: Any, FROM: Any
weight_modifier Required block, containing:
base Required Float
factor Optional Float
add Optional Integer
add Optional Float
Required modifier_rule fields
ai_design Optional block, containing:
min Optional block, containing:
base Required Integer
ratio Optional block, containing:
base Required Float
modifier Optional, many block, containing:
add Required Float
Required, many trigger fields
buildings Required block, containing:
<starbase_building> Optional, many block, containing:
base Required Float
modules Required block, containing:
<starbase_module> Optional, many block, containing:
base Required Float

start_screen_message

path: common/start_screen_messages

Edit this type

field description required rhs
location Required Integer
localization Required Localisation key
trigger Required trigger block, with scopes ROOT: Any

static_modifier

path: common/static_modifiers

Edit this type

field description required rhs
Required modifier fields
icon Optional Filepath
important Optional yes/no
custom_tooltip Optional Localisation key
show_only_custom_tooltip Optional yes/no
apply_modifier_to_other_planets Optional <static_modifier>
icon_frame Required Integer between 0 and 9
icon Required Filepath

subject_can_expand

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

subject_type

path: common/subjects

Edit this type

field description required rhs
tech_cost_mult Optional Float
can_expand Optional yes/no
overlord_influence Optional Float
joins_overlord_wars Optional yes/no
calls_overlord_to_war Optional yes/no
can_do_diplomacy Optional yes/no
overlord_becomes_warleader Optional yes/no
gets_sensor Optional yes/no
gets_access Optional yes/no
can_be_integrated Optional yes/no
research_agreement Optional yes/no
research_sharing Optional yes/no
diplo_threat Optional Float
potential Required trigger block, with scopes ROOT: Any, FROM: Any
become_vassal Optional trigger block
effect Optional effect block, with scopes ROOT: Any, FROM: Any
can_switch_to Optional block, containing:
<subject_type> Required, many
subject_tax_rate Optional block, containing:
<resource> Optional, many Float between 0.0 and 1.0
overlord_resources Optional block, containing:
category Required subjects
Required economic_template fields
subject_resources Optional block, containing:
category Required subjects
Required economic_template fields

system_blocks_sensors

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

system_type

path: common/system_types

Edit this type

field description required rhs
potential Required trigger block, with scopes ROOT: Any
weight_modifier Optional block, containing:
base Optional Integer
Required modifier_rule fields

technology

path: common/technology

Edit this type

field description required rhs
area Required physics, engineering, society
tier Required <technology_tier>
icon Optional gfx/interface/icons/technologies icon
gateway Optional Scalar
start_tech Optional yes/no
is_reverse_engineerable Optional yes/no
ai_update_type Optional all, military
category Required block, containing:
<technology_category> Required
cost Optional 0
cost Required Integer
is_rare Optional yes/no
is_dangerous Optional yes/no
weight Required Float
levels Optional Integer between -1 and 100
prerequisites Optional block, containing:
<technology> Optional, up to 100
potential Optional trigger block, with scopes ROOT: Any
cost_per_level Required Integer
weight_groups a weight group increases the chances of a technology appearing - if another tech of a similar group is picked. Optional block, containing:
Scalar, a "tech_weight_group" value Optional, many
mod_weight_if_group_picked Optional, many block, containing:
A "tech_weight_group" value Optional, many Float
feature_flags Optional block, containing:
experimental_subspace_navigation, robot_leaders, megaengineering, assist_research, tech_automated_exploration, wormhole_stabilization, gateway_activation, gateway_construction, jump_method, planetary_ftl_inhibitor, build_terraform_station, terraform_inhabited, uplifting, modify_traits, pop_self_modification, habitability_gene_modding, bliss_standard, campaign_edicts, unity_ambitions, modify_robots, advanced_gene_modding, add_advanced_traits, droids, robots, synths Optional, up to 100
modifier Optional block, containing:
description Optional Localisation key
Optional modifier fields
show_only_custom_tooltip Optional no
custom_tooltip Optional Localisation key
description_parameters Optional block, containing:
POINTS Required Integer
prereqfor_desc Optional block, containing:
hide_prereq_for_desc Optional, up to 4 ship, custom, component, diplo_action, feature, resource
ship, custom, component, diplo_action, feature, resource Optional, up to 4 block, containing:
title Required Localisation key
desc Required Localisation key
weight_modifier Optional block, containing:
factor Optional Float
weight Optional Float
Required modifier_rule fields
ai_weight Optional block, containing:
factor Optional Float
weight Optional Float
Required modifier_rule fields

technology_category

path: common/technology/category

Edit this type

field description required rhs
icon Required Filepath

technology_tier

path: common/technology/tier Description This should be a number Edit this type

field description required rhs
previously_unlocked Optional Integer

terraform_link

path: common/terraform

Edit this type

field description required rhs
from country scope, from = planet Required <planet_class>
to Required <planet_class>
energy Required Integer
duration Required Integer
condition displayed in game, hence functions like after effect and requires localisations in the same way. Optional trigger block, with scopes ROOT: Any, FROM: Any
potential Optional trigger block, with scopes ROOT: Any, FROM: Any
effect Optional effect block, with scopes ROOT: Any, FROM: Any
ai_weight Optional block, containing:
weight Optional Float
Required modifier_rule fields

tradition

path: common/traditions

Edit this type

field description required rhs
Optional, many tradition_swap fields
modifier Optional modifier block, with scopes ROOT: Any
ai_weight the ai_weight in traditions applies both to the main traditions and the tradition swaps, there are no seperate fields. Optional block, containing:
factor Optional Float
weight Optional Float
Required modifier_rule fields
possible Optional trigger block, with scopes ROOT: Any
on_enabled Optional effect block, with scopes ROOT: Any

tradition_category

path: common/tradition_categories

Edit this type

field description required rhs
adoption_bonus Required <tradition>
finish_bonus Required <tradition>
Optional, many tradition_swap fields
traditions Required block, containing:
<tradition> Required, many

trait

path: common/traits

Edit this type

field description required rhs
immortal_leaders Default = no Optional yes/no
initial Optional yes/no
randomized Optional yes/no
custom_tooltip Optional Localisation key
cost Optional Integer
icon Optional Filepath
sapient Default = yes Optional yes/no
forced_happiness Default = no Optional yes/no
sorting_priority Optional Integer
modification Optional yes/no
improves_leaders Default = no Optional yes/no
advanced_trait Default = no Optional yes/no
leader_trait Optional no
leader_age_min Optional Integer
leader_age_max Optional Integer
potential_crossbreeding_chance Optional Float
allowed_archetypes Required block, containing:
<species_archetype> Required, many
modifier Required modifier block, with scopes ROOT: Any
assembling_modifier Required modifier block, with scopes ROOT: Any
declining_modifier Required modifier block, with scopes ROOT: Any
growing_modifier Required modifier block, with scopes ROOT: Any
species_potential_add Optional trigger block, with scopes ROOT: Any, FROM: Any
species_possible_remove Optional trigger block, with scopes ROOT: Any, FROM: Any
prerequisites Optional block, containing:
<technology> Optional, up to 100
opposites Optional block, containing:
<trait> of subtype species_trait Required, up to 100
slave_cost Optional block, containing:
energy Required Integer
cost Required Integer
icon Required Filepath
modification Default = yes Required yes/no
leader_trait Required all
hide_age Default = no Optional yes/no
can_retreat Optional yes/no
leader_trait Required block, containing:
ruler, scientist, admiral, governor, general Required, up to 5
modifier Optional modifier block, with scopes ROOT: Any
self_modifier Optional modifier block, with scopes ROOT: Any
prerequisites Optional block, containing:
<technology> Optional, up to 100
leader_class Optional block, containing:
ruler, scientist, admiral, governor, general Required, up to 5
leader_potential_add Optional trigger block
requires_traits Optional block, containing:
<trait> of subtype species_trait Required, up to 100
opposites Optional block, containing:
<trait> of subtype leader_trait Required, up to 100
ai_categories Optional block, containing:
engineering, physics, society, survey Required, up to 4
ai_weight Optional block, containing:
weight Required Integer
Required modifier_rule fields

war_goal

path: common/war_goals

Edit this type

field description required rhs
casus_belli Required <casus_belli>
cede_claims Cede claims on peace? Yes by default (I think - Caligula) Optional yes, occupied_only, no
defender_default Defenders get this war goal if no war goal is picked in time. If multiple war goals are set to be defender default, the first one scripted in the file is chosen. No by default. Optional yes/no
threat_multiplier Affects threat generated by conquering systems & planets. 1.0 by default. Optional Float
show_claims_in_description This decides whether claims should be listed in the description. No by default. Optional yes/no
total_war Optional yes/no
hide_if_no_cb Hide this wargoal if country doesn't have the requisite CB. No by default. Optional yes/no
surrender_acceptance This affects how likely the AI is to surrender to this wargoal, generally less willing on more severe wargoals (negative numbers = less willing). 0 by default. Optional Integer
war_exhaustion This affects how quickly war exhaustion builds up for this side in the war (2.0 = twice as fast). 1.0 by default. Optional Float
set_defender_wargoal If used as attacker wargoal and set, defender will have their wargoal predetermined by this. If not set, defender gets to pick their own wargoal. Optional <war_goal>
release_occupied_systems_on_status_quo Optional yes/no
potential FROM = The targeted country, THIS = The acting country Required trigger block, with scopes ROOT: Any, FROM: Any
possible FROM = The targeted country, THIS = The acting country Required trigger block, with scopes ROOT: Any, FROM: Any
on_status_quo Run when war ends in status quo. The targeted country, THIS = The acting country Optional effect block, with scopes ROOT: Any, FROM: Any
on_wargoal_set Optional effect block, with scopes ROOT: Any, FROM: Any
on_accept Run when target surrenders after claims are ceded. The targeted country, THIS = The acting country Optional effect block, with scopes ROOT: Any, FROM: Any
ai_weight FROM = The targeted country, THIS = The acting country Required block, containing:
weight Required Integer
Required modifier_rule fields

will_anger_fallen_empire

path: common/game_rules

Edit this type

field description required rhs
Required trigger fields

events

event

path: events

Edit this type

field description required rhs
id Required Scalar
message_desc Optional Localisation key
hide_window Optional yes/no
is_triggered_only Optional yes/no
fire_only_once Optional yes/no
trackable Optional yes/no
is_advisor_event Optional yes/no
auto_select Optional yes/no
title Required Localisation key
desc Required Localisation key
show_sound Optional <sound_effect>
force_open Force a diplomatic event to be viewed Optional yes/no
location Optional Scope object in Any scope
location Optional Scope object in Any scope
location Optional Scope object in Any scope
location Optional Scope object in Any scope
location Optional Scope object in Any scope
location Optional Scope object in Any scope
location Optional Scope object in Any scope
diplomatic Optional yes/no
auto_opens Forces the event to pop-up even if player has supressed pop ups Optional yes/no
desc Required block, containing:
text Optional Localisation key
show_sound Optional <sound_effect>
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional, many block, containing:
switch Optional block, containing:
trigger Required Scalar
Scalar Min 2, up to 10000 block, containing:
text Optional Localisation key
if Optional block, containing:
text Required Localisation key
limit Required trigger block
switch Optional block, containing:
trigger Required Scalar
Scalar Min 2, up to 10000 block, containing:
text Optional Localisation key
if Optional block, containing:
text Required Localisation key
limit Required trigger block
exclusive_trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional, many block, containing:
switch Required block, containing:
trigger Required Scalar
Scalar Min 2, up to 10000 block, containing:
text Optional Localisation key
if Optional block, containing:
text Required Localisation key
limit Required trigger block
switch Optional block, containing:
trigger Required Scalar
Scalar Min 2, up to 10000 block, containing:
text Optional Localisation key
if Optional block, containing:
text Required Localisation key
limit Required trigger block
option Optional, many block, containing:
name Required Localisation key
sound Optional Scalar
default_hide_option Optional yes/no
custom_gui Optional Scalar
Optional effect fields
tooltip Optional effect block
trigger Optional trigger block
allow Optional trigger block
exclusive_trigger Optional trigger block
ai_chance Optional block, containing:
factor Required Float between 0 and 10000
Required modifier_rule_factor fields
response_text Optional Localisation key
is_dialog_only Optional yes/no
custom_gui Optional Scalar
default_hide_option Binds this option to the "dismiss" action Optional yes/no
title Optional OK
desc Optional OK
picture Optional, up to 0 Scalar
location Optional, up to 0 Scalar
show_sound Optional, up to 0 Scalar
picture Required <sprite>
picture Required block, containing:
picture Required <sprite>
trigger Optional trigger block
mean_time_to_happen Optional block, containing:
years Optional Integer
months Optional Integer
days Optional Integer
Optional, up to 100 modifier_rule fields
custom_gui Optional Scalar
custom_gui_option Optional Scalar
picture_event_data Required block, containing:
room Optional <asset_selector> of subtype room
room Optional Scope object in Any scope
room Optional Scope object in Any scope
room Optional Scope object in Any scope
room Optional gfx/portraits/city_sets icon
room Optional gfx/portraits/city_sets icon
room Optional no_video_feed_room
portrait Optional <portrait>
portrait Optional Scope object in Any scope
portrait Optional Scope object in Any scope
portrait Optional Scope object in Any scope
planet_background Optional Scope object in Any scope
planet_background Optional Scope object in Any scope
planet_background Optional Scope object in Any scope
graphical_culture Optional <graphical_culture>
graphical_culture Optional Scope object in Any scope
graphical_culture Optional Scope object in Any scope
city_level Optional Scope object in Any scope
city_level Optional Scope object in Any scope
city_level Optional Scope object in Any scope
pre_triggers Like trigger, but only uses certain simple triggers Optional planet_pre_trigger block
archaeology Optional yes/no
trigger Optional trigger block
immediate Optional effect block
after Optional effect block

flags

color_define

path: flags

Edit this type

field description required rhs
flag Required block, containing:
Integer between 0 and 255 Min 3, up to 4
flag Required block, containing:
Float between 0.0 and 2.0 Min 3, up to 4
map Required block, containing:
Integer between 0 and 255 Min 3, up to 4
map Required block, containing:
Float between 0.0 and 2.0 Min 3, up to 4
ship Required block, containing:
Integer between 0 and 255 Min 3, up to 4
ship Required block, containing:
Float between 0.0 and 2.0 Min 3, up to 4
use_as_border_color Optional no

randomizable_combo

path: flags

Edit this type

field description required rhs
<color_define> Min 3, up to 3

fonts

font

path: fonts

Edit this type

field description required rhs
name Required Scalar
fontstyle Required block, containing:
style Required regular
file supports *.ttf and *.otf files! Required Filepath

gfx

asset_selector

path: gfx/portraits/asset_selectors

Edit this type

field description required rhs
default Required Filepath
no_texture Optional block, containing:
default Required Filepath
Filepath Optional, many trigger block
game_setup Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
species Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
pop Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
leader Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
ruler Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
default Required Filepath
no_texture Optional block, containing:
default Required Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
game_setup Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
species Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
pop Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
leader Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
ruler Optional block, containing:
default Optional Filepath
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Filepath Optional, many trigger block
default Required Scalar
game_setup Optional block, containing:
Scalar Optional, many trigger block
ruler Optional block, containing:
default Optional Scalar
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
Scalar Optional, many trigger block
default Required <model_entity>
ruler Optional block, containing:
default Optional <model_entity>
random Optional, many block, containing:
trigger Optional trigger block
list Required block, containing:
Filepath Optional, many
<model_entity> Optional, many trigger block

light

path: gfx/lights

Edit this type

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 Min 4, up to 6

model_animation

path: gfx/models

Edit this type

field description required rhs
name Required Scalar
file Required Scalar

model_entity

path: gfx

Edit this type

field description required rhs
name Required Scalar
pdxmesh Optional <model_mesh>
cull_radius Optional Float
scale Optional Float
playback_rate Optional Float
default_state Optional
default_state Optional no_state
get_state_from_parent Optional yes/no
clone Optional <model_entity>
state Optional, many block, containing:
name Required Scalar
state_time Optional Float
looping Optional yes/no
next_state Optional
next_state Optional state2
next_state Optional start2
chance Optional yes/no
chance Optional Float
get_state_from_parent Optional yes/no
animation Optional <model_animation>
animation Optional idle, idle2, sad, sad2, death, death2, death3, attack, moving, survey, scan, miss, miss2, miss_reversed, miss2_reversed, start, fly, working
animation Optional Scalar
animation_speed Optional Float
animation_blend_time Optional Float
chance Optional block, containing:
default Optional Integer
if_current_state Required block, containing:
Optional, many 0
Optional, many 100
time_offset Optional block, containing:
Float Min 2, up to 2
locator Optional, many block, containing:
name Required Scalar
scale Optional Float
position Optional block, containing:
Float Min 3, up to 3
rotation Optional block, containing:
Float Min 3, up to 3
game_data Optional block, containing:
bloom_factor Required Float
uv_animation_speed Required Float
uv_animation_direction Required block, containing:
Float Min 2, up to 2
event Optional, many block, containing:
id This is used only to link to planet killer projectiles Optional beam_start
time Optional Float
node Optional Scalar
light Optional <light>
entity Optional <model_entity>
life Optional Float
particle Optional <particle>
keep_particle Optional yes/no
use_parent_nodes Optional yes/no
trigger_once Optional yes/no
sound Optional block, containing:
soundeffect Required <sound_effect>
stop_on_state_change Optional yes/no
start_event Optional, many block, containing:
time Optional Integer
trigger_once Optional yes/no
node Optional Scalar
light Optional <light>
particle Optional <particle>
keep_particle Optional yes/no
sound Optional block, containing:
soundeffect Required <sound_effect>
stop_on_state_change Optional yes/no
attach Optional, many block, containing:
Scalar Optional, up to 4 <model_entity>
name Optional Scalar
root Optional <model_entity>
scene_main Optional <model_entity>
game_data Optional block, containing:
size Optional Float
emissive_recolor_crunch Optional Float
uv_animation_speed Optional Float
bloom_factor Optional Float
shader_type Optional Scalar
raytrace_projectiles Optional yes/no
custom_texture Optional Filepath
dissolve_on_death Optional Float
trail_locators Optional block, containing:
Scalar Optional, many block, containing:
width Optional Integer
length Optional Integer
lenght Optional, up to 0 Integer
height Optional Integer
uv_animation_direction Optional block, containing:
Float Min 2, up to 3
ship_color Optional block, containing:
Float Min 3, up to 4
locator Optional, many block, containing:
name Required Scalar
scale Optional Float
position Optional block, containing:
Float Min 3, up to 3
rotation Optional block, containing:
Float Min 3, up to 3
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

model_mesh

path: gfx/models

Edit this type

field description required rhs
name Required Scalar
file Required Filepath
scale Optional Float
cull_distance Optional Scalar
meshsettings Optional, many block, containing:
name Optional Scalar
index Optional Integer
shader Optional Scalar
texture_diffuse Optional Scalar
texture_normal Optional Scalar
texture_specular Optional Scalar
animation Optional, many block, containing:
id Required idle, idle2, sad, sad2, death, death2, death3, attack, moving, survey, scan, miss, miss2, miss_reversed, miss2_reversed, start, fly, working
id Required Scalar
type Required <model_animation>

particle

path: gfx/particles

Edit this type

field description required rhs
name Required Scalar
type Required <particle_type>
scale Optional Float

particle_type

path: gfx/particles

Edit this type

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
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 Min 2, up to 2
rotation_speed Optional block, containing:
Float Min 2, up to 2
sphere_emitter_radius Optional block, containing:
Scalar Min 2, up to 2
sphere_emitter_yaw Optional block, containing:
Float Min 2, up to 2
sphere_emitter_pitch Optional block, containing:
Float Min 2, up to 2
start Optional block, containing:
Float Required, up to 2
box_emitter_x Optional block, containing:
Float Min 2, up to 2
box_emitter_y Optional block, containing:
Float Min 2, up to 2
box_emitter_z Optional block, containing:
Float Min 2, up to 2
velocity Optional block, containing:
Float Required, up to 2
velocity_pitch Optional block, containing:
Float Min 2, up to 2
velocity_yaw Optional block, containing:
Float Min 2, up to 2
emitter_pitch Optional block, containing:
Float Min 2, up to 2
emitter_yaw Optional block, containing:
Float Min 2, up to 2
particle_pitch Optional block, containing:
Float Min 2, up to 2
particle_yaw Optional block, containing:
Scalar Min 2, up to 2
particle_roll Optional block, containing:
Float 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 Min 2, up to 2
rotation_speed Optional block, containing:
Float Min 2, up to 2
sphere_emitter_radius Optional block, containing:
Scalar Min 2, up to 2
sphere_emitter_yaw Optional block, containing:
Float Min 2, up to 2
sphere_emitter_pitch Optional block, containing:
Float Min 2, up to 2
start Optional block, containing:
Float Min 2, up to 2
box_emitter_x Optional block, containing:
Float Min 2, up to 2
box_emitter_y Optional block, containing:
Float Min 2, up to 2
box_emitter_z Optional block, containing:
Float Min 2, up to 2
velocity Optional block, containing:
Float Optional, up to 2
velocity_pitch Optional block, containing:
Float Min 2, up to 2
velocity_yaw Optional block, containing:
Float Min 2, up to 2
emitter_pitch Optional block, containing:
Float Min 2, up to 2
emitter_yaw Optional block, containing:
Float Min 2, up to 2
particle_pitch Optional block, containing:
Float Min 2, up to 2
particle_yaw Optional block, containing:
Float Min 2, up to 2
particle_roll Optional block, containing:
Float 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 Min 4, up to 10000
force Optional, many block, containing:
name Required Scalar
type Required planar, friction, point, spin, turbulence
local_force Optional yes/no
yaw Optional Float
division Optional Integer
amount Optional Float
position Optional block, containing:
Float Min 3, up to 3
direction Optional block, containing:
Float Min 3, up to 3

pingmap

path: gfx/pingmap

Edit this type

field description required rhs
system_entity Required <model_entity>
galaxy_entity Required <model_entity>
system_normal_zoom Required Integer
galaxy_normal_zoom Required Integer
duration Required Integer

planet_killer_animation

path: gfx/projectiles/planet_destruction

Edit this type

field description required rhs
texture Required Filepath
windup_entity Required <model_entity>
ship_fire_entity Required <model_entity>
planet_hit_entity Required <model_entity>
megastructure_hit_entity Required <model_entity>
planet_overlay_entity Optional <model_entity>
color Required block, containing:
Float between 0 and 1 Min 4, up to 4
planet_dissolve_color_mult Optional block, containing:
Float Min 3, up to 3
windup Required block, containing:
duration Required Float
start timestamp values are scaled so that 1.0 matches duration Required block, containing:
duration Required Float
texture_tiling Required Float
width Required block, containing:
Float Min 2, up to 8
texture_scroll_speed Required block, containing:
Float Min 2, up to 6
alpha Required block, containing:
Float Min 4, up to 8
in_progress Required block, containing:
duration Required Float
width Required block, containing:
Float Min 2, up to 8
texture_scroll_speed Required block, containing:
Float Min 2, up to 2
texture_tiling Required block, containing:
Float Min 2, up to 2
alpha Required block, containing:
Float Min 4, up to 8
end Required block, containing:
duration Required Float
texture_scroll_speed Required Float
texture_tiling Required Float
width Required block, containing:
Float Min 2, up to 8
alpha Required block, containing:
Float Min 4, up to 8
fade Required block, containing:
fade_in <Fade-in/out start/end percentage> <Width in world units> Required block, containing:
Float Min 2, up to 2
fade_out Required block, containing:
Float Min 2, up to 2

portrait

path: gfx/portraits/portraits

Edit this type

field description required rhs
entity Required <model_entity>
clothes_selector Required <asset_selector> of subtype clothes
hair_selector Required <asset_selector> of subtype hair
greeting_sound Optional <sound_effect>
character_textures Optional block, containing:
Filepath Required, many

portrait_group

path: gfx/portraits/portraits

Edit this type

field description required rhs
default Optional <portrait>
game_setup Optional block, containing:
add Optional, many block, containing:
trigger Optional block, containing:
Optional, many trigger fields
Scope object in Any scope Optional, many block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many
set Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many
leader Optional block, containing:
add Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
gender Optional male, female
portraits Required block, containing:
<portrait> Optional, many
set Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
gender Optional male, female
portraits Required block, containing:
<portrait> Optional, many
ruler Optional block, containing:
add Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
gender Optional male, female
portraits Required block, containing:
<portrait> Optional, many
set Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
gender Optional male, female
portraits Required block, containing:
<portrait> Optional, many
pop Optional block, containing:
add Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many
set Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many
species Optional block, containing:
add Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many
set Optional, many block, containing:
trigger Optional block, containing:
Required trigger fields
Scope object in Any scope Optional block, containing:
gender Required male, female
portraits Required block, containing:
<portrait> Optional, many

projectile

path: gfx/projectiles

Edit this type

field description required rhs
name Required Scalar
hit_entity Required <model_entity>
shield_hit_entity Required <model_entity>
muzzle_flash_entity Optional <model_entity>
windup_entity Optional <model_entity>
stretch_to_fit Optional yes/no
texture Optional Filepath
width Optional Float
texture_scroll_speed Optional Float
texture_tiling Optional Float
entity Optional <model_entity>
speed Optional Float
max_duration Speed of projectile might be scaled up in order to guarantee reaching the target within <max_duration> seconds Optional Float
color Required block, containing:
Float between 0 and 1 Min 4, up to 4
hit Optional block, containing:
duration Required Float
alpha_curve Required block, containing:
Float Min 6, up to 12
miss Optional block, containing:
duration Required Float
alpha_curve Required block, containing:
Float Min 6, up to 12
shield_impact Required block, containing:
size Required small, medium, large
loop_duration Optional Float
delay Required Float

interface

bitmapfont

path: interface

Edit this type

field description required rhs
name Required Scalar
path Optional Scalar
color Required Scalar
fontfiles Optional block, containing:
Scalar Required, many
cursor_offset Optional block, containing:
Integer Min 2, up to 2
selection_offset Optional block, containing:
Integer Min 2, up to 2

bitmapfont_override

path: interface

Edit this type

field description required rhs
name Required <bitmapfont>
ttf_font Optional
ttf_size Optional Integer
vertical_offset Optional Integer
fontfiles Optional block, containing:
Scalar Required, many
languages Required block, containing:
l_russian, l_polish, l_simp_chinese Required, up to 3

gui_type

path: interface

Edit this type

field description required rhs
Required gui fields
Required gui_button fields

piechart

path: interface

Edit this type

field description required rhs
name Required Scalar
size Required Integer

progressbartype

path: interface

Edit this type

field description required rhs
name Required Scalar
textureFile Optional Filepath
textureFile1 Optional Filepath
textureFile2 Optional Filepath
effectFile Required Filepath
horizontal Optional yes/no
color Required block, containing:
Float Min 3, up to 3
colortwo Required block, containing:
Float Min 3, up to 3
size Required block, containing:
x Required Integer
y Required Integer

sprite

path: interface

Edit this type

field description required rhs
name Required Scalar
textureFile Optional Filepath
masking_texture Optional Filepath
effectFile Optional Filepath
alwaysTransparent Optional yes/no
transParencecheck Optional yes/no
noOfFrames Optional Integer
type Optional planet, room, character
character Optional yes/no
tilingCenter Optional yes/no
clicksound Optional <sound_effect>
loadType Optional Scalar
legacy_lazy_load Optional yes/no
texture_size Optional small
play_on_show Optional yes/no
animation_rate_fps Optional Integer
looping Optional yes/no
borderSize Optional block, containing:
x Required Integer
y Required Integer
hitbox_margin Optional block, containing:
x Required Integer
y Required Integer
animation Optional, many block, containing:
animationmaskfile Optional Filepath
animationtexturefile Optional Filepath
animationrotation Optional Float between -360 and 360
animationlooping Optional yes/no
animationtime Optional Float
animationdelay Optional Float
animationblendmode Optional overlay, add, multiply
animationtype Optional scrolling, rotating, pulsing, rotating_ccw, rotating_cw
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, up to 3
bg_position Optional block, containing:
x Required Integer
y Required Integer
bg_size Optional block, containing:
width Required Integer
height Required Integer
symbol_position Optional block, containing:
x Required Integer
y Required Integer
symbol_size Optional block, containing:
width Required Integer
height Required Integer
size Optional block, containing:
x Required Integer
y Required Integer

textcolors

path: interface

Edit this type

field description required rhs
Scalar Min 14, up to 10000 block, containing:
Integer between 0 and 255 Min 3, up to 3

map

map_galaxy_setting

path: map/galaxy

Edit this type

field description required rhs
core_radius_perc Core radius is x% of the galaxy radius Optional Float
num_stars_core_perc Number of stars in core Optional Float
stars_min_dist Min distance between stars Optional Float
Optional galaxy_shape fields
countries Optional block, containing:
ideal_sq_dist_between int*int Ideal square distance between countries Required Integer
min_sq_dist_between int*int Min square distance between countries Required Integer
fallen_empires Optional block, containing:
ideal_sq_dist_between int*int Ideal square distance between countries Required Integer
min_sq_dist_between int*int Min square distance between countries Required Integer
max_military_fleet_count Number of military fleets the empire will start with Required Integer
ships_per_fleet Required Integer

map_setup_scenerio

path: map/setup_scenerios

Edit this type

field description required rhs
name Required Localisation key
priority priority decides in which order the scenarios are listed Required Integer
num_stars Required Integer
radius should be less than 500, preferably less than ~460 Required Integer
num_empire_default Required Integer
fallen_empire_default Required Integer
fallen_empire_max Required Integer
marauder_empire_default Required Integer
marauder_empire_max Required Integer
advanced_empire_default Required Integer
colonizable_planet_odds Required Float
primitive_odds Required Float
crisis_strength Required Float
default Optional yes/no
cluster_radius Required Integer
cluster_distance_from_core Required Integer
max_hyperlane_distance Required Integer
num_nebulas Required Integer
nebula_size Required Integer
nebula_min_dist Required Integer
num_wormhole_pairs_default Required Integer
num_gateways_default Required Integer
num_hyperlanes_default Required Integer
supports_shape Required, many elliptical, spiral_2, spiral_4, ring
num_empires limits player customization Required block, containing:
min Required Integer
max Required Integer
cluster_count Required block, containing:
method Required one_every_x_empire, constant
value Required Integer
max Required Integer
home_system_partitions Required block, containing:
max_systems Required Integer
min_systems Required Integer
min_bridges Required Integer
max_bridges Required Integer
method Required breadth_first
open_space_partitions Required block, containing:
max_systems Required Integer
min_systems Required Integer
min_bridges Required Integer
max_bridges Required Integer
method Required depth_first
num_wormhole_pairs Required block, containing:
min Required Integer
max Required Integer
num_gateways Required block, containing:
min Required Integer
max Required Integer
num_hyperlanes Required block, containing:
min Required Float
max Required Float

music

music

path: music

Edit this type

field description required rhs
name Required <song>
file Required Scalar
volume Optional Float

song

path: music

Edit this type

field description required rhs
name Required Scalar

prescripted_countries

prescripted_country

path: prescripted_countries

Edit this type

field description required rhs
name Required Scalar
adjective Required Synchronised localisation key
spawn_enabled Optional yes/no
spawn_enabled Optional always
default Optional yes
ignore_portrait_duplication Optional yes/no
spawn_as_fallen Optional yes/no
ship_prefix Required Synchronised localisation key
room Required gfx/portraits/city_sets icon
room Required <asset_selector> of subtype room
authority Optional <authority>
government Optional <government>
ethic Optional, many <ethos>
planet_name Required Synchronised localisation key
planet_class Required <planet_class> of subtype habitable_planet
initializer Optional <solar_system_initializer>
initializer Optional
system_name Required Synchronised localisation key
graphical_culture Required <graphical_culture>
city_graphical_culture Required <graphical_culture>
name_list Optional <name_list>
species_name Optional Synchronised localisation key
species_plural Optional Synchronised localisation key
species_adjective Optional Synchronised localisation key
species_class Optional <species_class>
species_bio Optional Scalar
portrait Optional <portrait>
portrait Optional <portrait_group>
trait Optional, many <trait> of subtype species_trait
species Optional block, containing:
class Required <species_class>
portrait Required <portrait>
portrait Required <portrait_group>
name Required Synchronised localisation key
plural Required Synchronised localisation key
adjective Required Synchronised localisation key
name_list Required <name_list>
trait Optional, many <trait> of subtype species_trait
secondary_species Optional block, containing:
class Required <species_class>
portrait Required <portrait>
portrait Required <portrait_group>
name Required Synchronised localisation key
plural Required Synchronised localisation key
adjective Required Synchronised localisation key
name_list Required <name_list>
trait Optional, many <trait> of subtype species_trait
civics Optional block, containing:
<civic> Optional, many
flags Optional block, containing:
Scalar, a "country_flag" value Optional, many
empire_flag Required block, containing:
icon Required block, containing:
category Required Scalar
file Required Scalar
background Required block, containing:
category Required Scalar
file Required Scalar
colors Required block, containing:
<color_define> Optional, up to 4
null Optional, up to 4
ruler Required block, containing:
name Required Synchronised localisation key
gender Required male, female
portrait Required <portrait>
portrait Required <portrait_group>
texture Required Integer
hair Optional Integer
clothes Optional Integer
ruler_title Optional Synchronised localisation key
ruler_title_male Optional Synchronised localisation key
ruler_title_female Optional Synchronised localisation key
heir_title Optional Synchronised localisation key
heir_title_female Optional Synchronised localisation key
leader_class Optional ruler, scientist, admiral, governor, general
trait Optional, many <trait> of subtype leader_trait

sound

sound

path: sound

Edit this type

field description required rhs
name Required Scalar
file Required Scalar
volume Optional Float
always_load Optional yes/no
priority Optional Integer

sound_category

path: sound

Edit this type

field description required rhs
name Required Scalar
soundeffects Required block, containing:
<sound_effect> Optional, many
compressor Optional block, containing:
enabled Required yes/no
pregain Required Float
postgain Required Float
ratio Required Float
threshold Required Float
attacktime Required Float
releasetime Required Float

sound_effect

path: sound

Edit this type

field description required rhs
name Required Scalar
loop Optional yes/no
max_audible Optional Integer
max_audible_behaviour Optional fail
volume Optional Float
looping_volume_random_offset Optional yes/no
looping_delay_random_offset Optional yes/no
looping_playbackrate_random_offset Optional yes/no
is3d Optional yes/no
fade_out Optional Float
fade_in Optional Float
playbackrate Optional Integer
falloff Optional <sound_falloff>
random_sound_when_looping Optional yes/no
sounds Required block, containing:
sound Optional, many <sound>
weighted_sound Optional, many block, containing:
sound Required <sound>
weight Required Integer
volume_random_offset Optional block, containing:
Float Min 2, up to 2
playbackrate_random_offset Optional block, containing:
Float Min 2, up to 2
delay_random_offset Optional block, containing:
Float Min 2, up to 2

sound_falloff

path: sound

Edit this type

field description required rhs
name Required Scalar
type Optional linear
height_scale Optional Float
min_distance Required Float
max_distance Required Float

sound_group

path: sound

Edit this type

field description required rhs
name Required Scalar
sort_order Optional Integer
soundoverride Optional, many block, containing:
name Required <sound>
file Required Scalar
soundeffectoverrides Optional block, containing:
<sound_effect> Optional, many <sound_effect>
soundfileoverrides Optional block, containing:
<sound> Optional, many Scalar

sound_master_compressor

path: sound

Edit this type

field description required rhs
pregain Required Float
postgain Required Float
ratio Required Float
threshold Required Float
attacktime Required Float
releasetime Required Float

sound_music_compressor

path: sound

Edit this type

field description required rhs
enabled Required yes/no
pregain Required Float
postgain Required Float
ratio Required Float
threshold Required Float
attacktime Required Float
releasetime Required Float