allow d_trade as dialog target
This commit is contained in:
parent
d52aa2e5cb
commit
55b180544f
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user