Hello!
I am trying to make a random choice. I've noticed that the random and random_list effects choose a random effect listed within.
I am trying to do this to specify a planet has at least one of a specific set of orbital deposits, however, nothing seems to be working.
Ive looked through the wiki, other mods, the game files itself, etc, nothing seems to be working.
What is the correct way to choose a random orbital deposit from a select set of deposits?
Alternatively, what is the correct way to use random_list, or random?
This is the error that i got before i gave up for the forums. Those lines are hjighlighted below:
I am trying to make a random choice. I've noticed that the random and random_list effects choose a random effect listed within.
I am trying to do this to specify a planet has at least one of a specific set of orbital deposits, however, nothing seems to be working.
Ive looked through the wiki, other mods, the game files itself, etc, nothing seems to be working.
What is the correct way to choose a random orbital deposit from a select set of deposits?
Alternatively, what is the correct way to use random_list, or random?
Code:
[15:35:34][effect_impl.cpp:293]: effect at file: common/solar_system_initializers/strong_start_initializer.txt line: 28 accepts only yes or no as values
[15:35:34][effect_impl.cpp:293]: effect at file: common/solar_system_initializers/strong_start_initializer.txt line: 34 accepts only yes or no as values
This is the error that i got before i gave up for the forums. Those lines are hjighlighted below:
Code:
planet = {
count = 6
class = random_non_colonizable
orbit_distance = 20
orbit_angle = { min = 45 max = 315 }
size = { min = 8 max = 11 }
init_effect = {
orbital_deposit_tile = {
random_list = {
50 = {
>add_deposit = { bsi_mineral_deposit }
}
50 = {
>add_deposit = { bsi_energy_deposit }
}
}
}
}