summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/stranger.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-02-08 21:24:30 -0500
committermekolat <mekolat@users.noreply.github.com>2016-02-08 21:24:30 -0500
commitd9cd196c2f7b856c16a8b435cc3090436ec298d2 (patch)
treee66ed8c462c1a7358277787343e59a9ce5589e7f /world/map/npc/002-2/stranger.txt
parent062fb12c6386d2ac2c5e4f1dc8cf7596e11c82c1 (diff)
parentec011e27ec8459277563222d94c4cf981d752d11 (diff)
downloadserverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.gz
serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.bz2
serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.tar.xz
serverdata-d9cd196c2f7b856c16a8b435cc3090436ec298d2.zip
Merge pull request #455 from mekolat/headstyle-genderv2016.2.9
3rd gender, new races
Diffstat (limited to 'world/map/npc/002-2/stranger.txt')
-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