diff options
Diffstat (limited to 'lavalamp')
-rw-r--r-- | lavalamp/init.lua | 7 | ||||
-rw-r--r-- | lavalamp/textures/lavalamp_lamp_anim.png | bin | 4804 -> 5640 bytes | |||
-rw-r--r-- | lavalamp/textures/lavalamp_lamp_liquid.png | bin | 0 -> 412 bytes |
3 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", diff --git a/lavalamp/textures/lavalamp_lamp_anim.png b/lavalamp/textures/lavalamp_lamp_anim.png Binary files differindex d9f7d53..a6f60e7 100644 --- a/lavalamp/textures/lavalamp_lamp_anim.png +++ b/lavalamp/textures/lavalamp_lamp_anim.png diff --git a/lavalamp/textures/lavalamp_lamp_liquid.png b/lavalamp/textures/lavalamp_lamp_liquid.png Binary files differnew file mode 100644 index 0000000..565f4a9 --- /dev/null +++ b/lavalamp/textures/lavalamp_lamp_liquid.png |