Right now i have this
(try_begin),
(this_or_next|is_between, ":center_no", "p_village_63", "p_village_65"), #center is in Friese
(this_or_next|is_between, ":center_no", "p_village_110", "p_village_112"), #center is in Friese
(eq, ":center_no", "p_village_150"), #doccinga
(try_begin),
(assign, ":volunteer_troop", "trp_frisian_basic"),
(else_try),
(faction_get_slot, ":volunteer_troop", ":center_culture", ":troop_isfarmer"),
(try_end),
This allows me to recruit only Frisian units in the villages in the code.
But adding the line (eq, ":center_no", "p_town_11"), #dorestad like this :
(try_begin),
(this_or_next|is_between, ":center_no", "p_village_63", "p_village_65"), #center is in Friese
(this_or_next|is_between, ":center_no", "p_village_110", "p_village_112"), #center is in Friese
(eq, ":center_no", "p_village_150"), #doccinga
(eq, ":center_no", "p_town_11"), #dorestad
(try_begin),
(assign, ":volunteer_troop", "trp_frisian_basic"),
(else_try),
(faction_get_slot, ":volunteer_troop", ":center_culture", ":troop_isfarmer"),
(try_end),
Makes me able to only recruit Norse units in all of Frisia.