fix deprecation

This commit is contained in:
Bruno Rybársky 2022-08-18 17:00:56 +02:00
parent 2dc5e5623b
commit 18e0e27cfe
2 changed files with 7 additions and 7 deletions

@ -73,7 +73,7 @@ on_rightclick = function(pos, node, player, itemstack, pointed_thing)
minetest.register_node("mesetec:dmg", { minetest.register_node("mesetec:dmg", {
description = "Mese damage block", description = "Mese damage block",
tiles = {"mesetec_trap.png^[colorize:#f9570001"}, tiles = {"mesetec_trap.png^[colorize:#f9570001"},
alpha=1, use_texture_alpha = "blend",
inventory_image = "lava.png^mesetec_trap2.png", inventory_image = "lava.png^mesetec_trap2.png",
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0},
is_ground_content = false, is_ground_content = false,
@ -93,7 +93,7 @@ minetest.register_node("mesetec:dmg2", {
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1},
is_ground_content = false, is_ground_content = false,
drawtype="glasslike", drawtype="glasslike",
alpha=0, use_texture_alpha = "opaque",
pointable = false, pointable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -109,7 +109,7 @@ minetest.register_node("mesetec:dmg2", {
minetest.register_node("mesetec:oxygen", { minetest.register_node("mesetec:oxygen", {
description = "Mese oxygen block", description = "Mese oxygen block",
tiles = {"mesetec_trap.png^[colorize:#00a5a201"}, tiles = {"mesetec_trap.png^[colorize:#00a5a201"},
alpha=1, use_texture_alpha = "blend",
inventory_image = "river_water.png^mesetec_trap2.png", inventory_image = "river_water.png^mesetec_trap2.png",
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0},
is_ground_content = false, is_ground_content = false,
@ -129,7 +129,7 @@ minetest.register_node("mesetec:oxygen2", {
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1},
is_ground_content = false, is_ground_content = false,
drawtype="glasslike", drawtype="glasslike",
alpha=1, use_texture_alpha = "blend",
pointable = false, pointable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -145,7 +145,7 @@ minetest.register_node("mesetec:oxygen2", {
minetest.register_node("mesetec:ladder", { minetest.register_node("mesetec:ladder", {
description = "Mese ladder block", description = "Mese ladder block",
tiles = {"mesetec_trap.png^[colorize:#87878701"}, tiles = {"mesetec_trap.png^[colorize:#87878701"},
alpha=1, use_texture_alpha = "blend",
inventory_image = "ladder_wood.png^mesetec_trap2.png", inventory_image = "ladder_wood.png^mesetec_trap2.png",
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=0},
is_ground_content = false, is_ground_content = false,
@ -165,7 +165,7 @@ minetest.register_node("mesetec:ladder2", {
groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1}, groups = {mesecon=2,snappy = 3, not_in_creative_inventory=1},
is_ground_content = false, is_ground_content = false,
drawtype="glasslike", drawtype="glasslike",
alpha=1, use_texture_alpha = "blend",
pointable = false, pointable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,

@ -295,7 +295,7 @@ minetest.register_node("mesetec:ptptarget", {
}}, }},
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
alpha = 210, use_texture_alpha = "blend",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {