[anyone|plyr,"member_talk", [
(is_between, "$players_kingdom", kingdoms_begin, kingdoms_end),
(faction_slot_eq, "$players_kingdom", slot_faction_marshall, "trp_player"),
(store_sub, ":string", "$players_kingdom", kingdoms_begin),
(val_add, ":string", kingdom_titles_marshall_begin),
(str_store_string, s57, ":string"),
], "As the {s57}, I wish you to send a message to the vassals of the realm.", "member_direct_campaign",[]],
[anyone|plyr|repeat_for_troops,"lord_talk_ask_location_2", [(store_repeat_object, ":troop_no"),
(neq, "$g_talk_troop", ":troop_no"),
(is_between, ":troop_no", active_npcs_begin, kingdom_ladies_end),
(neq, ":troop_no", "trp_player"),
(this_or_next|troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_hero),
(troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_lady),
(store_troop_faction, ":faction_no", ":troop_no"),
(eq, "$g_encountered_party_faction", ":faction_no"),
(str_store_troop_name, s1, ":troop_no"),
(try_begin),
(faction_slot_eq, "$players_kingdom", slot_faction_marshall, ":troop_no"),
(store_sub, ":string", "$g_encountered_party_faction", kingdoms_begin),
(val_add, ":string", kingdom_titles_marshall_begin),
(str_store_string, s2, ":string"),
(str_store_string, s1, "@Our {s2}, {s1}"),
(try_end),
[anyone,"lord_talk_ask_about_strategy", [
(eq, "$players_kingdom", "$g_talk_troop_faction"),
(faction_slot_eq, "$g_talk_troop_faction", slot_faction_marshall, "trp_player"),
(neg|faction_slot_eq, "$g_talk_troop_faction", slot_faction_ai_state, sfai_feast),
(store_sub, ":string", "$g_talk_troop_faction", kingdoms_begin),
(val_add, ":string", kingdom_titles_marshall_begin),
(str_store_string, s57, ":string"),
],
"You should decide that, as you are the {s57}.", "lord_pretalk",[]],
[anyone|plyr, "lord_strategy_follow_up", [
(eq, "$g_talk_troop_disagrees_with_marshal", 1),
(neg|faction_slot_eq, "$g_talk_troop_faction", slot_faction_leader, "$g_talk_troop"),
(faction_get_slot, ":faction_marshal", "$g_talk_troop_faction", slot_faction_marshall),
(is_between, ":faction_marshal", active_npcs_begin, active_npcs_end),
(str_store_troop_name, s4, ":faction_marshal"),
(store_sub, ":string", "$g_talk_troop_faction", kingdoms_begin),
(val_add, ":string", kingdom_titles_marshall_begin),
(str_store_string, s57, ":string"),
],
"Would you say, then, that {s4} should no longer be {s57}?",
"lord_talk_replace_marshal",[]],
[anyone, "lord_strategy_why_not_reason",
[
(assign, ":selected_center", "$temp"),
(faction_get_slot, ":faction_marshal", "$g_talk_troop_faction", slot_faction_marshall),
(faction_get_slot, ":faction_ai_object", "$g_talk_troop_faction", slot_faction_ai_object),
(call_script, "script_npc_decision_checklist_evaluate_enemy_center_for_attack", ":faction_marshal", ":faction_ai_object", 1, 0),
(assign, "$g_faction_object_score", reg0),
# (assign, "$g_do_not_skip_other_than_current_ai_object", 1),
(call_script, "script_npc_decision_checklist_evaluate_enemy_center_for_attack", ":faction_marshal", ":selected_center", 1, 0, 1),
# (assign, "$g_do_not_skip_other_than_current_ai_object", 0),
(lt, reg0, 0),
(assign, ":explainer_string", reg1),
(try_begin),
(eq, "$g_use_current_ai_object_as_s8", 0),
(str_store_party_name, s8, ":selected_center"),
(else_try),
(str_store_party_name, s8, ":faction_ai_object"),
(try_end),
(str_store_string, s9, ":explainer_string"),
(str_clear, s10),
(str_store_troop_name, s11, ":faction_marshal"),
#s10 will say that
(store_sub, ":string", "$g_talk_troop_faction", kingdoms_begin),
(val_add, ":string", kingdom_titles_marshall_begin),
(str_store_string, s57, ":string"),
],
"Our {s57} {s11} believes that {s8} {s9}{s10}",
"lord_talk_why_not_repeat",[]],