1
0
mirror of https://github.com/tacigar/maidroid.git synced 2024-11-17 07:40:18 +01:00

[UPDATE] Update maidroid formspec (use default.gui_*

This commit is contained in:
tacigar 2016-09-17 13:51:54 +09:00
parent 989f60e34b
commit 9b36ef5bd3

View File

@ -223,6 +223,9 @@ function maidroid.register_maidroid(product_name, def)
-- create_formspec_string returns a string that represents a formspec definition. -- create_formspec_string returns a string that represents a formspec definition.
local function create_formspec_string(self) local function create_formspec_string(self)
return "size[8,9]" return "size[8,9]"
.. default.gui_bg
.. default.gui_bg_img
.. default.gui_slots
.. "list[detached:"..self.inventory_name..";main;0,0;4,4;]" .. "list[detached:"..self.inventory_name..";main;0,0;4,4;]"
.. "label[5,0;core]" .. "label[5,0;core]"
.. "list[detached:"..self.inventory_name..";core;6,0;1,1;]" .. "list[detached:"..self.inventory_name..";core;6,0;1,1;]"