summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-02-08 21:00:35 -0500
committermekolat <mekolat@users.noreply.github.com>2016-02-08 21:04:37 -0500
commit74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a (patch)
tree0376b04d97b423c75cf6a6978e630a89df7652dc /world/map
parentd0b2262fc38ecfa47671e1738d657b4317238499 (diff)
downloadserverdata-74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a.tar.gz
serverdata-74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a.tar.bz2
serverdata-74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a.tar.xz
serverdata-74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a.zip
hitchhiker quest bug fix
Diffstat (limited to 'world/map')
-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