anyone know of list of other command line commands besides cheatmenu?
particularly like, to add certain troops to your party or something?
particularly like, to add certain troops to your party or something?
[anyone|plyr,"tavernkeeper_talk", [(ge, "$cheat_mode", 1)], "CHEAT: So I herd u liek troobz.", "ramun_buy",[]],
[anyone,"ramun_buy", [], "Of course. What kind would you like?", "ramun_faction",[]],
[anyone|repeat_for_factions|plyr,"ramun_faction",
[ (store_repeat_object, ":faction_no"),
(this_or_next|is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(this_or_next|is_between, ":faction_no", "fac_commoners", "fac_neutral"),
(is_between, ":faction_no", "fac_manhunters", "fac_mountain_bandits"),
#(assign, reg1, ":faction_no"),
(try_begin),
(is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(faction_get_slot, ":str", ":faction_no", slot_faction_adjective),
(str_store_string, s1, ":str"),
(else_try),
(str_store_faction_name, s1, ":faction_no"),
(try_end),
], "Some {s1} please.", "ramun_select",
[(store_repeat_object, reg1),(str_store_faction_name, s1, reg1),]
],
[anyone|plyr,"ramun_faction",[], "Nevermind.", "start", []],
[anyone,"ramun_select", [], "So you want some troops from the {s1}?", "ramun_troops",[]],
[anyone|repeat_for_troops|plyr,"ramun_troops",
[
(store_repeat_object, ":troop"),
(is_between, ":troop", regular_troops_begin, "trp_kidnapped_girl"),#eliminates a load
(store_faction_of_troop, ":faction", ":troop"),#eliminates the rest
(eq, ":faction", reg1),#by faction obviously
(neg|troop_is_hero, ":troop"),#patrol leaders
(str_store_troop_name, s2, ":troop"),
(assign, reg2, ":troop"),
],
"{s2}", "ramun_select", [(store_repeat_object, ":troop"),(party_add_members, "p_main_party", ":troop", 5)]],
[anyone|plyr,"ramun_troops",[], "Let's try some other kind of grunts.", "ramun_buy", []],
Somebody said:So I herd u liek troobz.
(store_sub, ":faction_adj", ":faction_no", kingdoms_begin),
(val_add, ":faction_adj", "str_kingdoms_adjectives"),
(store_sub, ":faction_adj", ":faction_no", npc_kingdoms_begin),
(val_add, ":faction_adj", "str_kingdom_1_adjective"),
"{s2}", "patrol_prisoner_take", [(store_repeat_object, "$temp")]],
[anyone|plyr,"ramun_troops",[], "Let's try some other kind of grunts.", "ramun_buy", []],
[anyone,"patrol_prisoner_take",
[(call_script, "script_game_get_join_cost", "$temp"),#this gets stuck in reg0 automatically
],
"And how many {s2} are you willing to take? Each one'll cost {reg0} denars to feed and maintain and whatnot.", "patrol_prisoner_take_list",
[]
],
[anyone|plyr,"patrol_prisoner_take_list",
[], "knothxbye.", "close_window", []],
[anyone|plyr|repeat_for_100,"patrol_prisoner_take_list",
[
(store_repeat_object, ":prisoner_num"),
(store_add, reg4, ":prisoner_num", 1),#gets rid of two problems - 0 selection and last prisoner remaining
(is_between, reg4, 1, 6),#arbitrary limit
(troops_can_join, reg4),
(store_mul, ":cost", reg0, reg4),
(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", ":cost"),
(str_store_troop_name_by_count, s2, "$temp", reg4),
(str_store_string, s2, "@{!}{reg4} {s2} pl0x."),
],
"{s2}.", "patrol_prisoner_take",#if we're too lazy to refresh our register, we go way back
[(store_repeat_object, ":num"),
(val_add, ":num", 1),#see above for reason
(store_mul, ":cost", reg0, ":num"),
(troop_remove_gold, "trp_player", ":cost"),
#(troop_add_gold, "$g_talk_troop", ":cost"),#pointless for patrols
(party_add_members, "p_main_party", "$temp", ":num"),
]
],
(try_begin),
(is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(faction_get_slot, ":str", ":faction_no", slot_faction_adjective),
(str_store_string, s1, ":str"),
(else_try),
(str_store_faction_name, s1, ":faction_no"),
(try_end),
[anyone|plyr,"tavernkeeper_talk", [(ge, "$cheat_mode", 0)], "So I herd u liek troobz.", "ramun_buy",[]],
[anyone,"ramun_buy", [], "Of course. What kind would you like?", "ramun_faction",[]],
[anyone|repeat_for_factions|plyr,"ramun_faction",
[ (store_repeat_object, ":faction_no"),
(this_or_next|is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(this_or_next|is_between, ":faction_no", "fac_commoners", "fac_neutral"),
(is_between, ":faction_no", "fac_manhunters", "fac_mountain_bandits"),
#(assign, reg1, ":faction_no"),
(try_begin),
(is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(faction_get_slot, ":str", ":faction_no", slot_faction_adjective),
(str_store_string, s1, ":str"),
(else_try),
(str_store_faction_name, s1, ":faction_no"),
(try_end),
], "Some {s1} please.", "ramun_select",
[(store_repeat_object, reg1),(str_store_faction_name, s1, reg1),]
],
[anyone|plyr,"ramun_faction",[], "Nevermind.", "start", []],
[anyone,"ramun_select", [], "So you want some troops from the {s1}?", "ramun_troops",[]],
# [anyone|plyr,"ramun_pre_troops",[],"Yes","ramun_troops",[]],
# [anyone|plyr,"ramun_pre_troops",[],"Forget it.","close_window",[]],
[anyone|repeat_for_troops|plyr,"ramun_troops",
[
(store_repeat_object, ":troop"),
(is_between, ":troop", regular_troops_begin, "trp_kidnapped_girl"),#eliminates a load
(store_faction_of_troop, ":faction", ":troop"),#eliminates the rest
(eq, ":faction", reg1),#by faction obviously
(neg|troop_is_hero, ":troop"),#patrol leaders
(str_store_troop_name, s2, ":troop"),
(assign, reg2, ":troop"),
],
"{s2}", "ramun_select", [(store_repeat_object, ":troop"),
(party_add_members, "p_main_party", ":troop", 50),
(store_add, reg4, ":troop"),
(call_script, "script_game_get_join_cost", reg0),
(store_mul, ":cost", reg0, reg4),
(store_troop_gold, ":gold", "trp_player"),
(ge, ":gold", ":cost"),
(troop_remove_gold, "trp_player", ":cost"),
]],
[anyone|plyr,"ramun_troops",[], "Let's try some other kind of grunts.", "ramun_buy", []],
[anyone|plyr|repeat_for_100,"ramun_pre_buy1",[(store_repeat_object, reg1),
(store_mod, ":mod", reg1, 10),#this gets the remainder
(eq, ":mod", 0), #if divisible by 10
#do other checks (room, cost)
],"I'd like {reg1}.","ramun_buy_10",
[(store_repeat_object, reg1)]],
[anyone,"ramun_buy_10",[
(store_mul, ":cost", reg0, reg4),
(troop_remove_gold, "trp_player", ":cost"),], "Sure thing.", "close_window,
[
(party_add_members, "p_main_party", "$temp", reg1), #or some other variable/register to hold the troop
]
],
[anyone|plyr,"tavernkeeper_talk", [], "So I herd u liek troobz.", "ramun_buy",[]],
[anyone,"ramun_buy", [], "Of course. What kind would you like?", "ramun_faction",[]],
[anyone|repeat_for_factions|plyr,"ramun_faction",
[ (store_repeat_object, ":faction_no"),
# (this_or_next|is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(is_between, ":faction_no", "fac_commoners", "fac_neutral"),
# (is_between, ":faction_no", "fac_manhunters", "fac_mountain_bandits"),
#(assign, reg1, ":faction_no"),
(try_begin),
(is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(faction_get_slot, ":str", ":faction_no", slot_faction_adjective),
(str_store_string, s2, ":str"),
(else_try),
(str_store_faction_name, s2, ":faction_no"),
(try_end),
], "Some {s2} please.", "ramun_select",
[(store_repeat_object, reg2),(str_store_faction_name, s2, reg2),]
],
[anyone|plyr,"ramun_faction",[], "Nevermind.", "start", []],
[anyone,"ramun_select", [], "So you want some troops from the {s2}?", "ramun_troops",[]],
[anyone|repeat_for_troops|plyr,"ramun_troops",
[
(store_repeat_object, ":troop"),
(is_between, ":troop", regular_troops_begin, "trp_kidnapped_girl"),#eliminates a load
(store_faction_of_troop, ":faction", ":troop"),#eliminates the rest
(eq, ":faction", reg2),#by faction obviously
(neg|troop_is_hero, ":troop"),#patrol leaders
(str_store_troop_name, s3, ":troop"),
# (val_add, "$seltroop", ":troop"),
(val_add,reg3,":troop"),
],
"{s3}", "ramun_count", []],
[anyone,"ramun_count",[],"How many?","ramun_crespond",[]],
[anyone|plyr,"ramun_crespond",
[
# (store_mod, ":mod", reg1, 10),#this gets the remainder
# (eq, ":mod", 0),#if divisible by 10
#do other checks (room, cost)
(party_get_free_companions_capacity,":room","p_main_party"),#(assign,reg3,":room"),
(store_troop_gold,":gold","trp_player"),#(assign,reg6,":gold"),
(call_script,"script_game_get_join_cost","$temp"),(store_mul,":cost",reg0,10),#(store_mul,reg4,reg5,10),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",10),
],"I'd like ten.","ramun_buy",[ (troop_remove_gold, "trp_player", "$tcost"),
(party_add_members, "p_main_party",reg3,10),
(str_clear,"$tcost"),]],
[anyone|plyr,"ramun_crespond",
[
# (store_repeat_object,"$seltroop"),
# (store_mod, ":mod", reg1, 10),#this gets the remainder
# (eq, ":mod", 0),#if divisible by 10
#do other checks (room, cost)
(party_get_free_companions_capacity,":room","p_main_party"),#(assign,reg3,":room"),
(store_troop_gold,":gold","trp_player"),#(assign,reg6,":gold"),
(call_script,"script_game_get_join_cost","$temp"),(store_mul,":cost",reg0,20),#(store_mul,reg4,reg5,10),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",20),
],"I'd like twenty.","ramun_buy",[ (troop_remove_gold, "trp_player", "$tcost"),
(party_add_members, "p_main_party",reg3,20),
(str_clear,"$tcost"),]],
[anyone|plyr,"ramun_crespond",
[
# (store_repeat_object,"$seltroop"),
# (store_mod, ":mod", reg1, 10),#this gets the remainder
# (eq, ":mod", 0),#if divisible by 10
#do other checks (room, cost)
(party_get_free_companions_capacity,":room","p_main_party"),#(assign,reg3,":room"),
(store_troop_gold,":gold","trp_player"),#(assign,reg6,":gold"),
(call_script,"script_game_get_join_cost",reg3,reg0),(store_mul,":cost",reg0,50),#(store_mul,reg4,reg5,10),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",50),
],"I'd like fifty.","ramun_buy",[(troop_remove_gold, "trp_player", "$tcost"),
(party_add_members, "p_main_party",reg3,50),
(str_clear,"$tcost"),]],
[anyone|plyr,"ramun_crespond",
[
# (store_repeat_object,"$seltroop"),
# (store_mod, ":mod", reg1, 10),#this gets the remainder
# (eq, ":mod", 0),#if divisible by 10
#do other checks (room, cost)
(party_get_free_companions_capacity,":room","p_main_party"),#(assign,reg3,":room"),
(store_troop_gold,":gold","trp_player"),#(assign,reg6,":gold"),
(call_script,"script_game_get_join_cost","$temp"),(store_mul,":cost",reg0,100),#(store_mul,reg4,reg5,10),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",100),
],"I'd like one hundred.","ramun_buy",[ (troop_remove_gold, "trp_player", "$tcost"),
(party_add_members, "p_main_party",reg3,100),
(str_clear,"$tcost"),]],
[anyone|plyr,"ramun_crespond",
[
# (store_repeat_object,"$seltroop"),
# (store_mod, ":mod", reg1, 10),#this gets the remainder
# (eq, ":mod", 0),#if divisible by 10
#do other checks (room, cost)
(party_get_free_companions_capacity,":room","p_main_party"),#(assign,reg3,":room"),
(store_troop_gold,":gold","trp_player"),#(assign,reg6,":gold"),
(call_script,"script_game_get_join_cost","$temp"),(store_mul,":cost",reg0,300),#(store_mul,reg4,reg5,10),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",300),
],"I have no time for this tomfoolery! I need an army! I'll take three hundred!","ramun_buy_300",
[ (troop_remove_gold, "trp_player", "$tcost"),
(party_add_members, "p_main_party",reg3,300),
(str_clear,"$tcost"),]],
[anyone|plyr,"ramun_crespond",[],"I shall return when I'm better prepared.","tavernkeeper_pretalk",[]],
[anyone,"ramun_buy",[], "Sure thing.", "ramun_anythingelse",[]],
[anyone,"ramun_buy_300",[], "What a greedy {ucker/*****} ye be! I do this only for thee.", "ramun_anythingelse",[]],
[anyone,"ramun_anythingelse",[],"Will there be anything else?","ramun_demands",[]],
[anyone|plyr,"ramun_demands",[],"No, I'm done as thou hadst served well","tavernkeeper_pretalk",[]],
[anyone|plyr,"ramun_demands",[],"Yes, more of the same.","ramun_count",[]],
[anyone|plyr,"ramun_demands",[],"I would have another look as the list anew.","ramun_buy",[]],
# [anyone|plyr,"ramun_troops",[], "Let's try some other kind of grunts.", "ramun_buy", []],
(store_repeat_object, reg2),(str_store_faction_name, s2, reg2),
[anyone|plyr,"ramun_faction",[], "Nevermind.", "start", []],
(val_add,reg3,":troop"),
(party_get_free_companions_capacity,":room","p_main_party"),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$temp"),
(store_mul,":cost",reg0,100),
(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
(ge,":room",100),
[anyone|plyr,"ramun_crespond",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",100),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$temp"),
(store_mul,":cost",reg0,100),
#(val_add,"$tcost",":cost"),
(ge,":gold",":cost"),
],"I'd like one hundred.","ramun_buy",[(assign, "$tcost", 100),]],
[anyone,"ramun_buy",[], "Sure thing.", "ramun_anythingelse",
[ (party_add_members, "p_main_party","$temp","$tcost"),
(call_script,"script_game_get_join_cost","$temp"),
(val_mul, "$tcost", reg0),
(troop_remove_gold, "trp_player", "$tcost"),
(assign, "$tcost", 0),
]
],
#giz me troobz
[anyone|plyr,"tavernkeeper_talk",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",10),
(store_troop_gold,":gold","trp_player"),
(ge,":gold",1000),
], "So I herd u liek troobz.", "ramun_buy",[]],
[anyone,"ramun_buy", [], "Of course. What kind would you like?", "ramun_faction",[]],
[anyone|repeat_for_factions|plyr,"ramun_faction",
[ (store_repeat_object, ":faction_no"),
(this_or_next|is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(this_or_next|is_between, ":faction_no", "fac_commoners", "fac_neutral"),
(is_between, ":faction_no", "fac_manhunters", "fac_mountain_bandits"),
#(assign, reg1, ":faction_no"),
(try_begin),
(is_between, ":faction_no", npc_kingdoms_begin, kingdoms_end),
(faction_get_slot, ":str", ":faction_no", slot_faction_adjective),
(str_store_string, s2, ":str"),
(else_try),
(str_store_faction_name, s2, ":faction_no"),
(try_end),
], "Some {s2} please.", "ramun_select",
[(store_repeat_object, reg2),(str_store_faction_name, s2, reg2),]
],
[anyone|plyr,"ramun_faction",[], "Nevermind.", "tavernkeeper_pretalk", []],
[anyone,"ramun_select", [], "So you want some troops from the {s2}?", "ramun_troops",[]],
[anyone|repeat_for_troops|plyr,"ramun_troops",
[
(store_repeat_object, ":troop"),
(is_between, ":troop", regular_troops_begin, "trp_kidnapped_girl"),#eliminates a load
(store_faction_of_troop, ":faction", ":troop"),#eliminates the rest
(eq, ":faction", reg2),#by faction obviously
(neg|troop_is_hero, ":troop"),#patrol leaders
(str_store_troop_name, s3, ":troop"),
(assign,"$stroop",0),
],
"{s3}", "ramun_count", [(store_repeat_object,reg3),(str_store_faction_name, s3, reg2),(str_store_troop_name_plural,s4,reg3),(assign,"$stroop",reg3),]],
[anyone,"ramun_count",[],"How many {s4}?","ramun_crespond",[]],
[anyone|plyr,"ramun_crespond",[],"I shall return when I'm better prepared.","tavernkeeper_pretalk",[]],
[anyone|plyr,"ramun_crespond",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",10),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$stroop"),
(store_mul,":cost","$stroop",10),
(ge,":gold",":cost"),
],"I'd like ten.","ramun_buy_some",[(assign, "$tcost", 10),]],
[anyone|plyr,"ramun_crespond",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",50),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$stroop"),
(store_mul,":cost","$stroop",50),
(ge,":gold",":cost"),
],"I'd like twenty.","ramun_buy_some",[(assign, "$tcost", 50),]],
[anyone|plyr,"ramun_crespond",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",100),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$stroop"),
(store_mul,":cost","$stroop",100),
(ge,":gold",":cost"),
],"I'd like one hundred.","ramun_buy_some",[(assign, "$tcost", 100),]],
[anyone|plyr,"ramun_crespond",
[
(party_get_free_companions_capacity,":room","p_main_party"),
(ge,":room",300),
(store_troop_gold,":gold","trp_player"),
(call_script,"script_game_get_join_cost","$stroop"),
(store_mul,":cost","$stroop",300),
(ge,":gold",":cost"),
],"I have no time for this tomfoolery! I need an army! I'll take three hundred!","ramun_buy_300",[(assign, "$tcost", 300),]],
[anyone,"ramun_buy_some",[], "Certainly.", "ramun_anythingelse",
[
(party_add_members, "p_main_party","$stroop","$tcost"),
(call_script,"script_game_get_join_cost","$stroop"),
(val_mul, "$tcost", "$stroop"),
(troop_remove_gold, "trp_player", "$tcost"),
(assign, "$tcost", 0),
]
],
[anyone,"ramun_buy_300",[], "What a greedy {****er/*****} ye be! I do this only for thee.", "ramun_anythingelse",
[
(party_add_members, "p_main_party","$stroop","$tcost"),
(call_script,"script_game_get_join_cost","$stroop"),
(val_mul, "$tcost","$stroop"),
(troop_remove_gold, "trp_player", "$tcost"),
(assign, "$tcost", 0),
]
],
[anyone,"ramun_anythingelse",[],"What else?","ramun_demands",[]],
[anyone|plyr,"ramun_demands",[],"No, I'm done as thou hadst served well","tavernkeeper_pretalk",[]],
[anyone|plyr,"ramun_demands",[],"Yes, more of the same.","ramun_count",[]],
[anyone|plyr,"ramun_demands",[],"I would have another look at the list anew.","ramun_buy",[]],
# [anyone|plyr,"ramun_troops",[], "Let's try some other kind of grunts.", "ramun_buy", []],
#giz me troobz end