This commit is contained in:
2022-08-14 16:00:16 +02:00
parent e6726191a4
commit 910d9e0979
4 changed files with 102 additions and 10 deletions

View File

@@ -3,7 +3,51 @@ minetest.register_node(
{
description = "Toxic water",
drawtype = "liquid",
tiles = {"portalgun_toxwat.png"},
waving = 3,
tiles = {
{
name = "portal_toxwater_anim.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
{
name = "portal_toxwater_anim.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
},
special_tiles = {
{
name = "portal_toxwater_anim.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
{
name = "portal_toxwater_anim.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
},
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
@@ -30,10 +74,50 @@ minetest.register_node(
{
description = "Toxic water 2",
drawtype = "flowingliquid",
tiles = {name = "portalgun_toxwat.png", backface_culling = false},
waving = 3,
tiles = {
{
name = "portal_toxwater_anim.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
{
name = "portal_toxwater_anim.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
},
special_tiles = {
{name = "portalgun_toxwat.png", backface_culling = true},
{name = "portalgun_toxwat.png", backface_culling = false}
{
name = "portal_toxwater_anim.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
{
name = "portal_toxwater_anim.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 8.0,
},
},
},
use_texture_alpha = "blend",
paramtype = "light",