VidaFrezz said:
I'm having a problem adding the lines at the end of the tavern menu. Keeps giving error (mostly indentation errors).
Can someone tell me what exactly is meant by "at the end of the tavern menu add this lines :" ?
I'm confused about where the end of the tavern menu is
The tavern menu starts with "visit the tavern" and ends with "Door to the tavern,"
This is what my module_game_menus looks like for that entry. The tavern animation entries start and end with the note # dedal.
(set_visitor, ":cur_entry", ":troop_of_merchant"),
(val_add, ":cur_entry", 1),
(try_end),
(change_screen_mission),
(try_end),
#dedal begin
(try_for_range,":entry",32,41),
(store_random_in_range,":r",0,100),
(gt,":r",50),#random chance of spawning
(try_begin),
(eq,":bard",0),
(store_random_in_range,":r",0,15),
(gt,":r",13),
(mission_tpl_entry_clear_override_items,"mt_town_default",":entry"),
(store_random_in_range,":r",0,2),
(try_begin),
(eq,":r",0),
(mission_tpl_entry_add_override_item,"mt_town_default",":entry","itm_dedal_lutnia"),
(else_try),
(mission_tpl_entry_add_override_item,"mt_town_default",":entry","itm_dedal_lira"),
(try_end),
(store_random_in_range,":dna",0,1000),
(store_random_in_range,":troop","trp_musican_male","trp_musicans_end"),
(set_visitor,":entry",":troop",":dna"),
(assign,":bard",1),
(else_try),
(store_random_in_range,":town_walker",town_walkers_begin,town_walkers_end),
(store_random_in_range,":dna",0,1000),
(mission_tpl_entry_clear_override_items,"mt_town_default",":entry"),
(store_random_in_range,":r",0,10),
(try_begin),
(gt,":r",2),
(mission_tpl_entry_add_override_item,"mt_town_default",":entry","itm_dedal_kufel"),
(try_end),
(set_visitor,":entry",":town_walker",":dna"),
(try_end),
(try_end),
#dedal end
(change_screen_mission),
(try_end),
],"Door to the tavern."),