超级玩家
- 贡献度
- 7
- 金元
- 9524
- 积分
- 980
- 精华
- 0
- 注册时间
- 2013-9-27
|
寻找名侦探柯南——天灾杀人事件
random = { # Die
chance = 20
modifier = { # Level 1
add = 10
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_avalanche_1
var:ND_county_start_natural_disasters = flag:ND_drought_1
var:ND_county_start_natural_disasters = flag:ND_earthquakes_1
var:ND_county_start_natural_disasters = flag:ND_floods_1
var:ND_county_start_natural_disasters = flag:ND_hurricane_1
var:ND_county_start_natural_disasters = flag:ND_tornado_1
var:ND_county_start_natural_disasters = flag:ND_tsunami_1
var:ND_county_start_natural_disasters = flag:ND_wildfire_1
}
}
}
modifier = { # Level 2
add = 20
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_avalanche_2
var:ND_county_start_natural_disasters = flag:ND_drought_2
var:ND_county_start_natural_disasters = flag:ND_earthquakes_2
var:ND_county_start_natural_disasters = flag:ND_floods_2
var:ND_county_start_natural_disasters = flag:ND_hurricane_2
var:ND_county_start_natural_disasters = flag:ND_tornado_2
var:ND_county_start_natural_disasters = flag:ND_tsunami_2
var:ND_county_start_natural_disasters = flag:ND_wildfire_2
}
}
}
modifier = { # Level 3
add = 30
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_avalanche_3
var:ND_county_start_natural_disasters = flag:ND_drought_3
var:ND_county_start_natural_disasters = flag:ND_earthquakes_3
var:ND_county_start_natural_disasters = flag:ND_floods_3
var:ND_county_start_natural_disasters = flag:ND_hurricane_3
var:ND_county_start_natural_disasters = flag:ND_tornado_3
var:ND_county_start_natural_disasters = flag:ND_tsunami_3
var:ND_county_start_natural_disasters = flag:ND_wildfire_3
}
}
}
modifier = { # Age
add = 10
OR = {
age < 14
age > 50
}
}
modifier = { # Avalanche, floods, hurricane, tornado, tsunami
add = 20
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_avalanche_1
var:ND_county_start_natural_disasters = flag:ND_avalanche_2
var:ND_county_start_natural_disasters = flag:ND_avalanche_3
var:ND_county_start_natural_disasters = flag:ND_floods_1
var:ND_county_start_natural_disasters = flag:ND_floods_2
var:ND_county_start_natural_disasters = flag:ND_floods_3
var:ND_county_start_natural_disasters = flag:ND_hurricane_1
var:ND_county_start_natural_disasters = flag:ND_hurricane_2
var:ND_county_start_natural_disasters = flag:ND_hurricane_3
var:ND_county_start_natural_disasters = flag:ND_tornado_1
var:ND_county_start_natural_disasters = flag:ND_tornado_2
var:ND_county_start_natural_disasters = flag:ND_tornado_3
var:ND_county_start_natural_disasters = flag:ND_tsunami_1
var:ND_county_start_natural_disasters = flag:ND_tsunami_2
var:ND_county_start_natural_disasters = flag:ND_tsunami_3
}
}
OR = {
# Health traits
has_trait_rank = {
trait = wounded
rank >= 2
}
has_trait = one_legged
has_trait = maimed
has_trait = infirm
has_trait = incapable
has_trait = gout_ridden
has_trait = blind
# Physical Traits
has_trait = intellect_bad
has_trait = physique_bad
has_trait = clubfooted
has_trait = dwarf
has_trait = weak
has_trait = dull
has_trait = spindly
}
}
modifier = { # Drought
add = 20
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_drought_1
var:ND_county_start_natural_disasters = flag:ND_drought_2
var:ND_county_start_natural_disasters = flag:ND_drought_3
}
}
OR = {
health <= fine_health
# Health traits
has_trait = infirm
# Physical Traits
has_trait = physique_bad
}
}
modifier = { # Earthquakes
add = 20
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_earthquakes_1
var:ND_county_start_natural_disasters = flag:ND_earthquakes_2
var:ND_county_start_natural_disasters = flag:ND_earthquakes_3
}
}
OR = {
# Stress traits
has_trait = reclusive
# Health traits
has_trait_rank = {
trait = wounded
rank >= 2
}
has_trait = one_legged
has_trait = maimed
has_trait = infirm
has_trait = incapable
has_trait = gout_ridden
has_trait = blind
# Physical Traits
has_trait = intellect_bad
has_trait = physique_bad
has_trait = clubfooted
has_trait = dwarf
has_trait = weak
has_trait = dull
has_trait = spindly
}
}
modifier = { # Avalanche, Floods, Hurricane, Tornado, Tsunami
add = -1000
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_avalanche_1
var:ND_county_start_natural_disasters = flag:ND_avalanche_2
var:ND_county_start_natural_disasters = flag:ND_floods_1
var:ND_county_start_natural_disasters = flag:ND_floods_2
var:ND_county_start_natural_disasters = flag:ND_hurricane_1
var:ND_county_start_natural_disasters = flag:ND_hurricane_2
var:ND_county_start_natural_disasters = flag:ND_tornado_1
var:ND_county_start_natural_disasters = flag:ND_tornado_2
var:ND_county_start_natural_disasters = flag:ND_tsunami_1
var:ND_county_start_natural_disasters = flag:ND_tsunami_2
}
}
any_in_list = {
list = ND_in_natural_disasters_county_list
is_imprisoned = yes
}
}
modifier = { # Wildfire
add = -1000
scope:ND_can_start_natural_disasters_county = {
OR = {
var:ND_county_start_natural_disasters = flag:ND_wildfire_1
var:ND_county_start_natural_disasters = flag:ND_wildfire_2
var:ND_county_start_natural_disasters = flag:ND_wildfire_3
}
}
any_in_list = {
list = ND_in_natural_disasters_county_list
OR = {
has_trait = reclusive
is_imprisoned = yes
}
}
}
death = { death_reason = ND_death_natural_disasters }
}
} |
|