summaryrefslogtreecommitdiff
path: root/world/map/npc/items/rubber_duck.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-04-30 13:06:03 +0200
committerLed Mitz <smoothshifter@tuta.io>2024-05-16 16:28:21 +0000
commitc318b9a5ae988a982cc4ffcad2faaf6549aed9d8 (patch)
tree4431960f88b21f803d2fc016c4403600e86e060b /world/map/npc/items/rubber_duck.txt
parent6715c3406adc7e5d3666d0e440de054c5e096a57 (diff)
downloadserverdata-c318b9a5ae988a982cc4ffcad2faaf6549aed9d8.tar.gz
serverdata-c318b9a5ae988a982cc4ffcad2faaf6549aed9d8.tar.bz2
serverdata-c318b9a5ae988a982cc4ffcad2faaf6549aed9d8.tar.xz
serverdata-c318b9a5ae988a982cc4ffcad2faaf6549aed9d8.zip
item adds/changes
Diffstat (limited to 'world/map/npc/items/rubber_duck.txt')
-rw-r--r--world/map/npc/items/rubber_duck.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/world/map/npc/items/rubber_duck.txt b/world/map/npc/items/rubber_duck.txt
new file mode 100644
index 00000000..9f873e1c
--- /dev/null
+++ b/world/map/npc/items/rubber_duck.txt
@@ -0,0 +1,11 @@
+function|script|rubberDuck
+{
+ if (gettimetick(2) - @lastbat < 2) goto L_Return;
+ misceffect 405;
+ set @lastbat, gettimetick(2);
+ goto L_Return;
+
+L_Return:
+ getitem "RubberDucky", 1;
+ return;
+}