mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-12-03 20:13:45 +01:00
57 lines
2.0 KiB
Lua
57 lines
2.0 KiB
Lua
|
|
||
|
minetest.register_node("elepower_wireless:tesseract_frame", {
|
||
|
description = "Tesseract Frame",
|
||
|
tiles = {
|
||
|
"elewireless_tesseract.png",
|
||
|
},
|
||
|
groups = {cracky = 3,},
|
||
|
drawtype = "nodebox",
|
||
|
paramtype = "light",
|
||
|
node_box = {
|
||
|
type = "fixed",
|
||
|
fixed = {
|
||
|
{-0.5, -0.5, -0.5, -0.3125, -0.3125, 0.5}, -- NodeBox1
|
||
|
{0.3125, -0.5, -0.5, 0.5, -0.3125, 0.5}, -- NodeBox2
|
||
|
{-0.5, 0.3125, -0.5, -0.3125, 0.5, 0.5}, -- NodeBox3
|
||
|
{0.3125, 0.3125, -0.5, 0.5, 0.5, 0.5}, -- NodeBox4
|
||
|
{-0.3125, -0.5, -0.5, 0.3125, -0.3125, -0.3125}, -- NodeBox5
|
||
|
{-0.3125, -0.5, 0.3125, 0.3125, -0.3125, 0.5}, -- NodeBox6
|
||
|
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.5}, -- NodeBox7
|
||
|
{-0.3125, 0.3125, -0.5, 0.3125, 0.5, -0.3125}, -- NodeBox8
|
||
|
{-0.5, -0.3125, -0.5, -0.3125, 0.3125, -0.3125}, -- NodeBox9
|
||
|
{-0.5, -0.3125, 0.3125, -0.3125, 0.3125, 0.5}, -- NodeBox10
|
||
|
{0.3125, -0.5, 0.3125, 0.5, 0.5, 0.5}, -- NodeBox11
|
||
|
{0.3125, -0.3125, -0.5, 0.5, 0.3125, -0.3125}, -- NodeBox12
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_node("elepower_wireless:tesseract", {
|
||
|
description = "Tesseract",
|
||
|
tiles = {
|
||
|
"elewireless_tesseract.png",
|
||
|
},
|
||
|
groups = {cracky = 3,},
|
||
|
drawtype = "nodebox",
|
||
|
paramtype = "light",
|
||
|
node_box = {
|
||
|
type = "fixed",
|
||
|
fixed = {
|
||
|
{-0.5, -0.5, -0.5, -0.3125, -0.3125, 0.5}, -- NodeBox1
|
||
|
{0.3125, -0.5, -0.5, 0.5, -0.3125, 0.5}, -- NodeBox2
|
||
|
{-0.5, 0.3125, -0.5, -0.3125, 0.5, 0.5}, -- NodeBox3
|
||
|
{0.3125, 0.3125, -0.5, 0.5, 0.5, 0.5}, -- NodeBox4
|
||
|
{-0.3125, -0.5, -0.5, 0.3125, -0.3125, -0.3125}, -- NodeBox5
|
||
|
{-0.3125, -0.5, 0.3125, 0.3125, -0.3125, 0.5}, -- NodeBox6
|
||
|
{-0.3125, 0.3125, 0.3125, 0.3125, 0.5, 0.5}, -- NodeBox7
|
||
|
{-0.3125, 0.3125, -0.5, 0.3125, 0.5, -0.3125}, -- NodeBox8
|
||
|
{-0.5, -0.3125, -0.5, -0.3125, 0.3125, -0.3125}, -- NodeBox9
|
||
|
{-0.5, -0.3125, 0.3125, -0.3125, 0.3125, 0.5}, -- NodeBox10
|
||
|
{0.3125, -0.5, 0.3125, 0.5, 0.5, 0.5}, -- NodeBox11
|
||
|
{0.3125, -0.3125, -0.5, 0.5, 0.3125, -0.3125}, -- NodeBox12
|
||
|
{-0.3125, -0.3125, -0.3125, 0.3125, 0.3125, 0.3125}, -- NodeBox13
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
|