general maintenance (#1)

This commit is contained in:
Niklp 2022-07-13 01:09:01 +02:00 committed by GitHub
parent d5cd8c776f
commit ac3d41f557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 13 deletions

@ -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.

@ -3,12 +3,7 @@
nixie_tubes = {} nixie_tubes = {}
local S local S = minetest.get_translator(minetest.get_current_modname())
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
local nixie_types = { local nixie_types = {
"1", "1",
@ -124,7 +119,7 @@ for _,tube in ipairs(nixie_types) do
"nixie_tube_anode.png", "nixie_tube_anode.png",
"nixie_tube_glass.png", "nixie_tube_glass.png",
}, },
use_texture_alpha = true, use_texture_alpha = "clip",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -159,7 +154,7 @@ for _,tube in ipairs(nixie_types) do
"nixie_tube_anode.png", "nixie_tube_anode.png",
"nixie_tube_glass.png", "nixie_tube_glass.png",
}, },
use_texture_alpha = true, use_texture_alpha = "clip",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -196,7 +191,7 @@ for _,tube in ipairs(nixie_types) do
cathode2, cathode2,
"nixie_tube_glass.png", "nixie_tube_glass.png",
}, },
use_texture_alpha = true, use_texture_alpha = "clip",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -465,7 +460,7 @@ for i in ipairs(alnum_chars) do
"nixie_tube_anode.png", "nixie_tube_anode.png",
"nixie_tube_glass.png", "nixie_tube_glass.png",
}, },
use_texture_alpha = true, use_texture_alpha = "clip",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",

@ -1,2 +1,4 @@
name = nixie_tubes 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 min_minetest_version = 5.2.0