forked from Mirrorlandia_minetest/mesecons
went back to large nodeboxes which agree with inventory image
This commit is contained in:
parent
17fc6ac1f0
commit
9fbc4b4587
@ -33,25 +33,8 @@ gates = {"diode", "not", "nand", "and", "xor"}
|
|||||||
for g in ipairs(gates) do gate = gates[g]
|
for g in ipairs(gates) do gate = gates[g]
|
||||||
if g < 3 then
|
if g < 3 then
|
||||||
get_rules = get_gate_rules_one
|
get_rules = get_gate_rules_one
|
||||||
node_box = {
|
|
||||||
type = "fixed",
|
|
||||||
fixed = {
|
|
||||||
{-6/16, -8/16, -6/16, 6/16, -7/16, 6/16 },
|
|
||||||
{6/16, -8/16, -2/16, 8/16, -7/16, 2/16 },
|
|
||||||
{-8/16, -8/16, -2/16, -6/16, -7/16, 2/16 },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
get_rules = get_gate_rules_two
|
get_rules = get_gate_rules_two
|
||||||
node_box = {
|
|
||||||
type = "fixed",
|
|
||||||
fixed = {
|
|
||||||
{-6/16, -8/16, -6/16, 6/16, -7/16, 6/16 },
|
|
||||||
{6/16, -8/16, -2/16, 8/16, -7/16, 2/16 },
|
|
||||||
{-2/16, -8/16, 6/16, 2/16, -7/16, 8/16 },
|
|
||||||
{-2/16, -8/16, -8/16, 2/16, -7/16, -6/16 },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
for on=0,1 do
|
for on=0,1 do
|
||||||
nodename = "mesecons_gates:"..gate
|
nodename = "mesecons_gates:"..gate
|
||||||
@ -75,6 +58,13 @@ for g in ipairs(gates) do gate = gates[g]
|
|||||||
"jeija_gate_"..onoff..".png^"..
|
"jeija_gate_"..onoff..".png^"..
|
||||||
"jeija_gate_"..gate..".png"
|
"jeija_gate_"..gate..".png"
|
||||||
|
|
||||||
|
node_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
minetest.register_node(nodename, {
|
minetest.register_node(nodename, {
|
||||||
description = description,
|
description = description,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
Loading…
Reference in New Issue
Block a user