mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02:00
Changes to torch and delayer appearance (#669)
* plantlike, x-shaped torch * removed separate LEDs for luacontroller since already contained in base mod it depends on * changed delayer textures to be more consistent with other gates * Reduced the amount of textures needed for pistons with texture modifiers. Will continue to work fine with all existing texturepacks. No change in graphics. * use luacontroller_LED instead of microcontroller_LED to prevent breaking the digistuff mod which inherits it. I hope no mods inherit microcontroller LED.
This commit is contained in:
@ -20,10 +20,10 @@ plg.register_nodes = function(template)
|
||||
|
||||
-- build top texture string
|
||||
local texture = "jeija_fpga_top.png"
|
||||
if a == 1 then texture = texture .. "^jeija_microcontroller_LED_A.png" end
|
||||
if b == 1 then texture = texture .. "^jeija_microcontroller_LED_B.png" end
|
||||
if c == 1 then texture = texture .. "^jeija_microcontroller_LED_C.png" end
|
||||
if d == 1 then texture = texture .. "^jeija_microcontroller_LED_D.png" end
|
||||
if a == 1 then texture = texture .. "^jeija_luacontroller_LED_A.png" end
|
||||
if b == 1 then texture = texture .. "^jeija_luacontroller_LED_B.png" end
|
||||
if c == 1 then texture = texture .. "^jeija_luacontroller_LED_C.png" end
|
||||
if d == 1 then texture = texture .. "^jeija_luacontroller_LED_D.png" end
|
||||
ndef.tiles[1] = texture
|
||||
ndef.inventory_image = texture
|
||||
|
||||
|
Reference in New Issue
Block a user