Skip to content

Instantly share code, notes, and snippets.

@distums
Created April 14, 2023 17:40
Show Gist options
  • Save distums/a036ad9e1e9f4c1a775e7b999ef4f6c6 to your computer and use it in GitHub Desktop.
Save distums/a036ad9e1e9f4c1a775e7b999ef4f6c6 to your computer and use it in GitHub Desktop.
original_people_on_action_events.txt
#####################################################
# ZoFE Original People On Action Events
# By Kolyn
#####################################################
namespace = original_people_on_action
### Remove district
planet_event = {
id = original_people_on_action.1
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
has_planet_flag = original_people_start
}
add_deposit = d_searing_desert
add_deposit = d_underwater_vent
add_deposit = d_tempestous_mountain
add_deposit = d_ore_rich_caverns
add_deposit = d_prosperous_mesa
add_deposit = d_submerged_ore_veins
add_deposit = d_lush_jungle
add_deposit = d_teeming_reef
if = {
limit = { owner = { is_lithoid_empire = yes } }
add_deposit = d_rich_mountain
}
else = {
add_deposit = d_black_soil
}
random_list = {
33 = { add_deposit = d_frozen_gas_lake }
33 = { add_deposit = d_prosperous_mesa }
33 = { add_deposit = d_fertile_lands }
}
add_deposit = d_dust_caverns
add_deposit = d_bubbling_swamp
add_deposit = d_crystalline_caverns
add_district = district_city
add_district = district_city
add_district = district_city
add_district = district_city
add_district = district_city
add_district = district_city
add_building = building_fe_affluence_center
add_building = building_master_archive
add_building = building_fe_class_4_singularity
add_building = building_fe_class_4_singularity
add_building = building_fe_dimensional_fabricator
add_building = building_fe_dimensional_fabricator
}
}
}
#Mark Original People
event = {
id = original_people_on_action.2
hide_window = yes
is_triggered_only = yes
trigger = {
any_country = {
has_origin = origin_original_people
}
}
immediate = {
every_country = {
limit = {
has_origin = origin_original_people
}
set_country_flag = original_people
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment