summaryrefslogtreecommitdiff
path: root/lavalamp/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lavalamp/init.lua')
-rw-r--r--lavalamp/init.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/lavalamp/init.lua b/lavalamp/init.lua
index 4260c36..54909cb 100644
--- a/lavalamp/init.lua
+++ b/lavalamp/init.lua
@@ -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",