mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-14 14:00:19 +01:00
20 lines
403 B
Lua
20 lines
403 B
Lua
beds = {}
|
|
beds.player = {}
|
|
beds.bed_position = {}
|
|
beds.pos = {}
|
|
beds.spawn = {}
|
|
|
|
beds.formspec = "size[8,11;true]" ..
|
|
"no_prepend[]" ..
|
|
"bgcolor[#080808BB;true]" ..
|
|
"button_exit[2,10;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")
|