1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-11-15 06:40:28 +01:00
This commit is contained in:
Thomas Rudin 2018-09-24 14:13:59 +02:00
parent 4bbb5071ff
commit 8a0ea36a18
2 changed files with 30 additions and 0 deletions

View File

@ -1250,3 +1250,10 @@ minetest.register_craft({
}
})
-- https://forum.minetest.net/viewtopic.php?f=10&t=13125&p=261481#p261481
minetest.register_craft({
output = 'scifi_nodes:windowpanel 4',
recipe = {
{"scifi_nodes:glass","",""}
}
})

View File

@ -1220,3 +1220,26 @@ minetest.register_node("scifi_nodes:tallscreen", {
},
groups = {cracky=1, oddly_breakable_by_hand=1}
})
-- https://forum.minetest.net/viewtopic.php?f=10&t=13125&p=261481#p261481
minetest.register_node("scifi_nodes:windowpanel", {
description = "strong window panel",
tiles = {
"scifi_nodes_glass.png",
},
drawtype = "nodebox",
paramtype = "light",
use_texture_alpha = true,
sunlight_propagates = true,
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.0625, -0.5, -0.5, 0.0625, 0.5, 0.5}, -- NodeBox11
}
},
groups = {cracky=1},
on_place = minetest.rotate_node,
sounds = default.node_sound_glass_defaults(),
})