Rekrutacja w zamkach By Thymo
Otwieramy "module_game_menus
szukamy : "Town_trade",0,
pod tym bendzie to (
"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"),
]),
("back_to_town_menu",[],"Head back.",
[
(jump_to_menu,"mnu_town"),
]),
]
),
Wymień to na
(
"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"),
]),
]
),
szukaj
"town_trade_assessment_begin",0,
bendzie to wyglądalo mniej więcej tak (fragment z 2 części
(
"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),
]),
]
),
(
"town_trade_assessment",mnf_disable_all_keys,
"As the party member with the highest trade skill ({reg2}), {reg3?you try to figure out:{s1} tries to figure out} the best goods to trade in. {s2}",
"none",
[(call_script, "script_get_max_skill_of_player_party", "skl_trade"),
(assign, ":max_skill", reg0),
(assign, ":max_skill_owner", reg1),
szukaj
"town_trade_assessment_begin",0,
bendzie to wyglądalo mniej więcej tak (fragment z 2 części
(
"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),
]),
]
),
(
"town_trade_assessment",mnf_disable_all_keys,
"As the party member with the highest trade skill ({reg2}), {reg3?you try to figure out:{s1} tries to figure out} the best goods to trade in. {s2}",
"none",
[(call_script, "script_get_max_skill_of_player_party", "skl_trade"),
(assign, ":max_skill", reg0),
(assign, ":max_skill_owner", reg1),
zmień ją na
"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_farmers",[],"Hire farmers.",
[
(jump_to_menu,"mnu_town_hire_farmers"),
]),
("hire_cutthroats",[],"Hire villains, cutthrroats and looters.",
[
(jump_to_menu,"mnu_town_hire_cutthroats"),
]),
("hire_knights",[],"Hire knights in shiny armour.",
[
(jump_to_menu,"mnu_town_hire_knights"),
]),
("go_back",[],"Go back..",
[
(jump_to_menu,"mnu_town_trade"),
]),
]
),
(
"town_hire_farmers",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",
[],
[
("farmer1",[],"1 Farmer.",
[
(party_add_members, "p_main_party",trp_farmer "1),
(troop_remove_gold, "trp_player", 100),
]),
("farmer5",[],"5 Farmer.",
[
(party_add_members, "p_main_party", "trp_farmer", 5),
(troop_remove_gold, "trp_player", 500),
]),
("farmer10",[],"10 Farmer.",
[
(party_add_members, "p_main_party", "trp_farmer", 10),
(troop_remove_gold, "trp_player", 1000),
]),
("back_to_town_hire_troops",[],"Go back..",
[
(jump_to_menu,"mnu_town_hire_troops"),
]),
]
),
(
"town_hire_cutthroats",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",
[],
[
("looter1",[],"1 Looter.",
[
(party_add_members, "p_main_party", "trp_looter", 1),
(troop_remove_gold, "trp_player", 150),
]),
("looter5",[],"5 Looters.",
[
(party_add_members, "p_main_party", "trp_looter", 5),
(troop_remove_gold, "trp_player", 750),
]),
("looter10",[],"10 Looters.",
[
(party_add_members, "p_main_party", "trp_looter", 10),
(troop_remove_gold, "trp_player", 1500),
]),
("bandit1",[],"1 Bandit.",
[
(party_add_members, "p_main_party", "trp_bandit", 1),
(troop_remove_gold, "trp_player", 300),
]),
("bandit5",[],"5 Bandits.",
[
(party_add_members, "p_main_party", "trp_bandit", 5),
(troop_remove_gold, "trp_player", 1500),
]),
("bandit10",[],"10 Bandits.",
[
(party_add_members, "p_main_party", "trp_bandit", 10),
(troop_remove_gold, "trp_player", 3000),
]),
("brigand1",[],"1 Brigand.",
[
(party_add_members, "p_main_party", "trp_brigand", 1),
(troop_remove_gold, "trp_player", 500),
]),
("brigand5",[],"5 Brigands.",
[
(party_add_members, "p_main_party", "trp_brigand", 5),
(troop_remove_gold, "trp_player", 2500),
]),
("brigand10",[],"10 Brigands.",
[
(party_add_members, "p_main_party", "trp_brigand", 10),
(troop_remove_gold, "trp_player", 5000),
]),
("nord_archer",[],"10 Nord archer",
[
(party_add_members, "p_main_party", "trp_nord_archer", 10),
(troop_remove_gold, "trp_player", 7000),
]),
("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", 1000),
]),
("swadian_knight5",[],"5 Swadian_knights.",
[
(party_add_members, "p_main_party", "trp_swadian_knight", 5),
(troop_remove_gold, "trp_player", 5000),
]),
("swadian_knight10",[],"10 Swadian_knights.",
[
(party_add_members, "p_main_party", "trp_swadian_knight", 10),
(troop_remove_gold, "trp_player", 10000),
]),
("vaegir_knight1",[],"1 Vaegir knight.",
[
(party_add_members, "p_main_party", "trp_Vaegir_knight", 1),
(troop_remove_gold, "trp_player", 1000),
]),
("vaegir_knight5",[],"5 Vaegir knights.",
[
(party_add_members, "p_main_party", "trp_vaegir_knight", 5),
(troop_remove_gold, "trp_player", 5000),
]),
("vaegir_knight10",[],"10 Vaegir knights.",
[
(party_add_members, "p_main_party", "trp_vaegir_knight", 10),
(troop_remove_gold, "trp_player", 10000),
]),
("back_to_town_hire_troops",[],"Go back..",
[
(jump_to_menu,"mnu_town_hire_troops"),
]),
]
),
(
"town_trade_assessment",mnf_disable_all_keys,
"As the party member with the highest trade skill ({reg2}), {reg3?you try to figure out:{s1} tries to figure out} the best goods to trade in. {s2}",
"none",
[(call_script, "script_get_max_skill_of_player_party", "skl_trade"),
(assign, ":max_skill", reg0),
(assign, ":max_skill_owner", reg1),
. To bardzo dużo to .. Możesz zmienić gdzie chcesz aby zobaczyć menu edycji lokalizacji "hire_troops" menu w kroku 4. ..
Można także edytować, jaki rodzaj wojsk chcesz zatrudnić, ile to kosztuje i ile chcesz zatrudnić edytując dane w kroku 7:
- Jeśli chcemy zmienić wojsko odszukujemy trp_farmer
- A potem jest 1 tu sie zmienia ile sie dostaje ludzi za kliknięcie ..
- Pod tym jest zaraz 100 tam zmieniamy za ile kupujemy wojsko w zamku.
To na tyle jutro postaram się coś innego dodać