From 935eda1a19aaaed0580046517986a51a6044f75d Mon Sep 17 00:00:00 2001 From: Leyline <68477978+Ley-line@users.noreply.github.com> Date: Sat, 31 Jul 2021 18:56:55 +0200 Subject: [PATCH] New animated sprite --- utils/items.cfg | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/utils/items.cfg b/utils/items.cfg index 21c6211..7ad9a08 100644 --- a/utils/items.cfg +++ b/utils/items.cfg @@ -2655,4 +2655,48 @@ image=scenery/mine-cart-empty-ne-sw.png [/item] [/event] +#enddef + +#define ANIMATED_MAGIC_CIRCLE X Y + + [event] + name=moveto + [filter] + x,y={X},{Y} + side=1,2 + [/filter] + [terrain] + x,y={X},{Y} + terrain="^Kov" + layer=overlay + [/terrain] + {NARRATE "The magical circle hums with energy. Its ability to summon units allows you to use this as a keep."} + [/event] + + [terrain_graphics] + x={X} + y={Y} + [tile] + x=0 + y=0 + set_flag=magic_circle + [/tile] + [/terrain_graphics] + [terrain_graphics] + map=" +, * +* , * +, 1 +* , * +, *" + [tile] + pos=1 + has_flag=magic_circle + [/tile] + [image] + layer=0 + center=92,138 + name="../scenery/magic-circle/magic-circle-[1~16].png:[1250,140*3,1250,140*3,1250,140*3,1250,140*3]" + [/image] + [/terrain_graphics] #enddef \ No newline at end of file