Event
Untimely Dry Spell

The promise of new land brings the warm thoughts of a new future. However, such ambitions shatter when crushed by the weight of a cold and dry environment. Such is the case for those who pursued their luck settling the lands in Target Charter. Expecting to be met with good soil and ample grazing lands, our settlers were bitterly disappointed upon witnessing the state of the settlement's location.
Definitionin_game/events/situations/little_ice_age.txt:759
760type = country_event
761category = situation_event
762title = winter_events.10.title Untimely Dry Spell
763desc = winter_events.10.desc The promise of new land brings the warm thoughts of a new future. However, such ambitions shatter when crushed by the weight of a cold and dry environment. Such is the case for those who pursued their luck settling the lands in Target Charter. Expecting to be met with good soil and ample grazing lands, our settlers were bitterly disappointed upon witnessing the state of the settlement's location.
764outcome = neutral
765image = "gfx/interface/illustrations/situation/little_ice_age.dds"
766trigger = {
767has_colonial_charters = yes
768capital ?= {
768area = {
768has_extended_winter = yes
}
}
769any_colonial_charter = {
770province_definition = {
771any_province_in_province_definition = {
772owner = root
773any_location_in_province = {
774NOR = {
776continent = root.capital.continent
777is_connected_to = root.capital
}
779OR = {
780winter_level = severe
781winter_level = mild
782winter_level = normal
}
}
}
}
}
}
790immediate = {
791random_province = {
792limit = {
793any_location_in_province = {
794OR = {
795winter_level = severe
796winter_level = mild
797winter_level = normal
}
799NOR = {
801continent = root.capital.continent
802is_connected_to = root.capital
}
}
}
806save_scope_as = target_charter
}
808if = {
809limit = {
810scope:target_charter.province_definition = {
811any_neighbor_province_definition = {
812root = {
812own_entire_province = prev
}
813any_province_in_province_definition = {
814owner = root
815province_food_percentage > 0.75
}
}
}
}
820random_province = {
821limit = {
822province_food_percentage > 0.75
823province_definition = {
824any_neighbor_province_definition = {
825this = scope:target_charter.province_definition
}
}
}
829save_scope_as = target_province
}
}
832else_if = {
833limit = {
834any_province = {
835province_food_percentage > 0.75
836area = scope:target_charter.area
}
}
839ordered_province = {
840limit = {
841province_food_percentage > 0.75
842area = scope:target_charter.area
}
844order_by = {
845value = population
846if = {
847limit = {
847province_food_percentage > 0
}
848divide = province_food_percentage
}
850else = {
850divide = 0.01
}
}
852max = 1
853check_range_bounds = no
854save_scope_as = target_province
}
}
}