MineClone2/mods/HUD/mcl_formspec_prepend/init.lua
2019-03-06 07:32:13 +01:00

7 lines
216 B
Lua

minetest.register_on_joinplayer(function(player)
local bg = "bgcolor[#080808BB;true]"
local slots = "listcolors[#9990;#FFF7;#FFF0;#000;#FFF]"
local prepend = bg .. slots
player:set_formspec_prepend(prepend)
end)