summaryrefslogtreecommitdiff
path: root/world/map/npc/015-3/katze.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/015-3/katze.txt')
-rw-r--r--world/map/npc/015-3/katze.txt58
1 files changed, 29 insertions, 29 deletions
diff --git a/world/map/npc/015-3/katze.txt b/world/map/npc/015-3/katze.txt
index f1433ed6..89b508b0 100644
--- a/world/map/npc/015-3/katze.txt
+++ b/world/map/npc/015-3/katze.txt
@@ -16,24 +16,18 @@
// * 2 Hard spikes
// * 2 Tiny potions
-015-3.gat,32,25,0 script Katze 172, {
+015-3.gat,32,25,0|script|Katze|172,{
if (Katze == 1 && KatzeBeenOutside == 1) goto L_NeedsFood;
if (Katze == 1) goto L_PreNeedsFood;
-
if (Katze == 2 && KatzeBeenOutside == 1) 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) goto L_PreNeedsStuff;
-
if (Katze == 5) goto L_NeedsStuff2;
-
if (Katze == 6 && KatzeBeenOutside == 1) goto L_GainEars;
if (Katze == 6) goto L_PreGainEars;
-
if (Katze == 7) goto L_Finished;
L_NeedsMilk:
@@ -59,23 +53,26 @@ L_NeedsFood:
mes "[Katze]";
mes "\"Meow, prrrr...\"";
next;
- menu "Throw a stone at the cat", L_ThrowStone,
- "Leave the cat alone", -;
+ menu
+ "Throw a stone at the cat", L_ThrowStone,
+ "Leave the cat alone", -;
close;
L_PreNeedsFur:
+
L_NeedsFur:
mes "[Katze]";
mes "\"Prrr. Meow, prrr...\"";
next;
-
if (countitem("WhiteFur") > 0)
- menu "Make funny movements with the fur near the ground", L_MoveFur,
- "Throw a stone at the cat", L_ThrowStone,
- "Leave the cat alone", -;
+ menu
+ "Make funny movements with the fur near the ground", L_MoveFur,
+ "Throw a stone at the cat", L_ThrowStone,
+ "Leave the cat alone", -;
if (countitem("WhiteFur") == 0)
- menu "Throw a stone at the cat", L_ThrowStone,
- "Leave the cat alone", -;
+ menu
+ "Throw a stone at the cat", L_ThrowStone,
+ "Leave the cat alone", -;
close;
L_MoveFur:
@@ -92,8 +89,9 @@ L_NeedsWood:
next;
if (countitem("RawLog") > 0)
- menu "Want this piece of wood?", L_GiveWood,
- "Ok, see you later", -;
+ menu
+ "Want this piece of wood?", L_GiveWood,
+ "Ok, see you later", -;
close;
L_GiveWood:
@@ -121,17 +119,19 @@ L_NeedsStuff2:
mes "[Katze]";
mes "\"Did you bring what I asked you for?\"";
next;
- menu "Look here", L_CatChecksStuff,
- "What do you need again?", L_WhatsNeeded,
- "No, I haven't got everything yet", -;
+ menu
+ "Look here", L_CatChecksStuff,
+ "What do you need again?", L_WhatsNeeded,
+ "No, I haven't got everything yet", -;
close;
L_WhatsNeeded:
mes "[Katze]";
mes "\"Actually, you should have remembered yourself.\"";
next;
- menu "Please tell me", L_Please,
- "Never mind", -;
+ menu
+ "Please tell me", L_Please,
+ "Never mind", -;
close;
L_Please:
@@ -146,13 +146,13 @@ L_Please:
close;
L_CatChecksStuff:
- if (countitem("SnakeSkin") > 1 &&
- countitem("SnakeTongue") > 1 &&
- countitem("MaggotSlime") > 1 &&
- countitem("WhiteFur") > 1 &&
- countitem("HardSpike") > 1 &&
- countitem("TinyHealingPotion") > 1)
- goto L_GiveStuff;
+ if (countitem("SnakeSkin") > 1
+ && countitem("SnakeTongue") > 1
+ && countitem("MaggotSlime") > 1
+ && countitem("WhiteFur") > 1
+ && countitem("HardSpike") > 1
+ && countitem("TinyHealingPotion") > 1)
+ goto L_GiveStuff;
mes "[Katze]";
mes "\"You don't seem to have everything yet. Come back later when you do.\"";
close;