("camp_cheat",0,
"Select a cheat:",
"none",
[
],
[
("camp_cheat_find_item",[], "Find an item...",
[
(jump_to_menu, "mnu_cheat_find_item"),
]
),
("camp_cheat_find_item",[], "Change weather..",
[
(jump_to_menu, "mnu_cheat_change_weather"),
]
),
("camp_cheat_1",[],"{!}Increase player renown.",
[
(str_store_string, s1, "@Player renown is increased by 100. "),
(call_script, "script_change_troop_renown", "trp_player" ,100),
(jump_to_menu, "mnu_camp_cheat"),
]
),
("camp_cheat_2",[],"{!}Increase player honor.",
[
(assign, reg7, "$player_honor"),
(val_add, reg7, 1),
(display_message, "@Player honor is increased by 1 and it is now {reg7}."),
(val_add, "$player_honor", 1),
(jump_to_menu, "mnu_camp_cheat"),
]
),
("camp_cheat_3",[],"{!}Update political notes.",
[
(try_for_range, ":hero", active_npcs_begin, active_npcs_end),
(troop_slot_eq, ":hero", slot_troop_occupation, slto_kingdom_hero),
(call_script, "script_update_troop_political_notes", ":hero"),
(try_end),
(try_for_range, ":kingdom", kingdoms_begin, kingdoms_end),
(call_script, "script_update_faction_political_notes", ":kingdom"),
(try_end),
]
),
("camp_cheat_4",[],"{!}Update troop notes.",
[
(try_for_range, ":hero", active_npcs_begin, active_npcs_end),
(troop_slot_eq, ":hero", slot_troop_occupation, slto_kingdom_hero),
(call_script, "script_update_troop_notes", ":hero"),
(try_end),
(try_for_range, ":lady", kingdom_ladies_begin, kingdom_ladies_end),
(call_script, "script_update_troop_notes", ":lady"),
(call_script, "script_update_troop_political_notes", ":lady"),
(call_script, "script_update_troop_location_notes", ":lady", 0),
(try_end),
]
),
("camp_cheat_5",[],"{!}Scramble minstrels.",
[
(call_script, "script_update_tavern_minstrels"),
]
),
("camp_cheat_6",[],"{!}Infinite camp",
[
(assign,"$g_camp_mode", 1),
(assign, "$g_infinite_camping", 1),
(assign, "$g_player_icon_state", pis_camping),
(rest_for_hours_interactive, 10 * 24 * 365, 20), #10 year rest while not attackable with 20x speed
(change_screen_return),
]
),
("cheat_faction_orders",[(ge,"$cheat_mode",1)],
"{!}Cheat: Set Debug messages to All.",
[(assign,"$cheat_mode",1),
(jump_to_menu, "mnu_camp_cheat"),
]
),
("cheat_faction_orders",[
(ge, "$cheat_mode", 1),
(neq,"$cheat_mode",3)],"{!}Cheat: Set Debug messages to Econ Only.",
[(assign,"$cheat_mode",3),
(jump_to_menu, "mnu_camp_cheat"),
]
),
("cheat_faction_orders",[
(ge, "$cheat_mode", 1),
(neq,"$cheat_mode",4)],"{!}Cheat: Set Debug messages to Political Only.",
[(assign,"$cheat_mode",4),
(jump_to_menu, "mnu_camp_cheat"),
]
),
("change",[(ge, "$cheat_mode", 1)],"{!}Cheat: I want to change my gender.",
[
(troop_get_type, ":gender", "trp_player),
(try_begin),
(eq, ":gender", 1),
(troop_set_type, "trp_player", 0),
(else_try),
(troop_set_type, "trp_player", 1),
(try_end,
(jump_to_menu, "mnu_camp_cheat"),
]
),
("back_to_camp_menu",[],"{!}Back to camp menu.",
[
(jump_to_menu, "mnu_camp"),
]
),
]
),