add walk-through wall nodes

This commit is contained in:
Skivling 2024-10-27 08:02:21 +13:00
parent e17d050da8
commit c65226113a

View File

@ -149,12 +149,12 @@ end
drwho_tardis:register_in_door_style({
texture = "inside_door.png",
description = "Tardis Interior Door (style A)",
itemstring = "drwho_tardis:in_door"
itemstring = "drwho_tardis:in_door",
})
drwho_tardis:register_in_door_style({
texture = "drwho_tardis_inside_door_b.png",
description = "Tardis Interior Door (style B)",
itemstring = "drwho_tardis:in_door_b"
itemstring = "drwho_tardis:in_door_b",
})
-- Recipes for these are in recipes.lua
@ -216,11 +216,50 @@ minetest.register_node("drwho_tardis:grey_block_slab", {
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
},
})
minetest.register_node("drwho_tardis:grey_block_h", {
description = S("Light Grey Block"),
tiles = {"drwho_tardis_grey_block.png"},
groups = {cracky = 1},
drops = {"drwho_tardis:grey_block"},
selection_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
},
},
collision_box = {
type = "fixed",
fixed = {
{ 0, 0, 0, 0, 0, 0 },
},
},
sunlight_propagates = false,
})
minetest.register_node("drwho_tardis:turquiose_block", {
description = S("Turquiose Block"),
tiles = {"tardis_side_4.png"},
groups = {cracky = 1},
})
minetest.register_node("drwho_tardis:turquiose_block_h", {
description = S("Turquiose Block"),
tiles = {"tardis_side_4.png"},
groups = {cracky = 1},
drops = {"drwho_tardis:turquiose_block"},
selection_box = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
},
},
collision_box = {
type = "fixed",
fixed = {
{ 0, 0, 0, 0, 0, 0 },
},
},
sunlight_propagates = false,
})
minetest.register_node("drwho_tardis:stone", {
description = S("Stone"),
tiles = {"default_stone.png"},