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