Move mcl_formspec_prepend
This commit is contained in:
parent
0b9c0d177c
commit
581f0fa2dd
2 changed files with 0 additions and 0 deletions
6
mods/HUD/mcl_formspec_prepend/init.lua
Normal file
6
mods/HUD/mcl_formspec_prepend/init.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
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)
|
2
mods/HUD/mcl_formspec_prepend/mod.conf
Normal file
2
mods/HUD/mcl_formspec_prepend/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = mcl_formspec_prepend
|
||||
description = Set formspec prepend string for all players
|
Loading…
Add table
Add a link
Reference in a new issue