branched an inventory branch
This commit is contained in:
parent
766abf42e4
commit
12061faa02
1
sparkinv/init.lua
Symbolic link
1
sparkinv/init.lua
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../init.lua
|
16
sparkinv/inv.lua
Normal file
16
sparkinv/inv.lua
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
local formspec =
|
||||||
|
"size[16,12]"..
|
||||||
|
|
||||||
|
"list[current_player;main;0,0;8,1;8]" ..
|
||||||
|
"list[current_player;main;8,0;8,1;16]" ..
|
||||||
|
"list[current_player;main;0,1;8,1;24]" ..
|
||||||
|
"list[current_player;main;8,1;8,1]" ..
|
||||||
|
"bgcolor[#f464d0FF;true]" ..
|
||||||
|
--"bgcolor[#FC05E3FF;true]" ..
|
||||||
|
"listcolors[#fc059dDD;#fc059d00]" --d0
|
||||||
|
|
||||||
|
minetest.register_on_joinplayer(function(player)
|
||||||
|
minetest.after(0.01,function()
|
||||||
|
player:set_inventory_formspec(formspec)
|
||||||
|
end)
|
||||||
|
end)
|
Loading…
x
Reference in New Issue
Block a user