스크립트 효과
catastrophic_earthquake_damage
정의in_game/events/earthquake_events.txt:234
236every_pop = {
237add_pop_size = {
238value = pop_size
239multiply = -0.2
}
}
242ordered_buildings_in_location = {
243order_by = building_level
244max = {
245value = 1
246add = {
247value = num_buildings
248divide = 8
249ceiling = yes
}
}
}
254every_unit_in_location = {
255destroy_unit = yes
}
257every_neighbor_location = {
259every_pop = {
260add_pop_size = {
261value = pop_size
262multiply = -0.1
}
}
265ordered_buildings_in_location = {
266order_by = building_level
267max = {
268value = 1
269add = {
270value = num_buildings
271divide = 10
}
}
}
276every_unit_in_location = {
277damage_unit_percent = {
0.5
1
}
278damage_unit_morale_percent = {
0.75
1
}
}
}