FIX texture deprecations

master
MisterE 2022-08-08 21:24:40 -04:00
parent d4ec0d92d6
commit 13db6dbee4
27 changed files with 92 additions and 7499 deletions

View File

@ -9,6 +9,7 @@ local S = regional_weather.i18n
minetest.register_node(BLOCK_NAME, {
description = S("Thin Ice"),
drawtype = "glasslike",
tiles = {"(default_ice.png^[colorize:#ffffff:50)^[opacity:200"},
paramtype = "light",
groups = {
@ -20,7 +21,7 @@ minetest.register_node(BLOCK_NAME, {
},
freezemelt = "default:river_water_source",
sounds = default.node_sound_glass_defaults(),
use_texture_alpha = true,
use_texture_alpha = "blend",
drop = "",
on_destruct = function(pos)
-- asynchronous to avoid destruction loop

View File

@ -69,7 +69,7 @@ for i = 1, VARIANT_COUNT do
sunlight_propagates = true,
paramtype = "light",
paramtype2 = "facedir",
use_texture_alpha = true,
use_texture_alpha = "blend",
node_box = node_box,
groups = {
not_in_creative_inventory = 1,

View File

@ -11,13 +11,13 @@ minetest.register_node("radioactive_gas:gas", {
drowning = 1,
post_effect_color = {a = 20, r = 20, g = 250, b = 20},
tiles = {"radioactive_gas.png"},
alpha = 0.1,
use_texture_alpha = "blend",
paramtype = "light",
groups = {
not_in_creative_inventory = 1,
not_blocking_trains = 1,
cools_lava = 1,
radioactive = 4
radioactive = 4,
},
drop = {},
sunlight_propagates = true

View File

@ -9,7 +9,7 @@ minetest.register_node("vacuum:vacuum", {
drawtype = "glasslike",
drowning = 1,
tiles = {"transparent_pixel.png"},
alpha = 0.1,
use_texture_alpha = "blend",
groups = {not_in_creative_inventory=1, not_blocking_trains=1, cools_lava=1},
paramtype = "light",
drop = {},

View File

@ -77,7 +77,7 @@ end
drawtype = "plantlike",
walkable = false,
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
groups = {snappy = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_leaves_defaults(),
})
@ -96,7 +96,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -118,7 +118,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -133,7 +133,7 @@ end
drawtype = "plantlike",
walkable = false,
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
groups = {snappy = 3, oddly_breakable_by_hand = 3},
light_source = 8,
sounds = default.node_sound_metal_defaults(),
@ -152,7 +152,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -173,7 +173,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -205,7 +205,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -227,7 +227,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -248,7 +248,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -269,7 +269,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -293,7 +293,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -314,7 +314,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -335,7 +335,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -356,7 +356,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -377,7 +377,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -398,7 +398,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -419,7 +419,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",
@ -440,7 +440,7 @@ end
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
paramtype2 = "wallmounted",

View File

@ -118,7 +118,7 @@ minetest.register_node("cblocks:glass_" .. colours[i][1], {
drawtype = "glasslike",
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = "blend",
is_ground_content = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = default.node_sound_glass_defaults(),

View File

@ -12,7 +12,7 @@ minetest.register_node("holiday_lights:lights_white", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -35,7 +35,7 @@ minetest.register_node("holiday_lights:lights_red", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -58,7 +58,7 @@ minetest.register_node("holiday_lights:lights_green", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -81,7 +81,7 @@ minetest.register_node("holiday_lights:lights_blue", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -104,7 +104,7 @@ minetest.register_node("holiday_lights:lights_yellow", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -127,7 +127,7 @@ minetest.register_node("holiday_lights:lights_purple", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -150,7 +150,7 @@ minetest.register_node("holiday_lights:lights_orange", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -173,7 +173,7 @@ minetest.register_node("holiday_lights:lights_pink", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -196,7 +196,7 @@ minetest.register_node("holiday_lights:lights_rainbow", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -219,7 +219,7 @@ minetest.register_node("holiday_lights:lights_festive", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -243,7 +243,7 @@ minetest.register_node("holiday_lights:lights_spooky", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -266,7 +266,7 @@ minetest.register_node("holiday_lights:lights_patriotic", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,
@ -289,7 +289,7 @@ minetest.register_node("holiday_lights:lights_icy", {
type = "wallmounted",
},
legacy_wallmounted = true,
use_texture_alpha = true,
use_texture_alpha = "clip",
drawtype = "signlike",
paramtype = "light",
light_source = 8,

View File

@ -399,7 +399,7 @@ for i = 31, 255 do
inventory_image = wimage,
wield_image = wimage,
palette="led_marquee_palette.png",
use_texture_alpha = true,
use_texture_alpha = "clip",
groups = groups,
paramtype = "light",
paramtype2 = "colorwallmounted",

View File

@ -765,7 +765,7 @@ minetest.register_entity("protector:display", {
local x = protector_radius
minetest.register_node("protector:display_node", {
tiles = {"protector_display.png"},
use_texture_alpha = true,
use_texture_alpha = "clip",
walkable = false,
drawtype = "nodebox",
node_box = {

View File

@ -1,22 +1,22 @@
--Blood Bucket and Blood Source items originally from "horror" mod by D00M3D.
minetest.register_node("mobs_creatures:blood_flowing", {
description = "blood_source",
inventory_image = minetest.inventorycube("mobs_creatures_items_blood_source.png"),
inventory_image = minetest.inventorycube("mobs_creatures_items_blood_source.png^[opacity:190"),
drawtype = "flowingliquid",
tiles = {"mobs_creatures_items_blood_source.png"},
tiles = {"mobs_creatures_items_blood_source.png^[opacity:190"},
special_tiles = {
{
image="mobs_creatures_items_blood_animate.png",
image="mobs_creatures_items_blood_animate.png^[opacity:190",
backface_culling=false,
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1}
},
{
image="mobs_creatures_items_blood_animate.png",
image="mobs_creatures_items_blood_animate.png^[opacity:190",
backface_culling=true,
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1}
},
},
alpha = 190,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -37,20 +37,20 @@ minetest.register_node("mobs_creatures:blood_flowing", {
minetest.register_node("mobs_creatures:blood_source", {
description = "Blood Source",
inventory_image = minetest.inventorycube("mobs_creatures_items_blood_source.png"),
inventory_image = minetest.inventorycube("mobs_creatures_items_blood_source.png^[opacity:190"),
drawtype = "liquid",
tiles = {
{name="mobs_creatures_items_blood_animate.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1}}
{name="mobs_creatures_items_blood_animate.png^[opacity:190", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1}}
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name="mobs_creatures_items_blood_animate.png",
name="mobs_creatures_items_blood_animate.png^[opacity:190",
animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1},
backface_culling = false,
}
},
alpha = 190,
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
pointable = false,

View File

@ -20,7 +20,7 @@ slimes.add_slime = function(string, aquatic)
tiles = {"slime_goo_block.png^[colorize:"..slimes.colors[string].."^[colorize:#0000:25"},
description = proper_name.." Goo Block",
drawtype = "allfaces_optional",
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = {slippery = 2, crumbly=3, oddly_breakable_by_hand = 1, fall_damage_add_percent=-80, bouncy=90},
sounds = default.node_sound_snow_defaults(),
})

View File

@ -11,7 +11,7 @@ minetest.register_node("df_mapitems:glow_mese", {
is_ground_content = false,
light_source = 13,
paramtype = "light",
use_texture_alpha = true,
use_texture_alpha = "blend",
drawtype = "glasslike",
sunlight_propagates = true,
})
@ -36,7 +36,7 @@ minetest.register_node("df_mapitems:mese_crystal", {
light_source = 12,
is_ground_content = false,
sounds = df_mapitems.sounds.glass,
use_texture_alpha = true,
use_texture_alpha = "blend",
sunlight_propagates = true,
on_place = df_mapitems.place_against_surface,
})

View File

@ -20,7 +20,7 @@ minetest.register_node("df_mapitems:big_crystal", {
"dfcaverns_glow_ruby4x.png",
"dfcaverns_glow_ruby.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
@ -48,7 +48,7 @@ minetest.register_node("df_mapitems:med_crystal", {
"dfcaverns_glow_ruby.png",
"dfcaverns_glow_ruby_quarter.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
@ -77,7 +77,7 @@ minetest.register_node("df_mapitems:big_crystal_30", {
"dfcaverns_glow_ruby4x.png",
"dfcaverns_glow_ruby.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
@ -129,7 +129,7 @@ minetest.register_node("df_mapitems:med_crystal_30", {
"dfcaverns_glow_ruby.png",
"dfcaverns_glow_ruby_quarter.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
@ -166,7 +166,7 @@ minetest.register_node("df_mapitems:big_crystal_30_45", {
"dfcaverns_glow_ruby4x.png",
"dfcaverns_glow_ruby.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
@ -204,7 +204,7 @@ minetest.register_node("df_mapitems:med_crystal_30_45", {
"dfcaverns_glow_ruby4x.png",
"dfcaverns_glow_ruby.png",
},
use_texture_alpha = true,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,

View File

@ -12,7 +12,7 @@ minetest.register_node("df_mapitems:salt_crystal", {
mesh = "underch_crystal.obj",
light_source = 6,
sounds = df_mapitems.sounds.glass,
use_texture_alpha = true,
use_texture_alpha = "blend",
sunlight_propagates = true,
is_ground_content = false,
on_place = df_mapitems.place_against_surface,

View File

@ -45,7 +45,7 @@ minetest.register_node("df_primordial_items:glow_orb_hanging", {
walkable = false,
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})

View File

@ -19,7 +19,7 @@ minetest.register_node("df_primordial_items:fungal_grass_1", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -38,7 +38,7 @@ minetest.register_node("df_primordial_items:fungal_grass_2", {
walkable = false,
place_param2 = 3,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -59,7 +59,7 @@ minetest.register_node("df_primordial_items:glow_orb", {
walkable = false,
light_source = 9,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -78,7 +78,7 @@ minetest.register_node("df_primordial_items:glow_orb_stalks", {
walkable = false,
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -110,7 +110,7 @@ minetest.register_node("df_primordial_items:glow_pods", {
walkable = false,
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})

View File

@ -162,7 +162,7 @@ minetest.register_node("df_primordial_items:giant_fern_leaves", {
walkable = false,
waving = 2,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
after_place_node = df_primordial_items.after_place_leaves,
drop = {
@ -280,7 +280,7 @@ minetest.register_node("df_primordial_items:fern_sapling", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
on_construct = function(pos)
if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then

View File

@ -105,7 +105,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_sapling", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
on_construct = function(pos)

View File

@ -19,7 +19,7 @@ minetest.register_node("df_primordial_items:fern_1", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -39,7 +39,7 @@ minetest.register_node("df_primordial_items:fern_2", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -75,7 +75,7 @@ minetest.register_node("df_primordial_items:glow_plant_1", {
},
},
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -96,7 +96,7 @@ minetest.register_node("df_primordial_items:glow_plant_2", {
drop = "df_primordial_items:glowtato",
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -117,7 +117,7 @@ minetest.register_node("df_primordial_items:glow_plant_3", {
walkable = false,
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -140,7 +140,7 @@ minetest.register_node("df_primordial_items:jungle_grass_1", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -160,7 +160,7 @@ minetest.register_node("df_primordial_items:jungle_grass_2", {
walkable = false,
place_param2 = 3,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -180,7 +180,7 @@ minetest.register_node("df_primordial_items:jungle_grass_3", {
walkable = false,
place_param2 = 3,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -202,7 +202,7 @@ minetest.register_node("df_primordial_items:jungle_ivy", {
--paramtype2 = "wallmouinted",
--drawtype = "signlike",
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
@ -229,7 +229,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_1", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -247,7 +247,7 @@ minetest.register_node("df_primordial_items:jungle_mushroom_2", {
is_ground_content = false,
walkable = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
})
@ -363,7 +363,7 @@ minetest.register_node("df_primordial_items:jungle_roots_1", {
paramtype = "light",
drawtype = "plantlike",
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
walkable = false,
climbable = true,
@ -381,7 +381,7 @@ minetest.register_node("df_primordial_items:jungle_roots_2", {
paramtype = "light",
drawtype = "plantlike",
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
is_ground_content = false,
sunlight_propagates = true,
walkable = false,
@ -406,7 +406,7 @@ minetest.register_node("df_primordial_items:jungle_thorns", {
is_ground_content = false,
place_param2 = 3,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
damage_per_second = 1,
})

View File

@ -234,7 +234,7 @@ minetest.register_node("df_primordial_items:jungletree_sapling", {
walkable = false,
is_ground_content = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
on_construct = function(pos)
if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then

View File

@ -38,7 +38,7 @@ minetest.register_node("df_primordial_items:mushroom_gills", {
walkable = false,
is_ground_content = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
drop = {
max_items = 1,
@ -71,7 +71,7 @@ minetest.register_node("df_primordial_items:mushroom_gills_glowing", {
is_ground_content = false,
light_source = 6,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
drop = {
max_items = 1,
@ -702,7 +702,7 @@ minetest.register_node("df_primordial_items:mush_sapling", {
walkable = false,
is_ground_content = false,
sounds = df_primordial_items.sounds.leaves,
use_texture_alpha = true,
use_texture_alpha = "clip",
sunlight_propagates = true,
on_construct = function(pos)
if minetest.get_item_group(minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name, "soil") == 0 then

View File

@ -10,7 +10,7 @@ minetest.register_node("df_underworld_items:glow_amethyst", {
sounds = default.node_sound_glass_defaults(),
light_source = 6,
paramtype = "light",
use_texture_alpha = true,
use_texture_alpha = "blend",
drawtype = "glasslike",
sunlight_propagates = true,
})

View File

@ -21,7 +21,7 @@ local glowstone_def = {
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),
paramtype = "light",
--use_texture_alpha = true,
-- use_texture_alpha = "blend",
drawtype = "glasslike",
drop = "",
sunlight_propagates = true,

View File

@ -38,7 +38,7 @@ minetest.register_node("mine_gas:gas", {
drowning = 1,
post_effect_color = {a = 20, r = 20, g = 20, b = 250},
tiles = {"mine_gas.png^[opacity:28"},
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = {not_in_creative_inventory=1, ropes_can_extend_into=1},
paramtype = "light",
drop = {},

View File

@ -31,7 +31,7 @@ minetest.register_node("mine_gas:gas_wisp", {
},
}},
light_source = 10,
use_texture_alpha = true,
use_texture_alpha = "clip",
groups = {not_in_creative_inventory=0},
paramtype = "light",
paramtype2 = "meshoptions",

View File

@ -24,7 +24,7 @@ for i in ipairs(crystal_list) do
selection_box = sbox,
walkable = false,
light_source = 10,
use_texture_alpha = true,
use_texture_alpha = "blend",
visual_scale = 10,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,},
sounds = default.node_sound_glass_defaults(),
@ -40,7 +40,7 @@ for i in ipairs(crystal_list) do
selection_box = sbox,
walkable = false,
light_source = 10,
use_texture_alpha = true,
use_texture_alpha = "blend",
visual_scale = 10,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,},
sounds = default.node_sound_glass_defaults(),

File diff suppressed because it is too large Load Diff