mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 16:11:22 +00:00
added new layout
This commit is contained in:
parent
de8bdbecb8
commit
796b52b4e8
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ airutils.modname = minetest.get_current_modname()
|
|||
local function get_formspec_by_size(self, size)
|
||||
local background = default.gui_bg .. default.gui_bg_img .. default.gui_slots
|
||||
local default_inventory_formspecs = {
|
||||
["3"]="size[8,6]".. background ..
|
||||
"list[detached:" .. self._inv_id .. ";main;2.5,0;3,1;]" ..
|
||||
"list[current_player;main;0,2;8,4;]" ..
|
||||
"listring[]",
|
||||
|
||||
["4"]="size[8,6]".. background ..
|
||||
"list[detached:" .. self._inv_id .. ";main;2,0;4,1;]" ..
|
||||
"list[current_player;main;0,2;8,4;]" ..
|
||||
|
|
Loading…
Add table
Reference in a new issue