Can anyone help me?
I create a custom system for one my races, but I can't seem to get the asteroids generate with a specific set of resources, or get the home world to generate the natural beauty modifier.
This is what I have thus far both, any suggestions on how I can fix this?
I create a custom system for one my races, but I can't seem to get the asteroids generate with a specific set of resources, or get the home world to generate the natural beauty modifier.
This is what I have thus far both, any suggestions on how I can fix this?
Code:
planet = {
name = "Ar Ciel"
class = "pc_ocean"
orbit_distance = 40
orbit_angle = 120
size = 16
starting_planet = yes
has_ring = yes
tile_blockers = none
modifier = pm_natural_beauty
init_effect = {
random_tile = {
limit = { has_blocker = no has_building = no num_adjacent_tiles > 3 }
set_building = "building_capital_1"
add_resource = {
resource = food
amount = 2
replace = yes
}
add_resource = {
resource = minerals
amount = 1
}
random_neighboring_tile = {
limit = { has_blocker = no has_building = no }
set_building = "building_hydroponics_farm_1"
add_resource = {
resource = food
amount = 1
replace = yes
}
}
random_neighboring_tile = {
limit = { has_blocker = no has_building = no }
set_building = "building_power_plant_1"
add_resource = {
resource = energy
amount = 1
replace = yes
}
}
random_neighboring_tile = {
limit = { has_blocker = no has_building = no }
set_building = "building_power_plant_1"
add_resource = {
resource = energy
amount = 1
replace = yes
}
}
random_neighboring_tile = {
limit = { has_blocker = no has_building = no }
set_building = "building_mining_network_1"
add_resource = {
resource = minerals
amount = 1
replace = yes
}
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_failing_infrastructure"
add_resource = {
resource = engineering_research
amount = 1
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_failing_infrastructure"
add_resource = {
resource = society_research
amount = 1
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_failing_infrastructure"
add_resource = {
resource = physics_research
amount = 1
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_decrepit_dwellings"
add_resource = {
resource = energy
amount = 2
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_decrepit_dwellings"
add_resource = {
resource = food
amount = 1
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
set_blocker = "tb_decrepit_dwellings"
add_resource = {
resource = energy
amount = 1
replace = yes
}
}
random_tile = {
limit = { has_blocker = no has_building = no }
add_resource = {
resource = food
amount = 1
replace = yes
}
}
}
Code:
planet = {
class = "pc_asteroid"
orbit_distance = 0
orbit_angle = 200
size = 5
has_ring = no
init_effect = {
add_resource = {
resource = minerals
amount = 3
}
}
}