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},
drawtype = "glasslike",
paramtype = "light",
alpha = 50,
use_texture_alpha = "blend",
sunlight_propagates = true,
sounds = stone_sounds,
walkable = false,

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

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