mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 15:37:27 +01:00
flat inventory image for easy gate identification
This commit is contained in:
parent
845c275121
commit
b0142a7429
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user