Make trap-stones see-through when inside them

This commit is contained in:
Richard Qian 2016-12-07 22:46:15 -06:00 committed by sofar
parent 0e2c30ec72
commit 350a5f49e7

View File

@ -236,18 +236,22 @@ local nodes = {
}, },
["trap_stone"] = { ["trap_stone"] = {
description = S("Trap Stone"), description = S("Trap Stone"),
drawtype = "glasslike_framed",
tiles = {"default_stone.png^moreblocks_trap_box.png"}, tiles = {"default_stone.png^moreblocks_trap_box.png"},
walkable = false, walkable = false,
groups = {cracky = 3}, groups = {cracky = 3},
paramtype = "light",
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
no_stairs = true, no_stairs = true,
}, },
["trap_desert_stone"] = { ["trap_desert_stone"] = {
description = S("Trap Desert Stone"), description = S("Trap Desert Stone"),
drawtype = "glasslike_framed",
tiles = {"default_desert_stone.png^moreblocks_trap_box.png"}, tiles = {"default_desert_stone.png^moreblocks_trap_box.png"},
walkable = false, walkable = false,
groups = {cracky = 3}, groups = {cracky = 3},
paramtype = "light",
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
no_stairs = true, no_stairs = true,
@ -280,18 +284,22 @@ local nodes = {
}, },
["trap_obsidian"] = { ["trap_obsidian"] = {
description = S("Trap Obsidian"), description = S("Trap Obsidian"),
drawtype = "glasslike_framed",
tiles = {"default_obsidian.png^moreblocks_trap_box.png"}, tiles = {"default_obsidian.png^moreblocks_trap_box.png"},
walkable = false, walkable = false,
groups = {cracky = 1, level = 2}, groups = {cracky = 1, level = 2},
paramtype = "light",
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
no_stairs = true, no_stairs = true,
}, },
["trap_sandstone"] = { ["trap_sandstone"] = {
description = S("Trap Sandstone"), description = S("Trap Sandstone"),
drawtype = "glasslike_framed",
tiles = {"default_sandstone.png^moreblocks_trap_box.png"}, tiles = {"default_sandstone.png^moreblocks_trap_box.png"},
walkable = false, walkable = false,
groups = {crumbly = 1, cracky = 3}, groups = {crumbly = 1, cracky = 3},
paramtype = "light",
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
no_stairs = true, no_stairs = true,