1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-18 07:40:22 +01:00
minetest_game/mods/beds/init.lua

18 lines
362 B
Lua
Raw Normal View History

2015-02-24 11:59:15 +01:00
beds = {}
beds.player = {}
beds.pos = {}
beds.spawn = {}
2016-03-08 04:14:29 +01:00
beds.formspec = "size[8,15;true]" ..
"bgcolor[#080808BB; true]" ..
"button_exit[2,12;4,0.75;leave;Leave Bed]"
2015-02-24 11:59:15 +01:00
local modpath = minetest.get_modpath("beds")
2016-03-08 04:14:29 +01:00
-- Load files
dofile(modpath .. "/functions.lua")
dofile(modpath .. "/api.lua")
dofile(modpath .. "/beds.lua")
dofile(modpath .. "/spawns.lua")