我直接给现成的
转自某位大佬自己写的代码,直接~打开控制台复制粘贴就行
检查未觉醒的机械堕落是不是疯的:
effect random_country = { limit = { has_civic = civic_custodian_directives } if = { limit = { has_country_flag = fallen_machine_empire_awaken_1 } custom_tooltip = "zhengchang" } else_if = { limit = { has_country_flag = fallen_machine_empire_awaken_2 } custom_tooltip = "fengle" } }
显示zhengchang就是没疯,会觉醒成最终防御矩阵帮你打肃正;显示fengle就是疯了,觉醒后会失控;都没显示就是你这局没机械堕落,或者他已经觉醒了。
将未觉醒的机械堕落变成正常的:
effect random_country = { limit = { has_civic = civic_custodian_directives } remove_country_flag = fallen_machine_empire_awaken_2 set_country_flag = fallen_machine_empire_awaken_1 }
将未觉醒的机械堕落变成疯的:
effect random_country = { limit = { has_civic = civic_custodian_directives } remove_country_flag = fallen_machine_empire_awaken_1 set_country_flag = fallen_machine_empire_awaken_2 }
检查L星门会开出什么:
effect if = { limit = { has_global_flag = gray_goo_crisis_set } custom_tooltip = "jiandui"
} else_if = { limit = { has_global_flag = dragon_season } custom_tooltip = "long" } else_if = { limit = { has_global_flag = gray_goo_empire_set } custom_tooltip = "guojia" }
显示jiandui就是灰蛊舰队;显示long就是纳米龙;显示guojia就是纳米机器人国家;都没显示就是什么都没有,科研船在L星团扫描星球类型为纳米机器人世界的球有6%的概率出灰风异常
在开L星门前修改门里会出的东西:
灰蛊舰队:effect if = { set_global_flag = gray_goo_crisis_set set_global_flag = active_gray_goo }
纳米龙:effect set_global_flag = dragon_season
纳米国家:effect set_global_flag = gray_goo_empire_set
什么也没有:effect if = { remove_global_flag = gray_goo_crisis_set remove_global_flag = active_gray_goo remove_global_flag = dragon_season remove_global_flag = gray_goo_empire_set }