"town_trade",0,
"You head towards the marketplace.",
"none",
[],
[
("assess_prices",[],
"Assess the local prices.",
[
(jump_to_menu,"mnu_town_trade_assessment_begin"),
]),
("trade_with_arms_merchant",[(party_slot_ge, "$current_town", slot_town_weaponsmith, 1)],
"Trade with the arms merchant.",
[
(party_get_slot, ":merchant_troop", "$current_town", slot_town_weaponsmith),
(change_screen_trade, ":merchant_troop"),
]),
("trade_with_armor_merchant",[(party_slot_ge, "$current_town", slot_town_armorer, 1)],
"Trade with the armor merchant.",
[
(party_get_slot, ":merchant_troop", "$current_town", slot_town_armorer),
(change_screen_trade, ":merchant_troop"),
]),
("trade_with_horse_merchant",[(party_slot_ge, "$current_town", slot_town_horse_merchant, 1)],
"Trade with the horse merchant.",
[
(party_get_slot, ":merchant_troop", "$current_town", slot_town_horse_merchant),
(change_screen_trade, ":merchant_troop"),
]),
("trade_with_goods_merchant",[(party_slot_ge, "$current_town", slot_town_merchant, 1)],
"Trade with the goods merchant.",
[
(party_get_slot, ":merchant_troop", "$current_town", slot_town_merchant),
(change_screen_trade, ":merchant_troop"),
]),
("hire_troops",[],
"Hire troops.",## You have added a new menu.
[
(jump_to_menu,"mnu_town_pre_hire_troops"),
]),
("back_to_town_menu",[],"Head back.",
[
(jump_to_menu,"mnu_town"),
]),
]
),
(
"town_trade_assessment_begin",0,
"You overhear several discussions about the price of trade goods across the local area.\
You listen closely, trying to work out the best deals around.",
"none",
[],
[
("continue",[],"Continue...",
[
(assign,"$auto_enter_town","$current_town"),
(assign, "$g_town_assess_trade_goods_after_rest", 1),
(call_script, "script_get_max_skill_of_player_party", "skl_trade"),
(val_div, reg0, 2),
(store_sub, ":num_hours", 6, reg0),
(assign, "$g_last_rest_center", "$current_town"),
(assign, "$g_last_rest_payment_until", -1),
(rest_for_hours, ":num_hours", 5, 0), #rest while not attackable
(change_screen_return),
]),
("back_to_marketplace",[],"Back to marketplace.", ## Thymo's FIRST useful menu-edit EVER!! BOHAHAHAHAHAHA!!!
[
(jump_to_menu,"mnu_town_trade"),
]),
]
),
(
"town_pre_hire_troops",0,
"You enter a building with several mercenaries, cut-throuts, poor and adventerous warriors. You ask about to gather a overview of who's available for hire.. (this takes 1 hours)",
"none",
[],
[
("continue",[],"Ask about..",
[
(store_sub, ":num_hours", 1),
(rest_for_hours, ":num_hours", 5, 0), #rest while not attackable
(change_screen_return),
(jump_to_menu,"mnu_town_hire_troops"),
]),
("go_back",[],"Go back..",
[
(jump_to_menu,"mnu_town_trade"),
]),
]
),
(
"town_hire_troops",0,
"This is the list you've managed to scrap together:",
"none",
[],
[
("hire_
Sergeants",[],"Hire Sergeants.",
[
(jump_to_menu,"mnu_town_hire_
Sergeants"),
]),
("hire_
Crossbowmen",[],"Hire Crossbowmen.",
[
(jump_to_menu,"mnu_town_hire_crossbowmen"),
]),
("hire_knights",[],"Hire Knights.",
[
(jump_to_menu,"mnu_town_hire_knights"),
]),
("go_back",[],"Go back..",
[
(jump_to_menu,"mnu_town_trade"),
]),
]
),
(
"town_hire_
Sergeants",0,
"Their clothing are tattered and their hats a ragged, but their braveness has no boundaries. They have been driven out of their lands by different reasons, and now their only way to make a living is to join a force. 100 denars each farmer.",
"none",
[],
[
("
Sergeant1",[],"1 Sergeant.",
[
(party_add_members, "p_main_party", "trp_swadian_sergeant", 1),
(troop_remove_gold, "trp_player", 0),
]),
("
Sergeant5",[],"5 Sergeants.",
[
(party_add_members, "p_main_party", "trp_swadian_sergeant", 5),
(troop_remove_gold, "trp_player", 0),
]),
("
Sergeant10",[],"10 Sergeant.",
[
(party_add_members, "p_main_party", "trp_swadian_sergeant", 10),
(troop_remove_gold, "trp_player", 0),
]),
("back_to_town_hire_troops",[],"Go back..",
[(
(jump_to_menu,"mnu_town_hire_troops"),
),
]
),
(
"town_hire_
Crossbowmen",0,
"Vile and vicious people with rotten theeth glares at you whilst you question their value and usefulness in your party. 150 for each Looter,700 for each Nord archer, 300 for each bandit and 500 for each Brigand.",
"none",
[],
[
("
Crossbowmen1",[],"1 Crossbowman.",
[
(party_add_members, "p_main_party", "trp_swadian_crossbowman", 1),
(troop_remove_gold, "trp_player", 0),
]),
("
Crossbowmen5",[],"5 Crossbowmen.",
[
(party_add_members, "p_main_party", "trp_swadian_crossbowman", 5),
(troop_remove_gold, "trp_player", 0),
]),
("
Crossbowmen10",[],"10 Crossbowmen.",
[
(party_add_members, "p_main_party", "trp_swadian_crossbowman", 10),
(troop_remove_gold, "trp_player", 0),
]),
]), #this one is of no function except ending a hire-script.. Which in this case is nowhere to be found
("back_to_town_hire_troops",[],"Go back..",
[
(jump_to_menu,"mnu_town_hire_troops"),
]),
]
),
(
"town_hire_knights",0,
"Wearing shiny armour and swords ready to cut through flesh, they stand in front of you with their honour held high(as long as you pay them.).. 1000 denars each knight.",
"none",
[],
[
("swadian_knight1",[],"1 Swadian knight.",
[
(party_add_members, "p_main_party", "trp_swadian_knight", 1),
(troop_remove_gold, "trp_player", 0),
]),
("swadian_knight5",[],"5 Swadian_knights.",
[
(party_add_members, "p_main_party", "trp_swadian_knight", 5),
(troop_remove_gold, "trp_player", 0),
]),
("swadian_knight10",[],"10 Swadian_knights.",
[
(party_add_members, "p_main_party", "trp_swadian_knight", 10),
(troop_remove_gold, "trp_player", 0),
]),
("vaegir_knight1",[],"1 Vaegir knight.",
[
(party_add_members, "p_main_party", "trp_Vaegir_knight", 1),
(troop_remove_gold, "trp_player", 0),
]),
("vaegir_knight5",[],"5 Vaegir knights.",
[
(party_add_members, "p_main_party", "trp_vaegir_knight", 5),
(troop_remove_gold, "trp_player", 0),
]),
("vaegir_knight10",[],"10 Vaegir knights.",
[
(party_add_members, "p_main_party", "trp_vaegir_knight", 10),
(troop_remove_gold, "trp_player", 0),
]),
("back_to_town_hire_troops",[],"Go back..",
[
(jump_to_menu,"mnu_town_hire_troops"),
]),
]
),