add subtle animation to glow worms

This commit is contained in:
FaceDeer
2018-05-24 20:55:19 -06:00
parent ac231edaeb
commit dbf4cc08c8
3 changed files with 12 additions and 1 deletions

View File

@ -6,7 +6,17 @@ minetest.register_node("dfcaverns:glow_worm", {
description = S("Glow Worms"),
_doc_items_longdesc = dfcaverns.doc.glow_worms_desc,
_doc_items_usagehelp = dfcaverns.doc.glow_worms_usage,
tiles = {"dfcaverns_glow_worm.png"},
tiles = {
{
name = "dfcaverns_glow_worm_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 4.0,
},
},
},
inventory_image = "dfcaverns_glow_worm.png",
wield_image = "dfcaverns_glow_worm.png",
is_ground_content = true,