mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-18 16:20:38 +01:00
731cc4e82e
(from mt_game)
17 lines
353 B
Lua
Executable File
17 lines
353 B
Lua
Executable File
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")
|