diff --git a/fs_edit_options_dialog.lua b/fs_edit_options_dialog.lua index 4981e82..dc87eec 100644 --- a/fs_edit_options_dialog.lua +++ b/fs_edit_options_dialog.lua @@ -190,16 +190,6 @@ yl_speak_up.get_fs_edit_option_dialog = function(player, n_id, d_id, o_id) count_actions = count_actions + 1 end end ---[[ TODO handle trade actions - if(dialog.trades and dialog.trades[ tostring(d_id).." "..tostring(o_id) ]) then - local tr = dialog.trades[ tostring(d_id).." "..tostring(o_id)] - -- show the trade in the result/effects list - list_of_actions = ",#FF8800,trade,".. - -- show a reasonable overview of what is traded for what - minetest.formspec_escape("NPC sells ".. - table.concat(tr.buy, ";").." for ".. - table.concat(tr.pay, ";")) ---]] if(count_actions < yl_speak_up.max_actions) then list_of_actions = list_of_actions..",#00FF00,add,Add a new (A)ction" else