mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-20 09:00:32 +01:00
fixed Z-fighting between ceiling fan blades and block above
moved it to climate control where it belongs
This commit is contained in:
parent
2609e68d9d
commit
65c502fe0f
@ -115,6 +115,35 @@ minetest.register_node("homedecor:desk_fan", {
|
||||
end,
|
||||
})
|
||||
|
||||
-- ceiling fan
|
||||
|
||||
minetest.register_node('homedecor:ceiling_fan', {
|
||||
description = S("Ceiling Fan"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
{ name="homedecor_ceiling_fan_top.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5} },
|
||||
{ name="homedecor_ceiling_fan_bottom.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5} },
|
||||
'homedecor_ceiling_fan_sides.png',
|
||||
},
|
||||
inventory_image = "homedecor_ceiling_fan_inv.png",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -0.5, 0.495, -0.5, 0.5, 0.495, 0.5 },
|
||||
{ -0.0625, 0.375, -0.0625, 0.0625, 0.5, 0.0625 }
|
||||
}
|
||||
},
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
light_source = LIGHT_MAX-1,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- heating devices
|
||||
|
||||
minetest.register_node('homedecor:space_heater', {
|
||||
|
@ -356,29 +356,3 @@ minetest.register_node('homedecor:lattice_lantern_small', {
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
minetest.register_node('homedecor:ceiling_fan', {
|
||||
description = S("Ceiling Fan"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
{ name="homedecor_ceiling_fan_top.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5} },
|
||||
{ name="homedecor_ceiling_fan_bottom.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5} },
|
||||
'homedecor_ceiling_fan_sides.png',
|
||||
},
|
||||
inventory_image = "homedecor_ceiling_fan_inv.png",
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -0.5, 0.5, -0.5, 0.5, 0.5, 0.5 },
|
||||
{ -0.0625, 0.375, -0.0625, 0.0625, 0.5, 0.0625 }
|
||||
}
|
||||
},
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = { snappy = 3 },
|
||||
light_source = LIGHT_MAX-1,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user