mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-11-04 07:25:29 +01:00 
			
		
		
		
	Make trap-stones see-through when inside them
This commit is contained in:
		@@ -236,18 +236,22 @@ local nodes = {
 | 
			
		||||
	},
 | 
			
		||||
	["trap_stone"] = {
 | 
			
		||||
		description = S("Trap Stone"),
 | 
			
		||||
		drawtype = "glasslike_framed",
 | 
			
		||||
		tiles = {"default_stone.png^moreblocks_trap_box.png"},
 | 
			
		||||
		walkable = false,
 | 
			
		||||
		groups = {cracky = 3},
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		is_ground_content = false,
 | 
			
		||||
		sounds = sound_stone,
 | 
			
		||||
		no_stairs = true,
 | 
			
		||||
	},
 | 
			
		||||
	["trap_desert_stone"] = {
 | 
			
		||||
		description = S("Trap Desert Stone"),
 | 
			
		||||
		drawtype = "glasslike_framed",
 | 
			
		||||
		tiles = {"default_desert_stone.png^moreblocks_trap_box.png"},
 | 
			
		||||
		walkable = false,
 | 
			
		||||
		groups = {cracky = 3},
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		is_ground_content = false,
 | 
			
		||||
		sounds = sound_stone,
 | 
			
		||||
		no_stairs = true,
 | 
			
		||||
@@ -280,18 +284,22 @@ local nodes = {
 | 
			
		||||
	},
 | 
			
		||||
	["trap_obsidian"] = {
 | 
			
		||||
		description = S("Trap Obsidian"),
 | 
			
		||||
		drawtype = "glasslike_framed",
 | 
			
		||||
		tiles = {"default_obsidian.png^moreblocks_trap_box.png"},
 | 
			
		||||
		walkable = false,
 | 
			
		||||
		groups = {cracky = 1, level = 2},
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		is_ground_content = false,
 | 
			
		||||
		sounds = sound_stone,
 | 
			
		||||
		no_stairs = true,
 | 
			
		||||
	},
 | 
			
		||||
	["trap_sandstone"] = {
 | 
			
		||||
		description = S("Trap Sandstone"),
 | 
			
		||||
		drawtype = "glasslike_framed",
 | 
			
		||||
		tiles = {"default_sandstone.png^moreblocks_trap_box.png"},
 | 
			
		||||
		walkable = false,
 | 
			
		||||
		groups = {crumbly = 1, cracky = 3},
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		is_ground_content = false,
 | 
			
		||||
		sounds = sound_stone,
 | 
			
		||||
		no_stairs = true,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user