Scripted EffectChanged this version
minor_earthquake_damage
Definitionin_game/events/earthquake_events.txt:131
133every_pop = {
134add_pop_size = {
135value = pop_size
136multiply = -0.05
}
}
139ordered_buildings_in_location = {
140order_by = building_level
141check_range_bounds = no
142max = {
143value = 1
144add = {
145value = num_buildings
146divide = 15
147ceiling = yes
}
}
}
152every_unit_in_location = {
153damage_unit_percent = {
0.33
1
}
154damage_unit_morale_percent = {
0.5
1
}
}
156every_neighbor_location = {
158every_pop = {
159add_pop_size = {
160value = pop_size
161multiply = -0.05
}
}
164ordered_buildings_in_location = {
165order_by = building_level
166max = {
167value = 1
168add = {
169value = num_buildings
170divide = 20
}
}
}
175every_unit_in_location = {
176damage_unit_percent = {
0
0.33
}
177damage_unit_morale_percent = {
0.2
0.5
}
}
}