事件

难民请求进城

black_death.1011in_game/events/situations/black_death.txt:1095
难民请求进城

逃避瘟疫的大批难民已经抵达了Target Location。他们绝望而饥饿,只想寻找一个还没有被死亡所侵蚀的安全港湾。

接纳他们能充实我们的人口。在人口流失如此严重的时代,这无疑是一种宝贵的资源,但同时也带来了将疾病引入城内的风险。大多数人会选择拒之门外,但他们的绝望可能会促使他们采取不理智的行为。无论怎样,必须采取有效措施处理难民问题。

需要腺鼠疫疫病immediate, option 1, triggerbd1011_cd变量triggeroutcome1变量after, option 1outcome2变量after, option 1

定义in_game/events/situations/black_death.txt:1095

1096type = country_event
1097category = situation_event
1099title = black_death.1011.t 难民请求进城
1100desc = black_death.1011.desc 逃避瘟疫的大批难民已经抵达了Target Location。他们绝望而饥饿,只想寻找一个还没有被死亡所侵蚀的安全港湾。

接纳他们能充实我们的人口。在人口流失如此严重的时代,这无疑是一种宝贵的资源,但同时也带来了将疾病引入城内的风险。大多数人会选择拒之门外,但他们的绝望可能会促使他们采取不理智的行为。无论怎样,必须采取有效措施处理难民问题。
1101outcome = neutral
1102image = "gfx/interface/illustrations/situation/black_death.dds"
1104trigger = {
1105NOT = {
1105has_variable = bd1011_cd
}
1106any_known_country = {
1106country_has_disease = disease:bubonic_plague
}
1107any_owned_non_rural_location = {
1108disease_presence = {
1108value <= 0.1
}
1109NOT = {
1109disease_has_stagnated = disease:bubonic_plague
}
1110disease_resistance(disease:bubonic_plague) < 0.5
}
}
1114immediate = {
1115set_variable = bd1011_cd
1116random_owned_non_rural_location = {
1117limit = {
1118disease_presence = {
1118value <= 0.1
}
1119NOT = {
1119disease_has_stagnated = disease:bubonic_plague
}
1120disease_resistance(disease:bubonic_plague) < 0.5
}
1122save_scope_as = target_location
}
1124random_list = {
11251 = {
1126set_variable = {
1126name = outcome1
1126value = yes
}
}
11281 = {
1129set_variable = {
1129name = outcome2
1129value = yes
}
}
11311 = {
}
}
}
1243after = {
1244if = {
1245limit = {
1245has_variable = outcome1
}
1246remove_variable = outcome1
}
1248if = {
1249limit = {
1249has_variable = outcome2
}
1250remove_variable = outcome2
}
}

选项

A接纳这些难民。
1139if = {
1140limit = {
1141country_has_disease = disease:bubonic_plague
}
1143if = {
1144limit = {
1144has_variable = outcome1
}
1145scope:target_location = {
1146set_disease_presence = {
1148value = 0.05
}
}
}
1152else_if = {
1153limit = {
1153has_variable = outcome2
}
1154scope:target_location = {
1155set_disease_presence = {
1157value = 0.1
}
}
}
}
1162custom_tooltip = pops_lose_10_satisfaction_tt 我们在Target Location的人群会失去pop satisfaction mild penalty人群满意度
1163hidden_effect = {
1164scope:target_location = {
1165every_pop = {
1166limit = {
1167owner = root
}
1169add_pop_satisfaction = pop_satisfaction_mild_penalty (-0.1)
}
}
}
1174scope:target_location = {
1175add_location_modifier = {
1176modifier = refugees_welcome
1177years = 5
1178mode = add_and_extend
}
}
1182ordered_owned_location = {
1183limit = {
1184is_capital = no
1185this != scope:target_location
1186region = root.capital.region
}
1188order_by = {
1189value = "disease_presence(disease:bubonic_plague)"
1190multiply = -1
}
1192max = 3
1193check_range_bounds = no
1194add_location_modifier = {
1195modifier = fleeing_pops_modifier
1196years = 5
1197mode = add_and_extend
}
}
1200change_societal_value = {
}
B建立收容难民的隔离营。
1206scale = -1
}
1209scope:target_location = {
1210add_location_modifier = {
1211modifier = refugees_welcome
1212years = 5
1213mode = add_and_extend
}
}
1216ordered_owned_location = {
1217limit = {
1218is_capital = no
1219this != scope:target_location
1220region = root.capital.region
}
1222order_by = {
1223value = "disease_presence(disease:bubonic_plague)"
1224multiply = -1
}
1226max = 1
1227check_range_bounds = no
1228add_location_modifier = {
1229modifier = fleeing_pops_modifier
1230years = 5
1231mode = add_and_extend
}
}
C把他们拒之门外。
1239add_prestige = prestige_weak_penalty (-5)
1240change_societal_value = {
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明