diff options
Diffstat (limited to 'npc/items/music_toys.txt')
-rw-r--r-- | npc/items/music_toys.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/items/music_toys.txt b/npc/items/music_toys.txt new file mode 100644 index 00000000..8583f65e --- /dev/null +++ b/npc/items/music_toys.txt @@ -0,0 +1,18 @@ +// Evol scripts. +// Authors: +// Quillia +// mekolat (legacy delay logic) +// Description: +// Allows the RubberBat to be squeezed. +// + +- script RubberBat NPC_HIDDEN,{ + close; + +OnUse: + if (gettimetick(2) - @lastbat < 2) close; + specialeffect(70, AREA, playerattached()); // effect 70 defined in client-data/effects.xml + @lastbat = gettimetick(2); + + close; +} |