Scripted Effect
cache_locations_in_maghreb_for_andalusian_migration
Maghreb
Every ownable location in regionwhere
- Has an owner
- Location Rank: Not
Rural Settlement - OwnerReligion:
Sunnism
- Set local variable
- Name:
rating_for_this - Value: andalusi_migration_town_rating
- Name:
- Add to local variable map
- Name:
maghreb_towns - Key: This
- Value:
local_var:rating_for_this
- Name:
Exact script
Requires 2
Religions
SunnismRegion:maghreb region
Location Ranks
Rural SettlementRegion:maghreb region
Used by 1
- maghrebi_cultural_change_events.1000As soon as it happens
Scripting 1
References 1
- andalusi_migration_town_ratingRegion:maghreb region
every_ownable_location_in_region = {
limit = {
}
add_to_local_variable_map = {
name = maghreb_towns
key = this
value = local_var:rating_for_this
}
}
}