bed fixes
This commit is contained in:
parent
90115eb2cf
commit
29dff7a914
@ -114,7 +114,7 @@ beds.register_bed("beds:bed_cyan", {
|
||||
beds.register_bed("beds:bed_grey", {
|
||||
description = "Grey Bed",
|
||||
inventory_image = "beds_grey.png",
|
||||
wield_image = "beds_dgrey.png",
|
||||
wield_image = "beds_grey.png",
|
||||
tiles = {
|
||||
"beds_bed_grey.png"
|
||||
},
|
||||
|
@ -45,7 +45,7 @@ minetest.register_abm({
|
||||
minetest.chat_send_all("npc spawned")
|
||||
end
|
||||
end
|
||||
local beds = minetest.find_node_near(pos, 5, {"beds:bed_bottom", "beds:bed", "beds:bed_yellow_bottom", "beds:bed_blue_bottom", "beds:bed_orange_bottom", "beds:bed_cyan_bottom", "beds:bed_pink_bottom", "beds:bed_black_bottom", "beds:bed_white_bottom", "beds:bed_darkgrey_bottom", "beds:bed_grey_bottom", "beds:bed_green_bottom", "beds:bed_purple_bottom", "beds:bed_darkgreen_bottom"})
|
||||
local beds = minetest.find_node_near(pos, 5, {"beds:bed_bottom", "beds:bed", "beds:bed_yellow_bottom", "beds:bed_brown_bottom", "beds:bed_magenta_bottom", "beds:bed_blue_bottom", "beds:bed_orange_bottom", "beds:bed_cyan_bottom", "beds:bed_pink_bottom", "beds:bed_black_bottom", "beds:bed_white_bottom", "beds:bed_darkgrey_bottom", "beds:bed_grey_bottom", "beds:bed_green_bottom", "beds:bed_purple_bottom", "beds:bed_darkgreen_bottom"})
|
||||
local light_sources = minetest.find_node_near(pos, 5, {"default:torch", "default:torch_wall", "default:torch_floor", "default:torch_ceiling", "mese_lamp"})
|
||||
local doors = minetest.find_node_near(pos, 5, {"doors:door_wood_a", "doors:door_glass_a", "doors:door_obsidian_glass_a"})
|
||||
if beds ~= nil and light_sources ~= nil and doors ~= nil then
|
||||
|
Loading…
x
Reference in New Issue
Block a user