Change use_texture_alpha to work with MT 5.0+

This commit is contained in:
Joachim Stolberg 2021-03-19 20:06:22 +01:00
parent 29ad918960
commit 4141fefdf6
36 changed files with 74 additions and 71 deletions

View File

@ -88,7 +88,7 @@ minetest.register_node("techage:tubeS", {
},
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy=2, cracky=3},
@ -129,7 +129,7 @@ minetest.register_node("techage:tubeA", {
},
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy=2, cracky=3, not_in_creative_inventory=1},

View File

@ -55,7 +55,7 @@ minetest.register_node("techage:ta4_tubeS", {
},
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy=2, cracky=3},
@ -96,7 +96,7 @@ minetest.register_node("techage:ta4_tubeA", {
},
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy=2, cracky=3, not_in_creative_inventory=1},

View File

@ -80,7 +80,7 @@ minetest.register_node("techage:chest_cart", {
},
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 2, crumbly = 2, choppy = 2},

View File

@ -111,7 +111,7 @@ minetest.register_node("techage:tank_cart", {
},
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 2, crumbly = 2, choppy = 2},

View File

@ -111,7 +111,7 @@ minetest.register_node("techage:ta4_liquid_filter_filler", {
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
on_rotate = screwdriver.disallow,
groups = {cracky=2},
is_ground_content = false,
@ -190,7 +190,7 @@ minetest.register_node("techage:ta4_liquid_filter_sink", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2},

View File

@ -56,7 +56,7 @@ minetest.register_node("techage:ta4_reactor_fillerpipe", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
@ -168,7 +168,7 @@ minetest.register_node("techage:ta4_reactor", {
allow_metadata_inventory_take = allow_metadata_inventory_take,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2},

View File

@ -122,7 +122,7 @@ minetest.register_node("techage:ta4_reactor_stand", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2},

View File

@ -148,7 +148,7 @@ minetest.register_node("techage:construction_board", {
paramtype2 = "wallmounted",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
@ -200,7 +200,7 @@ minetest.register_node("techage:construction_board_EN", {
paramtype2 = "wallmounted",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},

View File

@ -99,7 +99,7 @@ minetest.register_node("techage:ta4_battery", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=1, cracky=1, crumbly=1},
@ -133,7 +133,7 @@ minetest.register_node("techage:ta4_battery_empty", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=1, cracky=1, crumbly=1, not_in_creative_inventory=1},

View File

@ -395,7 +395,7 @@ minetest.register_node("techage:ta4_icta_controller", {
paramtype = "light",
sunlight_propagates = true,
paramtype2 = "facedir",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
groups = {choppy=1, cracky=1, crumbly=1},
is_ground_content = false,
sounds = default.node_sound_stone_defaults(),

View File

@ -90,7 +90,7 @@ minetest.register_node("techage:ta4_display", {
tiles = {"techage_display.png"},
drawtype = "nodebox",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
node_box = techage.display.lcd_box,
@ -138,7 +138,7 @@ minetest.register_node("techage:ta4_displayXL", {
tiles = {"techage_displayXL.png"},
drawtype = "nodebox",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
node_box = techage.display.lcd_boxXL,

View File

@ -61,7 +61,7 @@ minetest.register_node("techage:ta4_signaltower", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
light_source = 0,
sunlight_propagates = true,
paramtype2 = "facedir",
@ -93,7 +93,7 @@ for _,color in ipairs({"green", "amber", "red"}) do
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
light_source = 10,
sunlight_propagates = true,
paramtype2 = "facedir",

View File

@ -38,6 +38,9 @@ elseif minetest.global_exists("safer_lua") and safer_lua.version < 1.0 then
return
end
-- Test MT 5.4 new string mode
techage.CLIP = minetest.features.use_texture_alpha_string_modes and "clip" or true
techage.NodeDef = {} -- node registration info
techage.max_num_forceload_blocks = tonumber(minetest.settings:get("techage_max_num_forceload_blocks")) or 24

View File

@ -147,7 +147,7 @@ for idx = 0,3 do
minecart_hopper_untakeitem = minecart_hopper_untakeitem,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
sunlight_propagates = true,

View File

@ -146,7 +146,7 @@ function techage.register_lamp(basename, ndef_off, ndef_on)
ndef_off.on_rotate = ndef_off.on_rotate or on_rotate
ndef_off.on_timer = node_timer
ndef_off.paramtype = "light"
ndef_off.use_texture_alpha = "clip"
ndef_off.use_texture_alpha = techage.CLIP
ndef_off.light_source = 0
ndef_off.sunlight_propagates = true
ndef_off.paramtype2 = "facedir"
@ -166,7 +166,7 @@ function techage.register_lamp(basename, ndef_off, ndef_on)
ndef_on.on_rotate = ndef_on.on_rotate or on_rotate
ndef_on.on_timer = ndef_on.on_timer or node_timer
ndef_on.paramtype = "light"
ndef_on.use_texture_alpha = "clip"
ndef_on.use_texture_alpha = techage.CLIP
ndef_on.light_source = minetest.LIGHT_MAX
ndef_on.sunlight_propagates = true
ndef_on.paramtype2 = "facedir"

View File

@ -77,7 +77,7 @@ minetest.register_node("techage:ta3_pipeS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 2, cracky = 2, snappy = 2},
@ -112,7 +112,7 @@ minetest.register_node("techage:ta3_pipeA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 2, cracky = 2, snappy = 2, not_in_creative_inventory=1},

View File

@ -128,7 +128,7 @@ minetest.register_node("techage:ta3_valve_open", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 2, cracky = 2, snappy = 2},
@ -168,7 +168,7 @@ minetest.register_node("techage:ta3_valve_closed", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 2, cracky = 2, snappy = 2, not_in_creative_inventory = 1},

View File

@ -238,7 +238,7 @@ minetest.register_node("techage:ta4_button_off", {
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=2, cracky=2, crumbly=2},
@ -273,7 +273,7 @@ minetest.register_node("techage:ta4_button_on", {
techage_set_numbers = techage_set_numbers,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=2, cracky=2, crumbly=2, not_in_creative_inventory=1},

View File

@ -224,7 +224,7 @@ local function register_terminal(num, tiles, node_box, selection_box)
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=2, cracky=2, crumbly=2},

View File

@ -553,7 +553,7 @@ minetest.register_node("techage:ta4_lua_controller", {
on_timer = on_timer,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=1, cracky=1, crumbly=1},

View File

@ -104,7 +104,7 @@ on_timer = function(pos, elasped)
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
groups = {choppy=1, cracky=1, crumbly=1},
is_ground_content = false,

View File

@ -179,7 +179,7 @@ minetest.register_node("techage:ta4_terminal", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy=2, cracky=2, crumbly=2},

View File

@ -38,7 +38,7 @@ minetest.register_node("techage:oiltower1", {
diggable = false,
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {not_in_creative_inventory = 1},
is_ground_content = false,
@ -71,7 +71,7 @@ minetest.register_node("techage:oiltower2", {
diggable = false,
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {not_in_creative_inventory = 1},
is_ground_content = false,
@ -104,7 +104,7 @@ minetest.register_node("techage:oiltower3", {
diggable = false,
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {not_in_creative_inventory = 1},
is_ground_content = false,
@ -137,7 +137,7 @@ minetest.register_node("techage:oiltower4", {
diggable = false,
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {not_in_creative_inventory = 1},
is_ground_content = false,
@ -160,7 +160,7 @@ minetest.register_node("techage:oiltower5", {
diggable = false,
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {not_in_creative_inventory = 1},
is_ground_content = false,
@ -174,7 +174,7 @@ minetest.register_node("techage:oil_drillbit", {
wield_image = "techage_oil_drillbit_inv.png",
visual_scale = 1,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
groups = {cracky = 1},
is_ground_content = false,
@ -188,7 +188,7 @@ minetest.register_node("techage:oil_drillbit2", {
wield_image = "techage_oil_drillbit_inv.png",
visual_scale = 1,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
drop = "",
diggable = false,
sunlight_propagates = true,

View File

@ -67,7 +67,7 @@ minetest.register_node("techage:axle", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly = 3, cracky = 3, snappy = 3},
@ -161,7 +161,7 @@ minetest.register_node("techage:axle_on", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
diggable = false,

View File

@ -117,7 +117,7 @@ minetest.register_node("techage:electric_cableS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, techage_trowel = 1},
@ -154,7 +154,7 @@ minetest.register_node("techage:electric_cableA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,

View File

@ -65,7 +65,7 @@ function techage.register_junction(name, size, boxes, tlib2, node, index)
ndef.paramtype2 = "facedir"
ndef.on_rotate = screwdriver.disallow
ndef.paramtype = "light"
ndef.use_texture_alpha = "clip"
ndef.use_texture_alpha = techage.CLIP
ndef.sunlight_propagates = true
ndef.is_ground_content = false
ndef.drop = name..(index or "0")

View File

@ -64,7 +64,7 @@ minetest.register_node("techage:power_line", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
drop = "techage:power_lineS",
@ -106,7 +106,7 @@ minetest.register_node("techage:power_lineS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
drop = "techage:power_lineS",
@ -170,7 +170,7 @@ minetest.register_node("techage:power_lineA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
drop = "techage:power_lineS",
@ -225,7 +225,7 @@ minetest.register_node("techage:power_pole2", {
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=2, crumbly=2, choppy=2},
@ -271,7 +271,7 @@ minetest.register_node("techage:power_pole", {
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=2, crumbly=2, choppy=2},
@ -322,7 +322,7 @@ minetest.register_node("techage:power_pole_conn", {
drop = "techage:power_pole",
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=2, crumbly=2, choppy=2, not_in_creative_inventory = 1},
@ -350,7 +350,7 @@ minetest.register_node("techage:power_pole3", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=2, crumbly=2, choppy=2},

View File

@ -209,7 +209,7 @@ minetest.register_node("techage:power_terminal", {
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
on_rotate = screwdriver.disallow,
sunlight_propagates = true,
is_ground_content = false,

View File

@ -555,7 +555,7 @@ minetest.register_node("techage:ta3_power_terminal", {
paramtype2 = "facedir",
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
on_rotate = screwdriver.disallow,
sunlight_propagates = true,
is_ground_content = false,

View File

@ -114,7 +114,7 @@ minetest.register_node("techage:powerswitch", {
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
groups = {choppy=2, cracky=2, crumbly=2},
@ -146,7 +146,7 @@ minetest.register_node("techage:powerswitch_on", {
drop = "techage:powerswitch",
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
groups = {choppy=2, cracky=2, crumbly=2, not_in_creative_inventory = 1},
@ -186,7 +186,7 @@ minetest.register_node("techage:powerswitchsmall", {
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
groups = {choppy=2, cracky=2, crumbly=2},
@ -218,7 +218,7 @@ minetest.register_node("techage:powerswitchsmall_on", {
drop = "techage:powerswitchsmall",
on_rotate = screwdriver.disallow,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
paramtype2 = "wallmounted",
groups = {choppy=2, cracky=2, crumbly=2, not_in_creative_inventory = 1},

View File

@ -54,7 +54,7 @@ minetest.register_node("techage:powerswitch_box", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
on_rotate = screwdriver.disallow, -- important!
paramtype2 = "facedir",

View File

@ -63,7 +63,7 @@ minetest.register_node("techage:steam_pipeS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly=3, cracky=3, snappy=3},
@ -96,7 +96,7 @@ minetest.register_node("techage:steam_pipeA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {crumbly=3, cracky=3, snappy=3, not_in_creative_inventory=1},

View File

@ -76,7 +76,7 @@ minetest.register_node("techage:ta4_power_cableS", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3},
@ -110,7 +110,7 @@ minetest.register_node("techage:ta4_power_cableA", {
},
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, not_in_creative_inventory = 1},
@ -161,7 +161,7 @@ minetest.register_node("techage:ta4_power_box", {
on_rotate = screwdriver.disallow, -- important!
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky=2, crumbly=2, choppy=2},

View File

@ -109,7 +109,7 @@ minetest.register_node("techage:ta4_solar_minicell", {
paramtype2 = "facedir",
groups = {cracky=2, crumbly=2, choppy=2},
is_ground_content = false,
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
after_place_node = after_place_node,
after_dig_node = after_dig_node,

View File

@ -133,7 +133,7 @@ minetest.register_node("techage:ta4_solar_module", {
return S("power").." = "..power..", "..S("light").." = "..light
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2, crumbly=2, choppy=2},
@ -173,7 +173,7 @@ minetest.register_node("techage:ta4_solar_carrier", {
networks = net_def1,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2, crumbly=2, choppy=2},
@ -213,7 +213,7 @@ minetest.register_node("techage:ta4_solar_carrierB", {
networks = net_def2,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
on_rotate = screwdriver.disallow,
groups = {cracky=2, crumbly=2, choppy=2},
@ -242,7 +242,7 @@ minetest.register_node("techage:ta4_solar_carrierT", {
},
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "facedir",
groups = {cracky=2, crumbly=2, choppy=2},
is_ground_content = false,

View File

@ -52,7 +52,7 @@ minetest.register_node("techage:rotor_signal_lamp_off", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
@ -78,7 +78,7 @@ minetest.register_node("techage:rotor_signal_lamp_on", {
end,
paramtype = "light",
use_texture_alpha = "clip",
use_texture_alpha = techage.CLIP,
light_source = 8,
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true,