Scripted Effect

cache_locations_in_maghreb_for_andalusian_migration

Maghreb
Every ownable location in regionwhere
  • Set local variable
  • Add to local variable map
    • Name: maghreb_towns
    • Key: This
    • Value: local_var:rating_for_this
Exact script

Requires 2

Religions
Location Ranks

Used by 1

Scripting 1

References 1

region:maghreb_region Maghreb = {
every_ownable_location_in_region = {
limit = {
has_owner = yes
owner.religion = religion:sunni
}
set_local_variable = {
name = rating_for_this
}
add_to_local_variable_map = {
name = maghreb_towns
key = this
value = local_var:rating_for_this
}
}
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice