use thinner font
Use ^ to combine the standard "off cathodes" image with the various individual "on" digits. recolor images to give them a reddish glow around a bright orange element
4
init.lua
@ -53,11 +53,13 @@ for _,tube in ipairs(nixie_types) do
|
||||
local groups = { cracky = 2, not_in_creative_inventory = 1}
|
||||
local light = LIGHT_MAX-4
|
||||
local description = S("Nixie Tube ("..tube..")")
|
||||
local cathode = "nixie_tube_cathode_off.png^nixie_tube_cathode_"..tube..".png"
|
||||
|
||||
if tube == "off" then
|
||||
groups = {cracky = 2}
|
||||
light = nil
|
||||
description = S("Nixie Tube")
|
||||
cathode = "nixie_tube_cathode_off.png"
|
||||
end
|
||||
|
||||
minetest.register_node("nixie_tubes:tube_"..tube, {
|
||||
@ -67,7 +69,7 @@ for _,tube in ipairs(nixie_types) do
|
||||
tiles = {
|
||||
"nixie_tube_base.png",
|
||||
"nixie_tube_backing.png",
|
||||
"nixie_tube_cathode_"..tube..".png",
|
||||
cathode,
|
||||
"nixie_tube_anode.png",
|
||||
"nixie_tube_glass.png",
|
||||
},
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 712 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 804 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 725 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 216 B |