Make glass connected optionally, add detail textures.

This commit is contained in:
Calinou 2015-01-23 18:52:02 +01:00
parent 10d28eec32
commit f0a455f878
6 changed files with 16 additions and 8 deletions

View File

@ -136,7 +136,8 @@ local nodes = {
}, },
["iron_glass"] = { ["iron_glass"] = {
description = S("Iron Glass"), description = S("Iron Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_iron_glass.png", "moreblocks_iron_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
@ -144,7 +145,8 @@ local nodes = {
}, },
["coal_glass"] = { ["coal_glass"] = {
description = S("Coal Glass"), description = S("Coal Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_coal_glass.png", "moreblocks_coal_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
@ -152,7 +154,8 @@ local nodes = {
}, },
["clean_glass"] = { ["clean_glass"] = {
description = S("Clean Glass"), description = S("Clean Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png", "moreblocks_clean_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
@ -223,7 +226,8 @@ local nodes = {
}, },
["trap_glass"] = { ["trap_glass"] = {
description = S("Trap Glass"), description = S("Trap Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_trap_glass.png", "default_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
@ -262,7 +266,8 @@ local nodes = {
}, },
["glow_glass"] = { ["glow_glass"] = {
description = S("Glow Glass"), description = S("Glow Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_glow_glass.png", "moreblocks_glow_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
light_source = 11, light_source = 11,
@ -271,7 +276,8 @@ local nodes = {
}, },
["trap_glow_glass"] = { ["trap_glow_glass"] = {
description = S("Trap Glow Glass"), description = S("Trap Glow Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_trap_glass.png", "moreblocks_glow_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
light_source = 11, light_source = 11,
@ -282,7 +288,8 @@ local nodes = {
}, },
["super_glow_glass"] = { ["super_glow_glass"] = {
description = S("Super Glow Glass"), description = S("Super Glow Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
light_source = 15, light_source = 15,
@ -291,7 +298,8 @@ local nodes = {
}, },
["trap_super_glow_glass"] = { ["trap_super_glow_glass"] = {
description = S("Trap Super Glow Glass"), description = S("Trap Super Glow Glass"),
drawtype = "glasslike_framed", drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_trap_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
light_source = 15, light_source = 15,

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B