fixed non-animated HL

This commit is contained in:
Zsolt Bartha 2014-05-13 21:38:17 +00:00
parent 631450c05e
commit 54a70c6246

View file

@ -131,17 +131,30 @@ minetest.register_node("moontest:hlsource", {
inventory_image = minetest.inventorycube("moontest_hl.png"), inventory_image = minetest.inventorycube("moontest_hl.png"),
drawtype = "liquid", drawtype = "liquid",
tiles = {"moontest_hl.png"}, tiles = {"moontest_hl.png"},
special_tiles = {
{
image="moontest_hl_animated.png",
backface_culling=false,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
},
{
image="moontest_hl_animated.png",
backface_culling=true,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2}
},
},
alpha = 224, alpha = 224,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
pointable = false, pointable = false,
diggable = false,
buildable_to = true, buildable_to = true,
liquidtype = "source", liquidtype = "source",
liquid_alternative_flowing = "moontest:hlflowing", liquid_alternative_flowing = "moontest:hlflowing",
liquid_alternative_source = "moontest:hlsource", liquid_alternative_source = "moontest:hlsource",
liquid_viscosity = 1, liquid_viscosity = 1,
post_effect_color = {a=224, r=115, g=55, b=24}, post_effect_color = {a=224, r=115, g=55, b=24},
groups = {water=3, liquid=3, puts_out_fire=1}, groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
}) })
minetest.register_node("moontest:soil", { minetest.register_node("moontest:soil", {