hopefully updated on actions and scripted triggers
This commit is contained in:
parent
84ac41f6ca
commit
a4d812a52c
27 changed files with 10879 additions and 4415 deletions
|
|
@ -237,12 +237,8 @@ building_orchards_requirement_terrain = {
|
|||
terrain = floodplains
|
||||
terrain = oasis
|
||||
has_building_or_higher = qanats_05
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = vegetarian_fruit_orchard_allowed }
|
||||
}
|
||||
culture = {
|
||||
has_cultural_parameter = vegetarian_fruit_orchard_allowed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -255,13 +251,7 @@ building_farm_estates_requirement_terrain = {
|
|||
terrain = hills
|
||||
terrain = jungle
|
||||
}
|
||||
AND = {
|
||||
exists = county.culture
|
||||
trigger_if = {
|
||||
limit = { exists = county.culture }
|
||||
county.culture ?= { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
|
||||
}
|
||||
}
|
||||
county.culture = { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -335,26 +325,14 @@ building_paddy_fields_requirement_terrain = {
|
|||
}
|
||||
AND = {
|
||||
terrain = wetlands
|
||||
AND = {
|
||||
exists = county.culture
|
||||
trigger_if = {
|
||||
limit = { exists = county.culture }
|
||||
county.culture ?= { has_cultural_parameter = champa_rice_wet_land_paddies }
|
||||
}
|
||||
}
|
||||
county.culture = { has_cultural_parameter = champa_rice_wet_land_paddies }
|
||||
}
|
||||
AND = {
|
||||
OR = {
|
||||
terrain = hills
|
||||
terrain = jungle
|
||||
}
|
||||
AND = {
|
||||
exists = county.culture
|
||||
trigger_if = {
|
||||
limit = { exists = county.culture }
|
||||
county.culture ?= { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
|
||||
}
|
||||
}
|
||||
county.culture = { has_cultural_parameter = rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -469,13 +447,7 @@ building_elephant_pens_requirement_terrain = {
|
|||
terrain = jungle
|
||||
OR = {
|
||||
geographical_region = world_innovation_elephants
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = elephant_pens_building_bonuses }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = elephant_pens_building_bonuses }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -483,13 +455,7 @@ building_horse_pastures_requirement_terrain = {
|
|||
OR = {
|
||||
terrain = steppe
|
||||
geographical_region = world_steppe_east
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = unlock_horse_pastures_building }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = unlock_horse_pastures_building }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -505,13 +471,7 @@ building_quarries_requirement_terrain = {
|
|||
OR = {
|
||||
terrain = mountains
|
||||
terrain = desert_mountains
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = can_build_quarries_everywhere }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = can_build_quarries_everywhere }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -526,13 +486,7 @@ building_warrior_lodges_requirement_terrain = {
|
|||
}
|
||||
NOT = { geographical_region = world_horse_buildings_in_hills_and_mountains }
|
||||
}
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = warrior_lodges_lift_restrictions }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = warrior_lodges_lift_restrictions }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -569,7 +523,7 @@ building_wind_furnace_requirement_terrain = {
|
|||
|
||||
}
|
||||
|
||||
scope:holder.culture ?= { has_innovation = innovation_wootz_steel }
|
||||
scope:holder.culture = { has_innovation = innovation_wootz_steel }
|
||||
}
|
||||
|
||||
building_hill_forts_requirement_terrain = {
|
||||
|
|
@ -633,13 +587,7 @@ building_caravanserai_requirement_terrain = {
|
|||
|
||||
building_qanats_requirement_terrain = {
|
||||
county ?= {
|
||||
AND = {
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = unlocks_qanat_building }
|
||||
}
|
||||
}
|
||||
culture = { has_cultural_parameter = unlocks_qanat_building }
|
||||
county_has_province_with_terrain = {
|
||||
terrain = hills
|
||||
terrain = tells
|
||||
|
|
@ -700,7 +648,34 @@ barony_cannot_construct_holding = {
|
|||
terrain = desert
|
||||
terrain = desert_mountains
|
||||
}
|
||||
geographical_region = world_africa_sahara
|
||||
# the corridors
|
||||
trigger_if = {
|
||||
limit = { geographical_region = world_africa_sahara }
|
||||
OR = {
|
||||
this = province:6650
|
||||
this = province:6651
|
||||
this = province:6652
|
||||
this = province:6653
|
||||
this = province:6654
|
||||
this = province:6655
|
||||
this = province:6656
|
||||
this = province:6657
|
||||
this = province:6658
|
||||
this = province:6659
|
||||
this = province:6660
|
||||
this = province:6661
|
||||
this = province:6662
|
||||
this = province:6663
|
||||
this = province:6664
|
||||
this = province:6665
|
||||
this = province:6666
|
||||
this = province:6667
|
||||
this = province:6668
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -809,22 +784,22 @@ add_random_building_trigger = {
|
|||
generic_economic_building_innovation_trigger = {
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_01 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_crop_rotation }
|
||||
scope:build_owner.culture = { has_innovation = innovation_crop_rotation }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_02 }
|
||||
building_requirement_castle_city_church = { LEVEL = 02 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_manorialism }
|
||||
scope:build_owner.culture = { has_innovation = innovation_manorialism }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_04 }
|
||||
building_requirement_castle_city_church = { LEVEL = 03 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_guilds }
|
||||
scope:build_owner.culture = { has_innovation = innovation_guilds }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_06 }
|
||||
building_requirement_castle_city_church = { LEVEL = 04 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_cranes }
|
||||
scope:build_owner.culture = { has_innovation = innovation_cranes }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -832,22 +807,22 @@ generic_economic_building_innovation_trigger = {
|
|||
generic_fortification_building_innovations_trigger = {
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_01 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_motte }
|
||||
scope:build_owner.culture = { has_innovation = innovation_motte }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_02 }
|
||||
building_requirement_castle_city_church = { LEVEL = 02 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_battlements }
|
||||
scope:build_owner.culture = { has_innovation = innovation_battlements }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_04 }
|
||||
building_requirement_castle_city_church = { LEVEL = 03 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_hoardings }
|
||||
scope:build_owner.culture = { has_innovation = innovation_hoardings }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_06 }
|
||||
building_requirement_castle_city_church = { LEVEL = 04 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_machicolations }
|
||||
scope:build_owner.culture = { has_innovation = innovation_machicolations }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -855,22 +830,22 @@ generic_fortification_building_innovations_trigger = {
|
|||
generic_recruitment_building_innovations_trigger = {
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_01 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_barracks }
|
||||
scope:build_owner.culture = { has_innovation = innovation_barracks }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_02 }
|
||||
building_requirement_castle_city_church = { LEVEL = 02 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_burhs }
|
||||
scope:build_owner.culture = { has_innovation = innovation_burhs }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_04 }
|
||||
building_requirement_castle_city_church = { LEVEL = 03 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_castle_baileys }
|
||||
scope:build_owner.culture = { has_innovation = innovation_castle_baileys }
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { has_building_or_higher = $BUILDING$_06 }
|
||||
building_requirement_castle_city_church = { LEVEL = 04 }
|
||||
scope:build_owner.culture ?= { has_innovation = innovation_royal_armory }
|
||||
scope:build_owner.culture = { has_innovation = innovation_royal_armory }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -998,7 +973,7 @@ religious_special_building_exclusion_trigger = { # checks if any special buildin
|
|||
|
||||
building_monastic_schools_holding_level_requirement_trigger = {
|
||||
trigger_if = {
|
||||
limit = { scope:holder.rite ?= { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } }
|
||||
limit = { scope:holder.rite = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } }
|
||||
OR = {
|
||||
has_building_or_higher = castle_$LEVEL$
|
||||
has_building_or_higher = city_$LEVEL$
|
||||
|
|
@ -1027,11 +1002,7 @@ building_waterworks_requirement_terrain = {
|
|||
terrain = mountains
|
||||
terrain = desert_mountains
|
||||
}
|
||||
exists = scope:holder.culture
|
||||
trigger_if = {
|
||||
limit = { exists = scope:holder.culture }
|
||||
scope:holder.culture ?= { has_cultural_parameter = unlocks_waterworks_buildings }
|
||||
}
|
||||
scope:holder.culture = { has_cultural_parameter = unlocks_waterworks_buildings }
|
||||
}
|
||||
|
||||
building_spice_plantation_requirement_terrain = {
|
||||
|
|
@ -1070,22 +1041,12 @@ building_breweries_requirement = {
|
|||
}
|
||||
OR = {
|
||||
religion = religion:catholic_religion
|
||||
AND = {
|
||||
exists = faith
|
||||
trigger_if = {
|
||||
limit = { exists = faith }
|
||||
faith ?= { has_doctrine_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
rite = { rite_has_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
building_requirement_castle_city_church = { LEVEL = $NUMBER$ }
|
||||
exists = culture
|
||||
trigger_if = {
|
||||
limit = { exists = culture }
|
||||
culture ?= { has_cultural_parameter = allows_brewery }
|
||||
}
|
||||
building_requirement_castle_city_church = { LEVEL = $NUMBER$ }
|
||||
culture = { has_cultural_parameter = allows_brewery }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue