diff options
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/008-1/annualeaster.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt index 3a97a9ea..ded3058b 100644 --- a/world/map/npc/008-1/annualeaster.txt +++ b/world/map/npc/008-1/annualeaster.txt @@ -15,6 +15,8 @@ function|script|AnnualEasterEvent|{ if (BaseLevel < 20) goto L_EndTooYoung; + if (@eastertimepenalty == 0) + goto L_WarmUp; // prevent clicking multiple times: if (gettimetick(2) < @eastertimepenalty + $@EASTER_FOUND_WAIT_TIME) goto L_End2; @@ -85,6 +87,11 @@ L_EndTooYoung: message strcharinfo(0), "The nest is empty."; goto L_End1; +L_WarmUp: + set @eastertimepenalty, gettimetick(2); + message strcharinfo(0), "Hmmm eggs! Maybe you can find something nice there!"; + goto L_End1; + L_End2: message strcharinfo(0), "Don't be greedy! You just found something a moment ago."; set @eastertimepenalty, @eastertimepenalty + 5; |