3 Commits

Author SHA1 Message Date
39790cec4d _ 2022-08-13 09:21:24 +02:00
524ce1cf77 remove crafts 2022-08-13 09:01:33 +02:00
2aa9e37e12 remove depends 2022-07-12 13:44:38 +02:00
3 changed files with 7 additions and 41 deletions

View File

@@ -1,2 +0,0 @@
default
digilines

View File

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

View File

@@ -93,8 +93,8 @@ end
for _,tube in ipairs(nixie_types) do for _,tube in ipairs(nixie_types) do
local groups = { cracky = 2, not_in_creative_inventory = 1} local groups = { cracky = 2, not_in_creative_inventory = 1}
local light = LIGHT_MAX-4 local light = 10
local light2 = LIGHT_MAX-5 local light2 = 9
local description = S("Nixie Tube ("..tube..")") local description = S("Nixie Tube ("..tube..")")
local description2 = S("Decatron ("..tube..")") local description2 = S("Decatron ("..tube..")")
local description3 = S("Numitron Tube") local description3 = S("Numitron Tube")
@@ -124,7 +124,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 = "blend",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@@ -159,7 +159,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 = "blend",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@@ -196,7 +196,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 = "blend",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@@ -437,7 +437,7 @@ for i in ipairs(alnum_chars) do
local bits = alnum_chars[i][2] local bits = alnum_chars[i][2]
local groups = { cracky = 2, not_in_creative_inventory = 1} local groups = { cracky = 2, not_in_creative_inventory = 1}
local light = LIGHT_MAX-4 local light = 10
local description = S("Alphanumeric Nixie Tube ("..char..")") local description = S("Alphanumeric Nixie Tube ("..char..")")
local wires = "nixie_tube_alnum_wires.png" local wires = "nixie_tube_alnum_wires.png"
@@ -465,7 +465,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 = "blend",
groups = groups, groups = groups,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@@ -489,34 +489,3 @@ for i in ipairs(alnum_chars) do
drop = "nixie_tubes:alnum_32" drop = "nixie_tubes:alnum_32"
}) })
end end
-- crafts
minetest.register_craft({
output = "nixie_tubes:tube_off 4",
recipe = {
{ "", "default:glass", "" },
{ "default:glass", "default:sign_wall", "default:glass" },
{ "default:glass", "default:mese_crystal_fragment", "default:glass" }
},
})
minetest.register_craft({
output = "nixie_tubes:numitron_off 4",
recipe = {
{ "", "default:glass", "" },
{ "default:glass", "default:copper_ingot", "default:glass" },
{ "default:glass", "default:mese_crystal_fragment", "default:glass" }
},
})
minetest.register_craft({
output = "nixie_tubes:alnum_32 4",
recipe = {
{ "", "default:glass", "" },
{ "default:glass", "default:sign_wall", "default:glass" },
{ "default:glass", "default:mese_crystal", "default:glass" }
},
})