summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/002-2/stranger.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/world/map/npc/002-2/stranger.txt b/world/map/npc/002-2/stranger.txt
index 0b47e716..8186636b 100644
--- a/world/map/npc/002-2/stranger.txt
+++ b/world/map/npc/002-2/stranger.txt
@@ -1,9 +1,12 @@
+// FIXME: this script is very cringeworthy and almost never clears the arrays so they just fill up
+// also some arrays should be global (and npc vars later), not stored in every single player
+// -> should GET RID of that fugly magic-secrets system; the answers are public anyway
002-2,38,57,0|script|Stranger|192
{
set @IRONINGOT, 5;
set @PINKANTENNA, 21;
set @Exp, 20000;
- setarray @towelReq$, "WhiteHitchhikersTowel","RedHitchhikersTowel","GreenHitchhikersTowel","BlueHitchhikersTowel","YellowHitchhikersTowel","PurpleHitchhikersTowel","OrangeHitchhikersTowel","PinkHitchhikersTowel","TealHitchhikersTowel","LimeHitchhikersTowel","HitchhikersTowel";
+ setarray @towelReq$[0], "HitchhikersTowel";
if (FLAGS & FLAG_TOWEL_COMPLETED) goto L_Event_Done;
if ((gettimetick(2)-TUT_var < 6*7*86400) || (BaseLevel < 42)) //player must be created at least 6 weeks ago and at least level 42