From c8e0ce7f52ae0c8c4965170c9a3382005fd4231d Mon Sep 17 00:00:00 2001 From: The Kandiman Date: Sat, 27 Aug 2011 00:54:21 -0400 Subject: First set of conversions to using 4 spaces in place of tabs. Also replaced tabs with pipes in headers. Map 001-1 complete. --- world/map/npc/001-1/guards.txt | 135 +++++++++++++++++++++-------------------- 1 file changed, 70 insertions(+), 65 deletions(-) (limited to 'world/map/npc/001-1/guards.txt') diff --git a/world/map/npc/001-1/guards.txt b/world/map/npc/001-1/guards.txt index 1cffa515..67bc5f6d 100644 --- a/world/map/npc/001-1/guards.txt +++ b/world/map/npc/001-1/guards.txt @@ -1,86 +1,91 @@ // -001-1.gat,48,79,0 script Ekinu 104,{ - mes "[Ekinu the Town Guard]"; - mes "\"What a disaster... I can't believe that we managed to rebuild the town so fast, though.\""; - next; - menu "Can you give me any tips?", L_Tip, - "Do you have information?", L_Info, - "What disaster?", L_disaster; +001-1.gat,48,79,0|script|Ekinu|104,{ + mes "[Ekinu the Town Guard]"; + mes "\"What a disaster... I can't believe that we managed to rebuild the town so fast, though.\""; + next; + menu "Can you give me any tips?", L_Tip, + "Do you have information?", L_Info, + "What disaster?", L_disaster; L_Tip: - set @TEMP,rand(7); - if(@TEMP == 0) goto L_0; - if(@TEMP == 1) goto L_1; - if(@TEMP == 2) goto L_2; - if(@TEMP == 3) goto L_3; - if(@TEMP == 4) goto L_4; - if(@TEMP == 5) goto L_5; - if(@TEMP == 6) goto L_6; + set @TEMP,rand(7); + if(@TEMP == 0) goto L_0; + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + if(@TEMP == 4) goto L_4; + if(@TEMP == 5) goto L_5; + if(@TEMP == 6) goto L_6; + L_1: - mes "[Ekinu the Town Guard]"; - mes "\"Try to carry spare food when on fields or in dungeons, they will come in handy. I always take beer, but don't tell the Sergeant...\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"Try to carry spare food when on fields or in dungeons, they will come in handy. I always take beer, but don't tell the Sergeant...\""; + close; + L_2: - mes "[Ekinu the Town Guard]"; - mes "\"Always carry a map of where you are, ask the Guides in most towns to get one.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"Always carry a map of where you are, ask the Guides in most towns to get one.\""; + close; + L_3: - mes "[Ekinu the Town Guard]"; - mes "\"When in a dungeon, monsters are more aggressive than if they were outside.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"When in a dungeon, monsters are more aggressive than if they were outside.\""; + close; + L_4: - mes "[Ekinu the Town Guard]"; - mes "\"When gambling for money in casinos, make sure you have enough emergency money.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"When gambling for money in casinos, make sure you have enough emergency money.\""; + close; + L_5: - mes "[Ekinu the Town Guard]"; - mes "\"Never underestimate the enemy.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"Never underestimate the enemy.\""; + close; + L_6: - mes "[Ekinu the Town Guard]"; - mes "\"When fighting more than one enemy, try to focus on one at a time.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"When fighting more than one enemy, try to focus on one at a time.\""; + close; + L_0: - mes "[Ekinu the Town Guard]"; - mes "\"Let me think of something... Oh! Do NOT attack Red scorpions unless you can kill it for sure!\""; - close; - + mes "[Ekinu the Town Guard]"; + mes "\"Let me think of something... Oh! Do NOT attack Red scorpions unless you can kill it for sure!\""; + close; + L_Info: - mes "[Ekinu the Town Guard]"; - mes "\"Everyone wants information... you won't get it, at least not here. I'm not even sure what you mean, to be honest.\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"Everyone wants information... you won't get it, at least not here. I'm not even sure what you mean, to be honest.\""; + close; L_disaster: - mes "[Ekinu the Town Guard]"; - mes "\"What do you mean, `what disaster'? Weren't you there? That huge huge volcano ex...rusion... whatever they call it, and the earthquake!\""; - next; - - mes "[Ekinu the Town Guard]"; - mes "\"Half the town was reduced to rubble! Somehow, no-one was seriously injured though, so I guess we were lucky...\""; - next; - - mes "[Ekinu the Town Guard]"; - mes "\"Well, the mayor rebuilt everything quickly, but I have no idea where he got the GP from...\""; - close; + mes "[Ekinu the Town Guard]"; + mes "\"What do you mean, `what disaster'? Weren't you there? That huge huge volcano ex...rusion... whatever they call it, and the earthquake!\""; + next; + mes "[Ekinu the Town Guard]"; + mes "\"Half the town was reduced to rubble! Somehow, no-one was seriously injured though, so I guess we were lucky...\""; + next; + mes "[Ekinu the Town Guard]"; + mes "\"Well, the mayor rebuilt everything quickly, but I have no idea where he got the GP from...\""; + close; } -001-1.gat,40,79,0 script Ryan 104,{ +001-1.gat,40,79,0|script|Ryan|104,{ - if (getskilllv(SKILL_MAGIC)) goto L_message; + if (getskilllv(SKILL_MAGIC)) goto L_message; - mes "[Ryan the Town Guard]"; - mes "ZzzZzzZ..."; - next; - mes "[Ryan the Town Guard]"; - mes "\"Hmmmmmmh...?"; - mes "Oh, I wasn't sleeping, I was just resting my eyes!\""; - close; + mes "[Ryan the Town Guard]"; + mes "ZzzZzzZ..."; + next; + mes "[Ryan the Town Guard]"; + mes "\"Hmmmmmmh...?"; + mes "Oh, I wasn't sleeping, I was just resting my eyes!\""; + close; L_message: - mes "[Ryan the Town Guard]"; - mes "\" Watch out for Black Scorpions. They are extremely dangerous.\""; - next; - mes "\"Whenever one approaches the town gate, Ekinu has me run shouting '" + getspellinvocation("aggravate") + "'. Somehow this distracts it so Ekinu can kill it.\""; - close; + mes "[Ryan the Town Guard]"; + mes "\" Watch out for Black Scorpions. They are extremely dangerous.\""; + next; + mes "\"Whenever one approaches the town gate, Ekinu has me run shouting '" + getspellinvocation("aggravate") + "'. Somehow this distracts it so Ekinu can kill it.\""; + close; } -- cgit v1.2.3-60-g2f50