forked from Sokomine/yl_speak_up
removed obsolete code
This commit is contained in:
parent
5f652f62ae
commit
7fe9f18791
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user