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

flat inventory image for easy gate identification

parent 845c2751
No related branches found
No related tags found
No related merge requests found
......@@ -37,15 +37,16 @@ for g in ipairs(gates) do gate = gates[g]
fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}
tiles = "jeija_microcontroller_bottom.png^"..
"jeija_gate_"..onoff..".png^"..
"jeija_gate_"..gate..".png"
minetest.register_node(nodename, {
description = description,
paramtype = "light",
drawtype = "nodebox",
tiles = {
"jeija_microcontroller_bottom.png^"..
"jeija_gate_"..onoff..".png^"..
"jeija_gate_"..gate..".png",
},
tiles = {tiles},
inventory_image = tiles,
selection_box = node_box,
node_box = node_box,
walkable = true,
......
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