mirror of
https://github.com/Ezhh/abriglass.git
synced 2024-10-04 00:43:16 +02:00
Add correct paramtype for nodes
This commit is contained in:
parent
ff7e704ac5
commit
d1bedb779d
@ -21,6 +21,7 @@ for i in ipairs(glass_list) do
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 4,
|
light_source = 4,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -33,6 +34,7 @@ minetest.register_node("abriglass:stained_glass_frosted", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 4,
|
light_source = 4,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -71,6 +73,7 @@ for i in ipairs(light_list) do
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -100,6 +103,7 @@ for i in ipairs(pattern_list) do
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 5,
|
light_source = 5,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
@ -206,6 +210,7 @@ minetest.register_node("abriglass:ghost_crystal", {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -220,4 +225,5 @@ minetest.register_node("abriglass:hidden_light", {
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
light_source = 7,
|
light_source = 7,
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
|
paramtype = "light",
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user