脚本效果

rtr_change_allegiance_points

rtr_change_allegiance_pointsin_game/common/scripted_effects/situation_effects.txt:91

#################################### Red Turban Rebellions # ####################################

需要rtr_yuan_allegiance变量custom description

定义in_game/common/scripted_effects/situation_effects.txt:91

92custom_description = {
93text = rtr_change_allegiance_points 该国的朝廷归顺度提高VALUE(当前:Rtr Yuan Allegiance)
94value = $value$
95if = {
96limit = {
96NOT = {
96has_variable = rtr_yuan_allegiance 朝廷归顺度
}
}
97set_variable = {
98name = rtr_yuan_allegiance 朝廷归顺度
99value = 0
}
}
102change_variable = {
103name = rtr_yuan_allegiance 朝廷归顺度
104add = $value$
}
106if = {
107limit = {
107has_variable = rtr_yuan_allegiance 朝廷归顺度
}
108if = {
109limit = {
}
110set_variable = {
111name = rtr_yuan_allegiance 朝廷归顺度
112value = 100
}
}
115if = {
116limit = {
}
117set_variable = {
118name = rtr_yuan_allegiance 朝廷归顺度
119value = -100
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明