2019-05-23 15:17:23 +02:00
|
|
|
-- MultiCraft Game mod: default
|
2016-02-07 03:24:38 +02:00
|
|
|
-- See README.txt for licensing and other information.
|
|
|
|
|
|
|
|
-- The API documentation in here was moved into doc/lua_api.txt
|
|
|
|
|
|
|
|
-- Definitions made by this mod that other mods can use too
|
|
|
|
default = {}
|
|
|
|
|
2019-06-15 23:44:20 +02:00
|
|
|
default.gui_bg = "bgcolor[#08080880;true]"
|
|
|
|
default.listcolors = "listcolors[#9990;#FFF7;#FFF0;#160816;#D4D2FF]"
|
2019-08-11 23:11:10 +02:00
|
|
|
default.gui = [[
|
|
|
|
size[9,8.75]
|
|
|
|
]] .. default.gui_bg ..
|
|
|
|
default.listcolors .. [[
|
|
|
|
background[-0.2,-0.26;9.41,9.49;formspec_inventory.png]
|
|
|
|
image_button_exit[8.4,-0.1;0.75,0.75;close.png;exit;;true;false;close_pressed.png]
|
|
|
|
list[current_player;main;0.01,4.51;9,3;9]
|
|
|
|
list[current_player;main;0.01,7.75;9,1;]
|
|
|
|
]]
|
|
|
|
|
2019-06-15 23:44:20 +02:00
|
|
|
|
2016-02-07 03:24:38 +02:00
|
|
|
-- Load files
|
2019-05-08 20:04:40 +02:00
|
|
|
local default_path = minetest.get_modpath("default")
|
|
|
|
|
2019-08-11 23:11:10 +02:00
|
|
|
dofile(default_path .. "/functions.lua")
|
|
|
|
dofile(default_path .. "/trees.lua")
|
|
|
|
dofile(default_path .. "/nodes.lua")
|
|
|
|
dofile(default_path .. "/chests.lua")
|
|
|
|
dofile(default_path .. "/furnace.lua")
|
|
|
|
dofile(default_path .. "/torch.lua")
|
|
|
|
dofile(default_path .. "/tools.lua")
|
|
|
|
dofile(default_path .. "/craftitems.lua")
|
|
|
|
dofile(default_path .. "/crafting.lua")
|
|
|
|
dofile(default_path .. "/mapgen.lua")
|
|
|
|
dofile(default_path .. "/aliases.lua")
|