After hours of reading tutorials, installing python, and working on this feature I STILL can't get the 'disable companion interaction working.
The module_game_menus.py compiles with no errors, and all the txt files show up in my mod, but the menu still doesn't appear.
This is what my py looks like -minus some of the 'camp cheat' text. Can anyone tell me what I'm doing wrong, this... and my companions *****ing is driving me crazy.
("camp_action",0,
"Choose an action:",
"none",
[
],
[
## NPC's Interaction Begin
("rbe_disable_NPC_interaction1",[ (eq, "$disable_npc_complaints", 0),],"Disable NPC's Interaction.",
[
(assign, "$disable_npc_complaints", 1),
(jump_to_menu, "mnu_camp_action"),
]),
("rbe_enable_NPC_interaction1",[ (eq, "$disable_npc_complaints", 1),],"Enable NPC's Interaction.",
[
(assign, "$disable_npc_complaints", 0),
(jump_to_menu, "mnu_camp_action"),
]),
## NPC's Interaction End
("camp_recruit_prisoners",
[(troops_can_join, 1),
(store_current_hours, ":cur_time"),
(val_sub, ":cur_time", 24),
(gt, ":cur_time", "$g_prisoner_recruit_last_time"),
(try_begin),
(gt, "$g_prisoner_recruit_last_time", 0),
(assign, "$g_prisoner_recruit_troop_id", 0),
(assign, "$g_prisoner_recruit_size", 0),
(assign, "$g_prisoner_recruit_last_time", 0),
(try_end),
], "Recruit some of your prisoners to your party.",
[(jump_to_menu, "mnu_camp_recruit_prisoners"),
],
),
("action_read_book",[],"Select a book to read.",
[(jump_to_menu, "mnu_camp_action_read_book"),