From 8a4bf716002a017de77fe7df301ef8e4aaf00a2e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 11:00:49 -0300 Subject: Initial commit --- npc/items/music_toys.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 npc/items/music_toys.txt (limited to 'npc/items/music_toys.txt') 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; +} -- cgit v1.2.3-60-g2f50