3 -- Load support for MT game translation.
4 local S = minetest.get_translator("beds")
12 beds.get_translator = S
14 beds.formspec = "size[8,11;true]" ..
16 "bgcolor[#080808BB;true]" ..
17 "button_exit[2,10;4,0.75;leave;" .. S("Leave Bed") .. "]"
19 local modpath = minetest.get_modpath("beds")
23 dofile(modpath .. "/functions.lua")
24 dofile(modpath .. "/api.lua")
25 dofile(modpath .. "/beds.lua")
26 dofile(modpath .. "/spawns.lua")