branched an inventory branch

This commit is contained in:
kamirama 2017-08-23 18:12:05 +02:00
parent 766abf42e4
commit 12061faa02
2 changed files with 17 additions and 0 deletions

1
sparkinv/init.lua Symbolic link
View File

@ -0,0 +1 @@
../init.lua

16
sparkinv/inv.lua Normal file
View 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)