From dbf4cc08c81f3f37f0780364eaff465bca7be46e Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Thu, 24 May 2018 20:55:19 -0600 Subject: [PATCH] add subtle animation to glow worms --- features/glow_worms.lua | 12 +++++++++++- textures/dfcaverns_glow_worm_animated.png | Bin 0 -> 1821 bytes textures/license.txt | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 textures/dfcaverns_glow_worm_animated.png diff --git a/features/glow_worms.lua b/features/glow_worms.lua index bd06624..9f92c0d 100644 --- a/features/glow_worms.lua +++ b/features/glow_worms.lua @@ -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, diff --git a/textures/dfcaverns_glow_worm_animated.png b/textures/dfcaverns_glow_worm_animated.png new file mode 100644 index 0000000000000000000000000000000000000000..e16f87000b02aa93040fc0aba69191648a3a70b8 GIT binary patch literal 1821 zcmV+&2jcjNP)EK|00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNliru;sqH39RQ9&KRy5e2C7L! zK~#9!?VHbw97PnzzqOaB>mlY8^rZd)IRykEpcm1L2XEdyik1T9C;>2AmFw>wW( z@xp3(2mlZ}FQ+803d1TIK4Og7*3Fb;$9XvtD(56~sb}qqvAT_>bz?7oZIfirsc=?m zz-R3!q-QC~F-dnARkM(j9FklBfR~Ihp8$BLWZ8+G1)ps$14!#^5LNV`>;C4mtW;hu zTL6F|$rk~P1Tj4hpsbIWmXkbO=0Re8+_kPW_L!vDvreEA+a!}v9i;sCad&AWjSjjY`p9g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=y+1L9`nlEX^kmCJz=52KOBg%2WFfCuJIBQN`6w00000 LNkvXXu0mjf9+p6* literal 0 HcmV?d00001 diff --git a/textures/license.txt b/textures/license.txt index de3b54d..76b969e 100644 --- a/textures/license.txt +++ b/textures/license.txt @@ -14,6 +14,7 @@ dftrees_tower_cap_gills - from caverealms mushroom gills dftrees_cave_moss and floor_fungus - derived from caverealms algae dfcaverns_fungi - copied from caverealms dfcaverns_glow_worm - copied from caverealms +dfcaverns_glow_worm_animated - glow worm texture overlaid with rippling animation derived from default mod's water texture dftrees_cave_wheat - derived from farming wheat dfcaverns_flour - derived from farming