trade is now an action; removed from edit options dialog
This commit is contained in:
parent
c6a837d663
commit
30420a6b42
@ -73,18 +73,6 @@ yl_speak_up.input_edit_option_dialog = function(player, formname, fields)
|
||||
{n_id = n_id, d_id = d_id, o_id = o_found, caller="next option"})
|
||||
return
|
||||
|
||||
--[[ TODO handle elsewhere
|
||||
-- show the trade associated with this dialog and option
|
||||
elseif(fields.effect_show_trade) then
|
||||
-- remember which option was selected
|
||||
yl_speak_up.speak_to[pname].o_id = o_id
|
||||
-- do not switch target dialog (we are in edit mode)
|
||||
yl_speak_up.speak_to[pname].target_d_id = nil
|
||||
-- show the trade with ID "<d_id> <o_id>"
|
||||
yl_speak_up.show_fs(player, "trade_simple", tostring(d_id).." "..tostring(o_id))
|
||||
return
|
||||
--]]
|
||||
|
||||
-- the player clicked on a precondition
|
||||
elseif(fields.table_of_preconditions) then
|
||||
-- remember which option was selected
|
||||
|
||||
Loading…
Reference in New Issue
Block a user