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/pot.txt | |
parent | e43642365cf8ff6e38da17f537de3cc5e732c144 (diff) | |
download | classic-serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.gz classic-serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.bz2 classic-serverdata-0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb.tar.xz classic-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/pot.txt')
-rw-r--r-- | world/map/npc/015-3/pot.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/world/map/npc/015-3/pot.txt b/world/map/npc/015-3/pot.txt index 47f85587..926d5830 100644 --- a/world/map/npc/015-3/pot.txt +++ b/world/map/npc/015-3/pot.txt @@ -8,17 +8,17 @@ mes "It's a pot."; next; - if (Katze == 1 && KatzeBeenOutside == 1) + if (Katze == 1 && @KatzeNeedsAlone == 0) goto L_NeedsFood; if (Katze == 1) goto L_HasMilk; - if (Katze == 2 && KatzeBeenOutside == 1) + if (Katze == 2 && @KatzeNeedsAlone == 0) goto L_NeedsFur; if (Katze == 2) goto L_HasFood; if (Katze == 3) goto L_NeedsWood; - if (Katze == 4 && KatzeBeenOutside == 0) + if (Katze == 4 && @KatzeNeedsAlone == 1) goto L_HasWood; if (Katze >= 4) goto L_Finished; @@ -33,7 +33,7 @@ L_NeedsMilk: L_GiveMilk: delitem "Milk", 1; set Katze, 1; - set KatzeBeenOutside, 0; + set @KatzeNeedsAlone, 1; close; L_HasMilk: @@ -62,13 +62,13 @@ L_NeedsFood: L_GiveChicken: delitem "ChickenLeg", 1; set Katze, 2; - set KatzeBeenOutside, 0; + set @KatzeNeedsAlone, 1; close; L_GiveSteak: delitem "Steak", 1; set Katze, 2; - set KatzeBeenOutside, 0; + set @KatzeNeedsAlone, 1; close; L_HasFood: @@ -99,7 +99,7 @@ L_NeedsWood: L_GiveWood: delitem "RawLog", 1; set Katze, 4; - set KatzeBeenOutside, 0; + set @KatzeNeedsAlone, 1; mes "You put the wooden log next to the pot. The cat eyes it suspiciously, but remains on her spot."; close; |