2013-03-18 00:09:42 +01:00
|
|
|
-- Various kidns of shingles
|
|
|
|
|
2013-10-22 02:31:54 +02:00
|
|
|
local S = homedecor.gettext
|
2013-03-18 00:09:42 +01:00
|
|
|
|
2013-05-07 07:49:22 +02:00
|
|
|
minetest.register_node("homedecor:skylight", {
|
2013-04-29 09:08:36 +02:00
|
|
|
description = S("Glass Skylight"),
|
2013-05-07 07:49:22 +02:00
|
|
|
drawtype = "raillike",
|
|
|
|
tiles = { "default_glass.png" },
|
|
|
|
wield_image = "default_glass.png",
|
|
|
|
inventory_image = "homedecor_skylight_inv.png",
|
|
|
|
paramtype = "light",
|
2013-04-29 09:08:36 +02:00
|
|
|
sunlight_propagates = true,
|
|
|
|
walkable = true,
|
2013-03-18 00:09:42 +01:00
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2015-01-23 17:40:57 +01:00
|
|
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
2013-03-18 00:09:42 +01:00
|
|
|
})
|
|
|
|
|
2013-05-07 07:49:22 +02:00
|
|
|
minetest.register_node("homedecor:skylight_frosted", {
|
2014-03-25 14:16:47 +01:00
|
|
|
description = S("Glass Skylight Frosted"),
|
2013-05-07 07:49:22 +02:00
|
|
|
drawtype = "raillike",
|
|
|
|
tiles = { "homedecor_skylight_frosted.png" },
|
|
|
|
wield_image = "homedecor_skylight_frosted.png",
|
|
|
|
inventory_image = "homedecor_skylight_frosted_inv.png",
|
|
|
|
paramtype = "light",
|
2013-03-18 00:09:42 +01:00
|
|
|
sunlight_propagates = true,
|
2013-04-29 09:08:36 +02:00
|
|
|
use_texture_alpha = true,
|
2013-03-18 00:09:42 +01:00
|
|
|
walkable = true,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2015-01-23 17:40:57 +01:00
|
|
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
2013-04-29 09:08:36 +02:00
|
|
|
})
|
|
|
|
|
2013-05-07 07:49:22 +02:00
|
|
|
minetest.register_node("homedecor:shingles_wood", {
|
2013-04-29 09:08:36 +02:00
|
|
|
description = S("Wood Shingles"),
|
2013-05-07 07:49:22 +02:00
|
|
|
drawtype = "raillike",
|
|
|
|
tiles = { "homedecor_shingles_wood.png" },
|
|
|
|
wield_image = "homedecor_shingles_wood.png",
|
|
|
|
inventory_image = "homedecor_shingles_wood_inv.png",
|
|
|
|
paramtype = "light",
|
2013-04-29 09:08:36 +02:00
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2015-01-23 17:40:57 +01:00
|
|
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
2013-03-18 00:09:42 +01:00
|
|
|
})
|
|
|
|
|
2013-05-07 07:49:22 +02:00
|
|
|
minetest.register_node("homedecor:shingles_asphalt", {
|
2013-03-18 00:09:42 +01:00
|
|
|
description = S("Asphalt Shingles"),
|
2013-05-07 07:49:22 +02:00
|
|
|
drawtype = "raillike",
|
|
|
|
tiles = { "homedecor_shingles_asphalt.png" },
|
|
|
|
wield_image = "homedecor_shingles_asphalt.png",
|
|
|
|
inventory_image = "homedecor_shingles_asphalt_inv.png",
|
|
|
|
paramtype = "light",
|
2013-03-18 00:09:42 +01:00
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2015-01-23 17:40:57 +01:00
|
|
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
2013-03-18 00:09:42 +01:00
|
|
|
})
|
|
|
|
|
2013-05-07 07:49:22 +02:00
|
|
|
minetest.register_node("homedecor:shingles_terracotta", {
|
2014-03-25 14:16:47 +01:00
|
|
|
description = S("Terracotta Shingles"),
|
2013-05-07 07:49:22 +02:00
|
|
|
drawtype = "raillike",
|
|
|
|
tiles = { "homedecor_shingles_terracotta.png" },
|
|
|
|
wield_image = "homedecor_shingles_terracotta.png",
|
|
|
|
inventory_image = "homedecor_shingles_terracotta_inv.png",
|
|
|
|
paramtype = "light",
|
2013-03-18 00:09:42 +01:00
|
|
|
sunlight_propagates = false,
|
|
|
|
walkable = false,
|
|
|
|
groups = { snappy = 3 },
|
|
|
|
sounds = default.node_sound_leaves_defaults(),
|
2015-01-23 17:40:57 +01:00
|
|
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
2013-03-18 00:09:42 +01:00
|
|
|
})
|
|
|
|
|