forked from luanti-org/minetest_game
		
	Add beds
This commit is contained in:
		
							
								
								
									
										16
									
								
								mods/beds/init.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								mods/beds/init.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| 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") | ||||
		Reference in New Issue
	
	Block a user