Skip to content
Snippets Groups Projects
Commit 9fbc4b45 authored by Kyle's avatar Kyle
Browse files

went back to large nodeboxes which agree with inventory image

parent 17fc6ac1
No related branches found
No related tags found
No related merge requests found
......@@ -33,25 +33,8 @@ gates = {"diode", "not", "nand", "and", "xor"}
for g in ipairs(gates) do gate = gates[g]
if g < 3 then
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
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
for on=0,1 do
nodename = "mesecons_gates:"..gate
......@@ -75,6 +58,13 @@ for g in ipairs(gates) do gate = gates[g]
"jeija_gate_"..onoff..".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, {
description = description,
paramtype = "light",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment