From 74a611e0ced3df2b5c40b143ab4166eb9fbb7a9a Mon Sep 17 00:00:00 2001 From: mekolat Date: Mon, 8 Feb 2016 21:00:35 -0500 Subject: hitchhiker quest bug fix --- world/map/npc/002-2/stranger.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2