mirror of
https://github.com/mt-mods/nixie_tubes.git
synced 2024-12-04 05:03:43 +01:00
general maintenance (#1)
This commit is contained in:
parent
d5cd8c776f
commit
ac3d41f557
@ -1,2 +0,0 @@
|
||||
default
|
||||
digilines
|
@ -1 +0,0 @@
|
||||
This mod provides a set of classic Nixie tubes, and a set of alphanumeric 15-segment tubes similar to Burroughs B-7971, controlled by Mesecons' Digilines mod.
|
15
init.lua
15
init.lua
@ -3,12 +3,7 @@
|
||||
|
||||
nixie_tubes = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local nixie_types = {
|
||||
"1",
|
||||
@ -124,7 +119,7 @@ for _,tube in ipairs(nixie_types) do
|
||||
"nixie_tube_anode.png",
|
||||
"nixie_tube_glass.png",
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "clip",
|
||||
groups = groups,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -159,7 +154,7 @@ for _,tube in ipairs(nixie_types) do
|
||||
"nixie_tube_anode.png",
|
||||
"nixie_tube_glass.png",
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "clip",
|
||||
groups = groups,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -196,7 +191,7 @@ for _,tube in ipairs(nixie_types) do
|
||||
cathode2,
|
||||
"nixie_tube_glass.png",
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "clip",
|
||||
groups = groups,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -465,7 +460,7 @@ for i in ipairs(alnum_chars) do
|
||||
"nixie_tube_anode.png",
|
||||
"nixie_tube_glass.png",
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = "clip",
|
||||
groups = groups,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
2
mod.conf
2
mod.conf
@ -1,2 +1,4 @@
|
||||
name = nixie_tubes
|
||||
description = This mod provides a set of classic Nixie tubes, and a set of alphanumeric 15-segment tubes similar to Burroughs B-7971, controlled by Mesecons' Digilines mod.
|
||||
depends = default, digilines
|
||||
min_minetest_version = 5.2.0
|
||||
|
Loading…
Reference in New Issue
Block a user