use texture overlays on lava lamps

(water is now blue like it used to be)
This commit is contained in:
Vanessa Ezekowitz 2017-06-17 19:32:14 -04:00
parent 790557f6ce
commit f391bc59b0
3 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,11 @@ minetest.register_node("lavalamp:lavalamp", {
drawtype = "mesh",
mesh = "lavalamp.obj",
tiles = {
{ name = "lavalamp_metal.png", color = 0xffffffff},
{ name = "lavalamp_metal.png", color = "white" },
{ name = "lavalamp_lamp_liquid.png", color = "white" },
},
overlay_tiles = {
"",
{
name="lavalamp_lamp_anim.png",
animation={
@ -19,6 +23,7 @@ minetest.register_node("lavalamp:lavalamp", {
},
},
},
use_texture_alpha = true,
inventory_image = "lavalamp_lamp_inv.png",
paramtype = "light",
paramtype2 = "color",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B