In video i demonstrate a piece of code where i'm doing a comment of one line:
liquid_alternative_flowing = "default:water_flowing",In full code of node:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("bubble_sand:bubbles", {
description = "Bubbles",
drawtype = "plantlike",
tiles = {{ name = "bubble_basic_flame_animated.png",
animation = { type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.5,
},
},},
-- New-style water source material (mostly unused)
special_tiles = {{ name = "bubble_basic_flame_animated.png",
animation = { type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.5,
},
backface_culling = true,
},},
alpha = 255,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
drop = "",
drowning = 1, -
liquidtype = "source",
liquid_alternative_flowing = "default:water_flowing",
-- liquid_alternative_flowing = "bubble_sand:bubbles",
liquid_alternative_source = "bubble_sand:bubbles",
-- liquid_alternative_source = "default:water_source",
liquid_viscosity = 1,
liquid_renewable = false,
liquid_range = 0,
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1, cools_lava = 1},
-- freezemelt = "default:water_source",
})
After this node air bubbles stay flooded
but i lose a possibility to generate new bubbles, it's like blocks are fulling with water (in my opinion)
Who can watch my full code and help me with this situation?