summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-03 11:20:33 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-03 11:20:33 -0300
commit71f033429f25a2bdd5aed4427081b304909dca43 (patch)
tree2fdb776c6f0e7b0bb018395e406abe84f439a09d /npc/functions
parent80398e0fb1fa50e52c99b34b284e0a4d88c33d72 (diff)
downloadserverdata-71f033429f25a2bdd5aed4427081b304909dca43.tar.gz
serverdata-71f033429f25a2bdd5aed4427081b304909dca43.tar.bz2
serverdata-71f033429f25a2bdd5aed4427081b304909dca43.tar.xz
serverdata-71f033429f25a2bdd5aed4427081b304909dca43.zip
Weekly streak bonuses to Thanksgiving event (sorry YuckFou but this is all that is possible)
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/event.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 7abc2eb35..a1870764d 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -203,6 +203,12 @@ function script sThanksgiving {
break;
}
+ // Special bonus
+ if (#THANKS_STREAK % 7 == 0) {
+ getitem StrangeCoin, 10;
+ mesc l("%d day streak! Gained %d bonus %s!", #THANKS_STREAK, 10, getitemlink(StrangeCoin));
+ }
+
// Close
next;
setskin "";