1
0
Fork 0
MineClone2/mods/ITEMS/mcl_beds/init.lua

18 lines
386 B
Lua
Raw Normal View History

2017-05-07 18:21:37 +00:00
mcl_beds = {}
mcl_beds.player = {}
mcl_beds.pos = {}
mcl_beds.spawn = {}
2017-05-07 18:21:37 +00:00
mcl_beds.formspec = "size[8,15;true]" ..
"bgcolor[#080808BB; true]" ..
"button_exit[2,12;4,0.75;leave;Leave Bed]"
2017-05-07 18:21:37 +00:00
local modpath = minetest.get_modpath("mcl_beds")
-- Load files
dofile(modpath .. "/functions.lua")
dofile(modpath .. "/api.lua")
dofile(modpath .. "/beds.lua")
dofile(modpath .. "/spawns.lua")