elepower/elepower_wireless/machines/tesseract.lua
Sirrobzeroone b9ca4fc778 Liquid "alpha" updated to blend
The liquids don't look like liquids so somethings still a bit off but at least the warnings are gone
2021-06-10 20:31:53 +10:00

58 lines
2.0 KiB
Lua

minetest.register_node("elepower_wireless:tesseract_frame", {
description = "Tesseract Frame",
tiles = {
"elewireless_tesseract.png",
},
use_texture_alpha = "clip",
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
}
}
})