From 7fe9f1879102d198172993639eb7a845aa824ed4 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Wed, 16 Jun 2021 01:43:47 +0200 Subject: [PATCH] removed obsolete code --- fs_edit_options_dialog.lua | 10 ---------- 1 file changed, 10 deletions(-) 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