diff --git a/fs_edit_general.lua b/fs_edit_general.lua index e66285e..7db0134 100644 --- a/fs_edit_general.lua +++ b/fs_edit_general.lua @@ -1539,7 +1539,10 @@ yl_speak_up.get_fs_edit_option_p_and_e_function = function( end -yl_speak_up.get_fs_edit_option_effect_craft = function(pname, dialog, formspec, data, id_prefix, save_button, e) +-- "NPC crafts something", -- 4 +-- (craft - only for effects - not for preconditions) +yl_speak_up.get_fs_edit_option_effect_craft = function( + pname, dialog, formspec, data, id_prefix, save_button, e) if(e) then -- those items can at least be shown as background images data.craftresult = e[ "r_value" ] @@ -1557,7 +1560,8 @@ yl_speak_up.get_fs_edit_option_effect_craft = function(pname, dialog, formspec, end end end - return "label[8,2.6;Your invnetory:]".. + return formspec.. + "label[8,2.6;Your invnetory:]".. "list[current_player;main;8,3;8,4;]".. "label[1,3.1;Your craft grid:]".. "list[current_player;craft;1,3.5;3,3;]"..