This repository has been archived on 2023-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
2017-02-12 23:43:30 +01:00
|
|
|
beds = {}
|
|
|
|
beds.player = {}
|
|
|
|
beds.pos = {}
|
|
|
|
beds.spawn = {}
|
|
|
|
|
|
|
|
beds.formspec = "size[8,15;true]" ..
|
|
|
|
"bgcolor[#080808BB; true]" ..
|
|
|
|
"button_exit[2,12;4,0.75;leave;Leave Bed]"
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath("beds")
|
|
|
|
|
|
|
|
-- Load files
|
|
|
|
|
|
|
|
dofile(modpath .. "/functions.lua")
|
|
|
|
dofile(modpath .. "/api.lua")
|
|
|
|
dofile(modpath .. "/beds.lua")
|
|
|
|
dofile(modpath .. "/spawns.lua")
|