Stellaris

Stellaris

Giga Diversity
hyper_fool_80 2022 年 2 月 2 日 上午 11:51
Question of your code?
is the code
init_effect = { every_system_planet = { planet_event = { id = gdterraformmodspawn.1 } planet_event = { id = gdterraformmodspawn.2 } set_planet_flag = rareterraformmodifierchecked planet_event = { id = gdpdhabmodifiers.00 } planet_event = { id = gd_gpm_modifiers.00 } } }
to have every system planet roll GPM modifiers when the system is Created?
I ask because I've been trying to figure out a way to add compatibility between Guilli's and several mods that add systems after game start.
< >
正在显示第 1 - 1 条,共 1 条留言
taimao  [开发者] 2022 年 2 月 6 日 上午 11:04 
Yes, gd_gpm_modifiers.00 can be called on a planet and it will set a planet flag gdgpmmodifiers. Then it rolls through GPM modifiers. Since it will check for the planet flag, you can't roll the GPM modifiers again on any planet flagged using gd_gpm_modifiers.00.

All planets that are generated at the start of the game are marked with planet flag planet flag gdgpmmodifiers. This means that only planets generated after the start of the game should be effected.

I would look at gd_gpm_modifier_spawn_check.txt in the event folder
最后由 taimao 编辑于; 2022 年 2 月 6 日 上午 11:07
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50