"dplmc_constable_pretalk", [] ], [ anyone | plyr, "dplmc_constable_recruits_and_training", [], "I changed my mind.", "dplmc_constable_pretalk", [] ], ] dialogs += [ [ 'trp_recruiter', "start", [], "Hello {reg65?madame:sir}. If it's ok with you, I would like to get " "on with my assignment.", "dplmc_recruiter_talk", [] ], [ LazyFlag('trp_recruiter') | plyr, "dplmc_recruiter_talk", [], "Ok, keep going.", "close_window", [(assign, "$g_leave_encounter", 1)] ], [ LazyFlag('trp_recruiter') | plyr, "dplmc_recruiter_talk", [], "I want you to recruit different soldiers.", "dplmc_recruiter_talk_2", [] ], [ 'trp_recruiter', "dplmc_recruiter_talk_2", [ (party_get_slot, reg1, "$g_encountered_party", "slot_party_recruiter_needed_recruits"), (party_get_slot, ":recruit_faction", "$g_encountered_party", "slot_party_recruiter_needed_recruits_faction"), (store_sub, ":offset", ":recruit_faction", "fac_kingdom_1"),
"fighter_combat_try_again", [ (assign, "$g_tutorial_training_ground_conversation_state", 0), ]], # attack complete [anyone, "start", [ (is_between, "$g_talk_troop", tutorial_fighters_begin, tutorial_fighters_end), (eq, "$g_tutorial_training_ground_conversation_state", 9)], "Very good. You have learned how to attack from any direction you want. " "If you like we can try this again or move to a different exercise.", "fighter_talk", [ (assign, "$g_tutorial_training_ground_conversation_state", 0), ]], [LazyFlag('trp_tutorial_archer_1') | auto_proceed, "start", [], "{!}.", "tutorial_troop_default", [] ], ['trp_tutorial_master_archer', "start", [ (eq, "$g_tutorial_training_ground_archer_trainer_completed_chapters", 1), ], "Not bad. Not bad at all! You seem to have grasped the basics of archery. " "Now, try to do the same thing with a crossbow. Take the crossbow and " "the bolts over there and shoot those three targets. The crossbow is much " "easier to shoot with compared with the bow, but you need to reload it " "after each shot.", "archer_challenge_2", [] ], ['trp_tutorial_master_archer', "start", [ (eq, "$g_tutorial_training_ground_archer_trainer_completed_chapters", 2),
], [ ("dplmc_continue", [], "Continue...", [ (change_screen_return), ]), ]), ] troops = [ [ "scout", "Scout", "Scouts", tf_mounted | tf_guarantee_boots | tf_guarantee_armor | tf_guarantee_gloves | tf_guarantee_horse | tf_guarantee_ranged, 0, 0, 'fac_neutral', [ 'itm_leather_gloves1', 'itm_leather_gloves1', 'itm_javelins', 'itm_ptunic3', 'itm_ptunic3', 'itm_shirtylw', 'itm_shirtaqua', 'itm_shirtgrey', 'itm_bltunicgrn', 'itm_spear_briton2ht3', 'itm_spear_briton_longt2', 'itm_scianswordbone', 'itm_knife1' ] + footwear[0]['military'] + shields['briton'][1]['heavy'] + horses[1]['light'], def_attrib | agi_21 | int_30 | cha_21 | level(25), wp(130), knows_common | knows_riding_7 | knows_horse_archery_5 | knows_leadership_7, man_face_young_1, man_face_old_2 ], ] party_templates = [ ("scout_party", "Scouts", LazyFlag("icon_gray_knight") | carries_goods(1) | pf_show_faction, 0, "fac_commoners", bandit_personality, []), ]
], [ anyone | plyr, "village_elder_talk", [ (eq, "$g_talk_troop", "trp_village_66_elder"), (check_quest_finished, "qst_talk_to_zamoshie_elder"), ], "Perhaps I could offer more aid?", "oim_choose_quests", [] ], [ 'trp_village_66_elder', "oim_intro_zamoshie_elder", [], "Well, hello there... When I was young, we were free men who fought for our " "right to farm without taxes. They called me Will Stutely.", "oim_intro_zamoshie_elder_1", [] ], [ LazyFlag('trp_village_66_elder') | plyr, "oim_intro_zamoshie_elder_1", [], "And do you have some work for me? Something that will give me a chance " "to swing my sword, win myself some glory - and fill my purse! It's a " "little too empty at the moment...", "oim_intro_zamoshie_elder_4", [] ], [ 'trp_village_66_elder', "oim_intro_zamoshie_elder_4", [], "Aye, there is always work for a daring soul but I have no coin left. " "Believe it or not, the Brythonic lords of Rheged just sit in their halls " "waiting for some enemy army huddling in their towns, too afraid to stick " "their noses out of the gates. Meanwhile, bandits roam the roads giving " "travelers and merchants no peace... We can't even travel to the town due " "to fear of it being overtaken! And to make matters worse, our warlord " "taxes us so heavily that we have nothing for ourselves, and soon " "starvation is unavoidable...", "oim_intro_zamoshie_elder_5", []
from ..header_music import * #############not sure about the ones above from source.module_constants import * from source.header_operations import * from source.header_common import * from source.header_troops import * from source.header_skills import * from source.header_parties import * from source.lazy_flag import LazyFlag from source.statement import StatementBlock from source.module_quests import * from ..module_constants import * party_templates = [ ("recruiter", "Recruiter", LazyFlag("icon_gray_knight") | pf_show_faction, 0, "fac_neutral", merchant_personality, [("trp_recruiter", 1, 1)]), ] menus = [ ( "oim_caravan_delivered", 0, "All the caravan goods have been sold. After calculating all your expenses, you count a profit of {reg11} scillingas. {s11}", "none", [ #code (quest_get_slot, ":goods", "qst_oim_deliver_caravan", "slot_quest_target_item"), (str_store_item_name, s2, ":goods"), (quest_get_slot, ":count", "qst_oim_deliver_caravan", "slot_quest_target_amount"),