mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-07-12 09:22:26 -04:00
Fix fluids, add animated H. Liquid, add lava back
Hydroponic liquid and water didn't flow into vacuum - fixed. Lava has been put back into the game. Added animated textured images for hydroponic liquid.
This commit is contained in:
parent
dd7e548864
commit
60f4f2d99e
4 changed files with 13 additions and 11 deletions
|
@ -108,17 +108,17 @@ minetest.register_node("moontest:waterice", {
|
|||
|
||||
minetest.register_node("moontest:hlflowing", {
|
||||
description = "Flowing Hydroponic Liquid",
|
||||
inventory_image = minetest.inventorycube("moontest_hl.png"),
|
||||
inventory_image = minetest.inventorycube("moontest_hl2.png"),
|
||||
drawtype = "flowingliquid",
|
||||
tiles = {"moontest_hl.png"},
|
||||
tiles = {"moontest_hl2.png"},
|
||||
special_tiles = {
|
||||
{
|
||||
image="moontest_hlflowing_animated.png",
|
||||
image="moontest_hlflowing_animated2.png",
|
||||
backface_culling=false,
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
|
||||
},
|
||||
{
|
||||
image="moontest_hlflowing_animated.png",
|
||||
image="moontest_hlflowing_animated2.png",
|
||||
backface_culling=true,
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
|
||||
},
|
||||
|
@ -139,17 +139,19 @@ minetest.register_node("moontest:hlflowing", {
|
|||
|
||||
minetest.register_node("moontest:hlsource", {
|
||||
description = "Hydroponic Liquid Source",
|
||||
inventory_image = minetest.inventorycube("moontest_hl.png"),
|
||||
inventory_image = minetest.inventorycube("moontest_hl2.png"),
|
||||
drawtype = "liquid",
|
||||
tiles = {"moontest_hl.png"},
|
||||
tiles = {
|
||||
{name="moontest_hlflowing_animated2.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}}
|
||||
},
|
||||
special_tiles = {
|
||||
{
|
||||
image="moontest_hlflowing_animated.png",
|
||||
image="moontest_hlflowing_animated2.png",
|
||||
backface_culling=false,
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
|
||||
},
|
||||
{
|
||||
image="moontest_hlflowing_animated.png",
|
||||
image="moontest_hlflowing_animated2.png",
|
||||
backface_culling=true,
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue