# map icon inicio ################################################################################################
(2,
[
(try_for_parties, ":party"),
(party_slot_eq, ":party", slot_party_type, spt_kingdom_hero_party),
(party_is_active, ":party"),
(gt, ":party", 0),
(neg|party_is_in_any_town, ":party"),
(store_faction_of_party, ":fac", ":party"),
(store_party_size, ":num", ":party"),
(party_get_icon, ":icon", ":party"),
############# plazzard ####
(party_get_current_terrain, ":terrain", ":party"),
#########################
(party_get_slot, ":leader", ":party", slot_kingdom_party_leader),
(assign, ":is_king", 0),
(try_for_range, ":cur_fac", "fac_kingdom_1", "fac_kingdoms_end"),
(faction_slot_eq, ":cur_fac", slot_faction_leader, ":leader"),
(assign, ":is_king", 1),
(try_end),
(try_begin),
(eq, ":is_king", 0),
############################################# Generales ###########################
(try_begin),
(eq, ":fac", "fac_kingdom_3"),
(try_begin),
(ge, ":num", 200),
############ plazzard
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
###########
(assign, ":icon", "icon_dedal_map_khergit_lord_a"),
########### plazzard asigna otro icono de barco a los lores ########
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
###########################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_khergit_lord_b"),
###############################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
##############################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_khergit_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_4"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_5"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_2"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_6"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_7"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_lord_c"),
#####################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#####################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_1"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_lord_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_lord_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_lord_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(try_end),
###################################### comandantes ####################
(else_try),
(try_begin),
(eq, ":fac", "fac_kingdom_3"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_khergit_king_a"),
#####################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#####################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_khergit_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_khergit_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_4"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_nordic_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_5"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_rhodok_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_2"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_vaegir_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_6"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_sar_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_7"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_king_b"),
#####################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
####################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_lfed_king_c"),
#####################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#####################################
(try_end),
(else_try),
(eq, ":fac", "fac_kingdom_1"),
(try_begin),
(ge, ":num", 200),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_king_a"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
(ge, ":num", 100),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_king_b"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
######################################
(else_try),
############
(neq, ":terrain", 0), #water
(neq, ":terrain", 7), #bridges
(neq, ":terrain", 8), #rivers!
############
(assign, ":icon", "icon_dedal_map_swadia_king_c"),
######################################
(else_try),
(this_or_next|eq, ":terrain", 0),
(eq, ":terrain", 8),
(assign, ":icon", "icon_ship2"),
#######################################
(try_end),
(try_end),
(try_end),
(party_set_icon, ":party", ":icon"),
(try_end),
]),
# map icon mauro fin