more error cleaning
This commit is contained in:
parent
d9c60a5b08
commit
707660e545
65 changed files with 24545 additions and 2406 deletions
|
|
@ -451,7 +451,7 @@ culture_ai_weight_skirmishers = {
|
|||
|
||||
if = { # Cultures that favours skirmishers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_baltic
|
||||
has_cultural_pillar = heritage_ugro_permian
|
||||
|
|
@ -463,7 +463,7 @@ culture_ai_weight_skirmishers = {
|
|||
}
|
||||
if = { # Cultures that dislike skirmishers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_central_germanic
|
||||
has_cultural_pillar = heritage_frankish
|
||||
|
|
@ -477,7 +477,7 @@ culture_ai_weight_skirmishers = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_skirmisher_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -490,7 +490,7 @@ culture_ai_weight_archers = {
|
|||
|
||||
if = { # Cultures that favours archers
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_west_germanic
|
||||
has_cultural_pillar = heritage_brythonic
|
||||
|
|
@ -507,8 +507,8 @@ culture_ai_weight_archers = {
|
|||
if = { # Cultures that dislike archers
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_frankish }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_frankish }
|
||||
}
|
||||
}
|
||||
add = -60
|
||||
|
|
@ -516,7 +516,7 @@ culture_ai_weight_archers = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_archer_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -529,7 +529,7 @@ culture_ai_weight_heavy_infantry = {
|
|||
|
||||
if = { # Cultures that favours heavy infantry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_central_germanic
|
||||
has_cultural_pillar = heritage_north_germanic
|
||||
|
|
@ -544,7 +544,7 @@ culture_ai_weight_heavy_infantry = {
|
|||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
OR = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_heavy_infantry_maa = yes
|
||||
}
|
||||
|
||||
|
|
@ -563,8 +563,8 @@ culture_ai_weight_pikemen = {
|
|||
if = { # Cultures that favours spearmen
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_latin }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_latin }
|
||||
}
|
||||
}
|
||||
add = 40
|
||||
|
|
@ -572,7 +572,7 @@ culture_ai_weight_pikemen = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_pikemen_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -587,7 +587,7 @@ culture_ai_weight_light_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_iranian }
|
||||
culture ?= { has_cultural_pillar = heritage_iranian }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -595,7 +595,7 @@ culture_ai_weight_light_cavalry = {
|
|||
if = { # Cultures that favours light cavalry
|
||||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_arabic
|
||||
has_cultural_pillar = heritage_berber
|
||||
|
|
@ -611,11 +611,11 @@ culture_ai_weight_light_cavalry = {
|
|||
if = { # Cultures that dislike light cavalry
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_tibetan }
|
||||
culture = { has_cultural_pillar = heritage_baltic }
|
||||
culture = { has_cultural_pillar = heritage_burman }
|
||||
culture = { has_cultural_pillar = heritage_somalian }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_tibetan }
|
||||
culture ?= { has_cultural_pillar = heritage_baltic }
|
||||
culture ?= { has_cultural_pillar = heritage_burman }
|
||||
culture ?= { has_cultural_pillar = heritage_somalian }
|
||||
}
|
||||
}
|
||||
add = -60
|
||||
|
|
@ -623,7 +623,7 @@ culture_ai_weight_light_cavalry = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_light_cavalry_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -632,12 +632,12 @@ culture_ai_weight_light_cavalry = {
|
|||
|
||||
if = { # Cultures with a preference for Camel Riders should buy those over normal light cavalry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
has_innovation = innovation_war_camels
|
||||
}
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_arabic }
|
||||
culture = { has_cultural_pillar = heritage_berber }
|
||||
culture ?= { has_cultural_pillar = heritage_arabic }
|
||||
culture ?= { has_cultural_pillar = heritage_berber }
|
||||
}
|
||||
}
|
||||
add = -200
|
||||
|
|
@ -651,11 +651,11 @@ culture_ai_weight_heavy_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_iranian }
|
||||
culture ?= { has_cultural_pillar = heritage_iranian }
|
||||
|
||||
# Steppe cultures
|
||||
culture = { has_cultural_pillar = heritage_turkic }
|
||||
culture = { has_cultural_pillar = heritage_mongolic }
|
||||
culture ?= { has_cultural_pillar = heritage_turkic }
|
||||
culture ?= { has_cultural_pillar = heritage_mongolic }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -664,16 +664,16 @@ culture_ai_weight_heavy_cavalry = {
|
|||
limit = {
|
||||
mpo_can_recruit_nomad_maa_trigger = no
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_central_germanic }
|
||||
culture = { has_cultural_pillar = heritage_frankish }
|
||||
culture = { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture ?= { has_cultural_pillar = heritage_central_germanic }
|
||||
culture ?= { has_cultural_pillar = heritage_frankish }
|
||||
culture ?= { has_cultural_pillar = heritage_indo_aryan }
|
||||
}
|
||||
}
|
||||
add = 40
|
||||
}
|
||||
if = { # Cultures that dislike heavy cavalry
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
OR = {
|
||||
has_cultural_pillar = heritage_tibetan
|
||||
has_cultural_pillar = heritage_baltic
|
||||
|
|
@ -693,7 +693,7 @@ culture_ai_weight_heavy_cavalry = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_heavy_cavalry_maa = yes
|
||||
}
|
||||
}
|
||||
|
|
@ -707,8 +707,8 @@ culture_ai_weight_camels = {
|
|||
if = { # Cultures that favours camel riders
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_arabic }
|
||||
culture = { has_cultural_pillar = heritage_berber }
|
||||
culture ?= { has_cultural_pillar = heritage_arabic }
|
||||
culture ?= { has_cultural_pillar = heritage_berber }
|
||||
}
|
||||
}
|
||||
add = 80
|
||||
|
|
@ -721,9 +721,9 @@ culture_ai_weight_elephants = {
|
|||
if = { # Cultures that favours war elephants
|
||||
limit = {
|
||||
OR = {
|
||||
culture = { has_cultural_pillar = heritage_dravidian }
|
||||
culture = { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture = { has_cultural_pillar = heritage_burman }
|
||||
culture ?= { has_cultural_pillar = heritage_dravidian }
|
||||
culture ?= { has_cultural_pillar = heritage_indo_aryan }
|
||||
culture ?= { has_cultural_pillar = heritage_burman }
|
||||
}
|
||||
}
|
||||
add = 60
|
||||
|
|
@ -808,7 +808,7 @@ counter_synergy_ai_weight_gunpowder = {
|
|||
value = 200 # Since these are hard-limited elsewhere, prefer them highly
|
||||
if = {
|
||||
limit = {
|
||||
culture = { has_cultural_era_or_later = culture_era_late_medieval }
|
||||
culture ?= { has_cultural_era_or_later = culture_era_late_medieval }
|
||||
number_maa_regiments_of_base_type = {
|
||||
type = pikemen
|
||||
value >= 3
|
||||
|
|
@ -824,7 +824,7 @@ counter_synergy_ai_weight_gunpowder = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
culture = { has_cultural_pillar = heritage_chinese }
|
||||
culture ?= { has_cultural_pillar = heritage_chinese }
|
||||
}
|
||||
add = 10 # more gun
|
||||
}
|
||||
|
|
@ -854,7 +854,7 @@ culture_ai_weight_crossbowmen = {
|
|||
|
||||
if = { # Cultures with a special MaA of that type should avoid the base version of the unit
|
||||
limit = {
|
||||
culture = {
|
||||
culture ?= {
|
||||
culture_has_improved_crossbowmen = yes
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue