edit alpha

This commit is contained in:
Bruno Rybársky 2022-08-13 09:04:04 +02:00
parent f37dfa90df
commit e96fddfc2d
3 changed files with 5 additions and 5 deletions

@ -26,7 +26,7 @@ minetest.register_node(
groups = {cracky = 1, mesecon = 2}, groups = {cracky = 1, mesecon = 2},
drawtype = "glasslike", drawtype = "glasslike",
paramtype = "light", paramtype = "light",
alpha = 50, use_texture_alpha = "blend",
sunlight_propagates = true, sunlight_propagates = true,
sounds = stone_sounds, sounds = stone_sounds,
walkable = false, walkable = false,

@ -30,7 +30,7 @@ minetest.register_node(
sunlight_propagates = true, sunlight_propagates = true,
sounds = stone_sounds, sounds = stone_sounds,
drawtype = "nodebox", drawtype = "nodebox",
alpha = 160, use_texture_alpha = "blend",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5}
@ -91,7 +91,7 @@ minetest.register_node(
sunlight_propagates = true, sunlight_propagates = true,
sounds = stone_sounds, sounds = stone_sounds,
drawtype = "nodebox", drawtype = "nodebox",
alpha = 160, use_texture_alpha = "blend",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5} fixed = {-0.5, -0.5, 0.4, 0.5, 0.5, 0.5}

@ -4,7 +4,7 @@ minetest.register_node(
description = "Toxic water", description = "Toxic water",
drawtype = "liquid", drawtype = "liquid",
tiles = {"portalgun_toxwat.png"}, tiles = {"portalgun_toxwat.png"},
alpha = 190, use_texture_alpha = "blend"
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
pointable = false, pointable = false,
@ -35,7 +35,7 @@ minetest.register_node(
{name = "portalgun_toxwat.png", backface_culling = true}, {name = "portalgun_toxwat.png", backface_culling = true},
{name = "portalgun_toxwat.png", backface_culling = false} {name = "portalgun_toxwat.png", backface_culling = false}
}, },
alpha = 190, use_texture_alpha = "blend"
paramtype = "light", paramtype = "light",
paramtype2 = "flowingliquid", paramtype2 = "flowingliquid",
walkable = false, walkable = false,