Utilize formspec prepend

This commit is contained in:
Wuzzy 2019-03-06 06:35:24 +01:00
parent 98b3003e07
commit ea0c2e9568
21 changed files with 9 additions and 31 deletions

View file

@ -1,13 +1,6 @@
-- Some global variables (don't overwrite them!)
mcl_vars = {}
--- GUI / inventory menu colors
mcl_vars.gui_slots = "listcolors[#9990;#FFF7;#FFF0;#000;#FFF]"
mcl_vars.gui_bg = "bgcolor[#080808BB;true]"
mcl_vars.gui_bg_img = ""
mcl_vars.inventory_header = mcl_vars.gui_slots .. mcl_vars.gui_bg
-- Mapgen variables
local mg_name = minetest.get_mapgen_setting("mg_name")
local minecraft_height_limit = 256