脚本效果
hacw_side_with_faction_effect_hook
定义in_game/events/disaster/hook_and_cod_wars.txt:1120
1121add_estate_satisfaction = {
}
1122add_estate_satisfaction = {
}
1123custom_tooltip = {
1124text = hook_and_cod_wars.1100.gain_burghers_loyalty 我们拥有的所有是城镇,且至少20.0%人口为市民的地点获得pop satisfaction severe bonus人群满意度,同时最多4个不是城镇,且市民比例低于20.0%的地点失去pop satisfaction ultimate penalty人群满意度,并加入Hacw Cod Faction叛军
1125ordered_in_list = {
1126list = hacw_nobles_location_list
1127order_by = population
1128max = 4
1129every_pop = {
1130limit = {
1131owner = root
}
1134change_pop_allegiance = scope:hacw_cod_faction
}
}
1137every_in_list = {
1138list = hacw_burghers_location_list
1139every_pop = {
1140limit = {
1141owner = root
}
}
}
1146destroy_rebel = scope:hacw_hook_faction
1147set_variable = {
1147value = scope:hacw_cod_faction
}
}