mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Building blocks add glass for stairplus (#394)
* Building Blocks Add all glass for stairsplus -Smoothglass -WoodGlass (plus some style fixes)
This commit is contained in:
parent
3021248538
commit
8882ab8e19
@ -40,6 +40,37 @@ local function building_blocks_stairs(nodename, def)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
building_blocks_stairs("building_blocks:grate", {
|
||||||
|
drawtype = "glasslike",
|
||||||
|
description = S("Grate"),
|
||||||
|
tiles = {"building_blocks_grate.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {cracky=1},
|
||||||
|
sounds = default.node_sound_metal_defaults(),
|
||||||
|
})
|
||||||
|
building_blocks_stairs("building_blocks:smoothglass", {
|
||||||
|
drawtype = "glasslike",
|
||||||
|
description = S("Streak Free Glass"),
|
||||||
|
tiles = {"building_blocks_sglass.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
building_blocks_stairs("building_blocks:woodglass", {
|
||||||
|
drawtype = "glasslike",
|
||||||
|
description = S("Wood Framed Glass"),
|
||||||
|
tiles = {"building_blocks_wglass.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
building_blocks_stairs("building_blocks:Adobe", {
|
building_blocks_stairs("building_blocks:Adobe", {
|
||||||
tiles = {"building_blocks_Adobe.png"},
|
tiles = {"building_blocks_Adobe.png"},
|
||||||
description = S("Adobe"),
|
description = S("Adobe"),
|
||||||
@ -56,16 +87,6 @@ building_blocks_stairs("building_blocks:fakegrass", {
|
|||||||
footstep = {name="default_grass_footstep", gain=0.4},
|
footstep = {name="default_grass_footstep", gain=0.4},
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
building_blocks_stairs("building_blocks:grate", {
|
|
||||||
drawtype = "glasslike",
|
|
||||||
description = S("Grate"),
|
|
||||||
tiles = {"building_blocks_grate.png"},
|
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = true,
|
|
||||||
groups = {cracky=1},
|
|
||||||
sounds = default.node_sound_metal_defaults(),
|
|
||||||
})
|
|
||||||
building_blocks_stairs("building_blocks:hardwood", {
|
building_blocks_stairs("building_blocks:hardwood", {
|
||||||
tiles = {"building_blocks_hardwood.png"},
|
tiles = {"building_blocks_hardwood.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -95,27 +116,6 @@ building_blocks_stairs("building_blocks:Marble", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("building_blocks:smoothglass", {
|
|
||||||
drawtype = "glasslike",
|
|
||||||
description = S("Streak Free Glass"),
|
|
||||||
tiles = {"building_blocks_sglass.png"},
|
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = true,
|
|
||||||
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
|
||||||
sounds = default.node_sound_glass_defaults(),
|
|
||||||
})
|
|
||||||
minetest.register_node("building_blocks:woodglass", {
|
|
||||||
drawtype = "glasslike",
|
|
||||||
description = S("Wood Framed Glass"),
|
|
||||||
tiles = {"building_blocks_wglass.png"},
|
|
||||||
paramtype = "light",
|
|
||||||
sunlight_propagates = true,
|
|
||||||
is_ground_content = true,
|
|
||||||
groups = {snappy=3,cracky=3,oddly_breakable_by_hand=3},
|
|
||||||
sounds = default.node_sound_glass_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("building_blocks:brobble_spread", {
|
minetest.register_node("building_blocks:brobble_spread", {
|
||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
-- Translators: "Brobble" is a portmanteau of "Brick" and "Cobble".
|
-- Translators: "Brobble" is a portmanteau of "Brick" and "Cobble".
|
||||||
|
Loading…
Reference in New Issue
Block a user