mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 11:47:32 +01:00
16 lines
333 B
Lua
16 lines
333 B
Lua
mcl_beds = {}
|
|
mcl_beds.player = {}
|
|
mcl_beds.pos = {}
|
|
|
|
mcl_beds.formspec = "size[8,15;true]" ..
|
|
"bgcolor[#080808BB; true]" ..
|
|
"button_exit[2,12;4,0.75;leave;Leave Bed]"
|
|
|
|
local modpath = minetest.get_modpath("mcl_beds")
|
|
|
|
-- Load files
|
|
|
|
dofile(modpath .. "/functions.lua")
|
|
dofile(modpath .. "/api.lua")
|
|
dofile(modpath .. "/beds.lua")
|