From 71f033429f25a2bdd5aed4427081b304909dca43 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 3 Nov 2020 11:20:33 -0300 Subject: Weekly streak bonuses to Thanksgiving event (sorry YuckFou but this is all that is possible) --- npc/functions/event.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/functions/event.txt') 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 ""; -- cgit v1.2.3-70-g09d2