summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/vincent.txt
diff options
context:
space:
mode:
authorThe Kandiman <kandiman@kandiman.(none)>2011-08-27 00:54:21 -0400
committerJessica Tölke <jtoelke@mail.upb.de>2011-08-27 18:14:36 +0200
commitc8e0ce7f52ae0c8c4965170c9a3382005fd4231d (patch)
tree58bcf383f2220d3a45ea39c828fd25fc8db59058 /world/map/npc/001-1/vincent.txt
parent4b5ae2226b50c2c381ed7b9b0459b1778d2ac1ee (diff)
downloadserverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.gz
serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.bz2
serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.tar.xz
serverdata-c8e0ce7f52ae0c8c4965170c9a3382005fd4231d.zip
First set of conversions to using 4 spaces in place of tabs. Also replaced tabs with pipes in headers. Map 001-1 complete.
Diffstat (limited to 'world/map/npc/001-1/vincent.txt')
-rw-r--r--world/map/npc/001-1/vincent.txt175
1 files changed, 86 insertions, 89 deletions
diff --git a/world/map/npc/001-1/vincent.txt b/world/map/npc/001-1/vincent.txt
index 78ebba6a..8097d23f 100644
--- a/world/map/npc/001-1/vincent.txt
+++ b/world/map/npc/001-1/vincent.txt
@@ -1,125 +1,122 @@
//
-001-1.gat,135,42,0 script Vincent 113,{
- if (TMW_Quest >= 10) goto L_Done;
- if (TMW_Quest == 9) goto L_Progress;
- if (TMW_Quest == 8) goto L_Start;
- if (TMW_Quest < 8) goto L_Convince_Vincent_First;
+001-1.gat,135,42,0|script|Vincent|113,{
+ if (TMW_Quest >= 10) goto L_Done;
+ if (TMW_Quest == 9) goto L_Progress;
+ if (TMW_Quest == 8) goto L_Start;
+ if (TMW_Quest < 8) goto L_Convince_Vincent_First;
- // If this happens, something is wrong with the above code.
- mes "Vincent looks confused.";
- close;
+ // If this happens, something is wrong with the above code.
+ mes "Vincent looks confused.";
+ close;
L_Convince_Vincent_First:
- mes "[Vincent]";
- mes "\"I'm making an action figure. I'm almost done with it.\"";
- mes "";
- mes "Vincent seems distracted with his near-completed figurine for now.";
- close;
-
+ mes "[Vincent]";
+ mes "\"I'm making an action figure. I'm almost done with it.\"";
+ mes "";
+ mes "Vincent seems distracted with his near-completed figurine for now.";
+ close;
L_Start:
-
- set @TEMP, rand(4);
- if(@TEMP == 0) goto L_Opening1;
- if(@TEMP == 1) goto L_Opening2;
- if(@TEMP == 2) goto L_Opening3;
- if(@TEMP == 3) goto L_Opening4;
+ set @TEMP, rand(4);
+ if(@TEMP == 0) goto L_Opening1;
+ if(@TEMP == 1) goto L_Opening2;
+ if(@TEMP == 2) goto L_Opening3;
+ if(@TEMP == 3) goto L_Opening4;
L_Opening1:
- mes "[Vincent]";
- mes "\"I just need 10 more Bug Legs to finish my action figure!\"";
- next;
- goto L_Ask;
+ mes "[Vincent]";
+ mes "\"I just need 10 more Bug Legs to finish my action figure!\"";
+ next;
+ goto L_Ask;
L_Opening2:
- mes "[Vincent]";
- mes "\"This maggot action figure is awesome! I just need to attach 10 Bug Legs.\"";
- next;
- goto L_Ask;
+ mes "[Vincent]";
+ mes "\"This maggot action figure is awesome! I just need to attach 10 Bug Legs.\"";
+ next;
+ goto L_Ask;
L_Opening3:
- mes "[Vincent]";
- mes "\"This is a great action figure! A must have! All I need is a few parts...\"";
- next;
- goto L_Ask;
+ mes "[Vincent]";
+ mes "\"This is a great action figure! A must have! All I need is a few parts...\"";
+ next;
+ goto L_Ask;
L_Opening4:
- mes "[Vincent]";
- mes "\"Can you get me 10 Bug Legs? I need them to replace the action figure parts.\"";
- next;
- goto L_Ask;
+ mes "[Vincent]";
+ mes "\"Can you get me 10 Bug Legs? I need them to replace the action figure parts.\"";
+ next;
+ goto L_Ask;
L_Ask:
- mes "[Vincent]";
- mes "\"Will you help me find 10 Bug Legs?\"";
- next;
- menu
- "Yes", L_Sure,
- "No", -;
- close;
+ mes "[Vincent]";
+ mes "\"Will you help me find 10 Bug Legs?\"";
+ next;
+ menu
+ "Yes", L_Sure,
+ "No", -;
+ close;
L_Sure:
- set TMW_Quest, 9;
- set @TEMP,rand(4);
- if(@TEMP == 0) goto L_Req1;
- if(@TEMP == 1) goto L_Req2;
- if(@TEMP == 2) goto L_Req3;
- if(@TEMP == 3) goto L_Req4;
+ set TMW_Quest, 9;
+ set @TEMP,rand(4);
+ if(@TEMP == 0) goto L_Req1;
+ if(@TEMP == 1) goto L_Req2;
+ if(@TEMP == 2) goto L_Req3;
+ if(@TEMP == 3) goto L_Req4;
L_Req1:
- mes "[Vincent]";
- mes "\"Thank you!\"";
- next;
- goto L_Wait;
+ mes "[Vincent]";
+ mes "\"Thank you!\"";
+ next;
+ goto L_Wait;
L_Req2:
- mes "[Vincent]";
- mes "\"I don't know how to thank you enough!\"";
- next;
- goto L_Wait;
+ mes "[Vincent]";
+ mes "\"I don't know how to thank you enough!\"";
+ next;
+ goto L_Wait;
L_Req3:
- mes "[Vincent]";
- mes "\"I will thank you when I get them!\"";
- next;
- goto L_Wait;
+ mes "[Vincent]";
+ mes "\"I will thank you when I get them!\"";
+ next;
+ goto L_Wait;
L_Req4:
- mes "[Vincent]";
- mes "\"I'm sure I will give a small reward. :D\"";
- next;
- goto L_Wait;
+ mes "[Vincent]";
+ mes "\"I'm sure I will give a small reward. :D\"";
+ next;
+ goto L_Wait;
L_Wait:
- mes "[Vincent]";
- mes "\"Now please go get me 10 Bug Legs.\"";
- close;
+ mes "[Vincent]";
+ mes "\"Now please go get me 10 Bug Legs.\"";
+ close;
L_Progress:
- if(countitem("BugLeg") >= 10) goto L_Have;
- mes "[Vincent]";
- mes "\"Please help me collect 10 Bug Legs!\"";
- close;
+ if(countitem("BugLeg") >= 10) goto L_Have;
+ mes "[Vincent]";
+ mes "\"Please help me collect 10 Bug Legs!\"";
+ close;
L_Have:
- mes "[Vincent]";
- mes "\"Excellent! Finally I can complete the model!!\"";
- next;
-
- if(countitem("BugLeg") < 10) goto L_Progress;
- delitem "BugLeg", 10;
- set zeny, zeny + 1000;
- set TMW_Quest, 10;
-
- mes "[Vincent]";
- mes "\"Here you go, a little of my appreciation!\"";
- mes "";
- mes "[1000 gold]";
- close;
+ mes "[Vincent]";
+ mes "\"Excellent! Finally I can complete the model!!\"";
+ next;
+ if(countitem("BugLeg") < 10) goto L_Progress;
+ delitem "BugLeg", 10;
+ set zeny, zeny + 1000;
+ set TMW_Quest, 10;
+
+ mes "[Vincent]";
+ mes "\"Here you go, a little of my appreciation!\"";
+ mes "";
+ mes "[1000 gold]";
+ close;
L_Done:
- mes "[Vincent]";
- mes "\"Thanks for your help!\"";
- close;
+ mes "[Vincent]";
+ mes "\"Thanks for your help!\"";
+ close;
}