diff --git a/exec_actions.lua b/exec_actions.lua index 48105ab..a35c79a 100644 --- a/exec_actions.lua +++ b/exec_actions.lua @@ -234,6 +234,10 @@ yl_speak_up.execute_next_action = function(player, a_id, result_of_a_id, formnam or not(dialog.n_dialogs[target_dialog])) then target_dialog = d_id end + if(target_dialog and target_dialog == "d_trade") then + yl_speak_up.show_fs(player, "trade_list") + return + end -- the function above returns a target dialog; show that to the player yl_speak_up.show_fs(player, "talk", {n_id = n_id, d_id = target_dialog, alternate_text = res.alternate_text})