mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-25 08:38:03 +02:00
completed get_fs_edit_option_effect_craft
This commit is contained in:
parent
cc1c1854d6
commit
bf0138cbc1
@ -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;]"..
|
||||
|
Loading…
Reference in New Issue
Block a user