I am writing mod and come to see colon and pipe in stellaris files. How do i read it and what it does specifically?
Examples:
Stellaris/common/technology/00_soc_tech.txt
factor = value:tech_weight_likelihood
Stellaris/common/pop_jobs/01_ruler_jobs.txt
mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult|
Examples:
Stellaris/common/technology/00_soc_tech.txt
factor = value:tech_weight_likelihood
Code:
tech_hive_confluence = {
cost = @tier3cost2
area = society
category = { statecraft }
tier = 3
prerequisites = { "tech_hive_cluster" "tech_colonial_centralization" }
weight = @tier3weight2
weight_modifier = {
modifier = {
factor = value:tech_weight_likelihood
research_leader = {
area = society
has_trait = "leader_trait_expertise_statecraft"
}
}
}
ai_weight = {
modifier = {
factor = 1.25
research_leader = {
area = society
has_trait = "leader_trait_expertise_statecraft"
}
}
}
}
mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult|
Code:
executive = {
category = ruler
condition_string = RULER_JOB_TRIGGER
building_icon = building_capital
clothes_texture_index = 1
possible_pre_triggers = {
has_owner = yes
is_enslaved = no
is_being_purged = no
is_being_assimilated = no
is_sapient = yes
}
possible_precalc = can_fill_ruler_job
resources = {
category = planet_executives
produces = {
unity = 6
}
upkeep = {
consumer_goods = 2
}
}
triggered_planet_modifier = {
potential = {
always = yes
}
trade_value_add = 4
mult = value:scripted_modifier_mult|MODIFIER|pop_job_trade_mult|
}
triggered_planet_modifier = {
potential = {
always = yes
}
planet_amenities_add = 3
mult = value:scripted_modifier_mult|MODIFIER|pop_job_amenities_mult|
}
weight = {
weight = @ruler_job_weight
mult = value:job_weights_modifier|JOB|executive|RESOURCE|unity|
mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_amenities_mult|
mult = value:scripted_modifier_job_weight_mult|MODIFIER|pop_job_trade_mult|
modifier = {
factor = 5
has_job = executive
}
# crisis purge
modifier = {
factor = 0.01
exists = planet
exists = planet.controller
planet.controller = {
OR = {
is_country_type = swarm
is_country_type = ai_empire
}
}
OR = { # contingency won't purge itself
NOT = { exists = event_target:custodian_bot }
AND = {
exists = event_target:custodian_bot
NOT = { species = { is_same_value = event_target:custodian_bot } }
}
}
}
}
}