diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-01-09 16:45:12 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-01-09 17:20:59 +0100 |
commit | 0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb (patch) | |
tree | 65a51f3d64b19d340bb9b127cf60f725b2b77f98 /world/map/npc/015-3/katze.txt | |
parent | e43642365cf8ff6e38da17f537de3cc5e732c144 (diff) | |
download | serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.gz serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.bz2 serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.xz serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.zip |
Katze quest: remove player variable KatzeBeenOutside
Use temporary player variable @KatzeNeedsAlone instead with inverted logic.
Add nosaveflag to Katze's cave, so when the variable is reset, you're actually
outside of the cave.
Add KatzeBeenOutside to clear_vars.
Diffstat (limited to 'world/map/npc/015-3/katze.txt')
-rw-r--r-- | world/map/npc/015-3/katze.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/world/map/npc/015-3/katze.txt b/world/map/npc/015-3/katze.txt index 02d74359..8b258a8e 100644 --- a/world/map/npc/015-3/katze.txt +++ b/world/map/npc/015-3/katze.txt @@ -18,15 +18,15 @@ 015-3.gat,32,25,0|script|Katze|172,{ - if (Katze == 1 && KatzeBeenOutside == 1) goto L_NeedsFood; + if (Katze == 1 && @KatzeNeedsAlone == 0) goto L_NeedsFood; if (Katze == 1) goto L_PreNeedsFood; - if (Katze == 2 && KatzeBeenOutside == 1) goto L_NeedsFur; + if (Katze == 2 && @KatzeNeedsAlone == 0) goto L_NeedsFur; if (Katze == 2) goto L_PreNeedsFur; if (Katze == 3) goto L_NeedsWood; - if (Katze == 4 && KatzeBeenOutside == 1) goto L_NeedsStuff; + if (Katze == 4 && @KatzeNeedsAlone == 0) goto L_NeedsStuff; if (Katze == 4) goto L_PreNeedsStuff; if (Katze == 5) goto L_NeedsStuff2; - if (Katze == 6 && KatzeBeenOutside == 1) goto L_GainEars; + if (Katze == 6 && @KatzeNeedsAlone == 0) goto L_GainEars; if (Katze == 6) goto L_PreGainEars; if (Katze == 7) goto L_Finished; @@ -163,7 +163,7 @@ L_GiveStuff: delitem "HardSpike", 2; delitem "TinyHealingPotion", 2; set Katze, 6; - set KatzeBeenOutside, 0; + set @KatzeNeedsAlone, 1; mes "[Katze]"; mes "\"Nicely done! Now leave me alone for a while, I need some time to prepare your present.\""; close; |