From 89e2ac5687d698f0843ac46612ee33b6692bbc93 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 5 Jul 2013 12:25:49 -0700 Subject: Move starting brace to new line --- world/map/npc/001-1/_mobs.txt | 3 ++- world/map/npc/001-1/banker.txt | 3 ++- world/map/npc/001-1/barber.txt | 3 ++- world/map/npc/001-1/bard.txt | 5 +++-- world/map/npc/001-1/bernard.txt | 4 ++-- world/map/npc/001-1/bleacher.txt | 3 ++- world/map/npc/001-1/children.txt | 6 ++++-- world/map/npc/001-1/constable.txt | 3 ++- world/map/npc/001-1/elanore.txt | 7 ++++--- world/map/npc/001-1/entertainer.txt | 3 ++- world/map/npc/001-1/gossip.txt | 4 ++-- world/map/npc/001-1/guards.txt | 7 ++++--- world/map/npc/001-1/guide.txt | 3 ++- world/map/npc/001-1/luca.txt | 4 ++-- world/map/npc/001-1/mikhail.txt | 4 ++-- world/map/npc/001-1/monster_guide.txt | 3 ++- world/map/npc/001-1/npcs.txt | 6 ++++-- world/map/npc/001-1/rewards_master.txt | 3 ++- world/map/npc/001-1/sandra.txt | 4 ++-- world/map/npc/001-1/sarah.txt | 4 ++-- world/map/npc/001-1/soul-menhir.txt | 3 ++- world/map/npc/001-1/trader.txt | 3 ++- world/map/npc/001-1/vincent.txt | 3 ++- 23 files changed, 55 insertions(+), 36 deletions(-) (limited to 'world/map/npc/001-1') diff --git a/world/map/npc/001-1/_mobs.txt b/world/map/npc/001-1/_mobs.txt index 6aaae042..bb79c71d 100644 --- a/world/map/npc/001-1/_mobs.txt +++ b/world/map/npc/001-1/_mobs.txt @@ -23,7 +23,8 @@ 001-1.gat,137,25,15,7|monster|FireGoblin|1011,1,61000,60000,Mob001-1::On1011 -001-1.gat,0,0,0|script|Mob001-1|-1,{ +001-1.gat,0,0,0|script|Mob001-1|-1, +{ On1002: set @mobID, 1002; callfunc "MobPoints"; diff --git a/world/map/npc/001-1/banker.txt b/world/map/npc/001-1/banker.txt index c5807d0e..aee3e4ba 100644 --- a/world/map/npc/001-1/banker.txt +++ b/world/map/npc/001-1/banker.txt @@ -1,6 +1,7 @@ // -001-1.gat,57,52,0|script|Tybalt|107,{ +001-1.gat,57,52,0|script|Tybalt|107, +{ callfunc "ClearVariables"; set @npcname$, "Tybalt"; callfunc "Banker"; diff --git a/world/map/npc/001-1/barber.txt b/world/map/npc/001-1/barber.txt index 103e303a..e58ee880 100644 --- a/world/map/npc/001-1/barber.txt +++ b/world/map/npc/001-1/barber.txt @@ -1,6 +1,7 @@ // -001-1.gat,53,38,0|script|Nicolas|100,{ +001-1.gat,53,38,0|script|Nicolas|100, +{ mes "[Nicolas the Barber]"; mes "\"Do you need a barber?\""; next; diff --git a/world/map/npc/001-1/bard.txt b/world/map/npc/001-1/bard.txt index 4278bb7a..2de20249 100644 --- a/world/map/npc/001-1/bard.txt +++ b/world/map/npc/001-1/bard.txt @@ -1,7 +1,8 @@ // -//001-1.gat,46,76,0|script|Bard|152,{ -001-1.gat,40,73,0|script|Bard|152,{ +//001-1.gat,46,76,0|script|Bard|152, +001-1.gat,40,73,0|script|Bard|152, +{ setarray @songs$, "\"There once was a bard, who had it hard, because a man in dark green, was very mean.\"", "\"At Hurnscald inn, there was a person of fairest skin, declining wedding bands from quite a many hands.\"", "\"As the Sun sets down in the forest's brown, she whom the fragrance holds counts her gold.\""; diff --git a/world/map/npc/001-1/bernard.txt b/world/map/npc/001-1/bernard.txt index 0d65e6d2..25364698 100644 --- a/world/map/npc/001-1/bernard.txt +++ b/world/map/npc/001-1/bernard.txt @@ -1,7 +1,7 @@ // Variables used: nibble 0 of QUEST_SouthTulimshar -001-1.gat,37,44,0|script|Bernard|117,{ - +001-1.gat,37,44,0|script|Bernard|117, +{ // This NPC previously used the variable TMW_Quest callfunc "ClearVarTMW_Quest"; diff --git a/world/map/npc/001-1/bleacher.txt b/world/map/npc/001-1/bleacher.txt index 6ff75cca..e681f8c0 100644 --- a/world/map/npc/001-1/bleacher.txt +++ b/world/map/npc/001-1/bleacher.txt @@ -1,6 +1,7 @@ // -001-1.gat,27,53,0|script|Candide|156,{ +001-1.gat,27,53,0|script|Candide|156, +{ mes "[Candide]"; mes "\"I've figured out how that volcanic ash bleaches cloth."; mes "I could do it for you, but I'll need three piles of ash and 5,000 GP for supplies per item.\""; diff --git a/world/map/npc/001-1/children.txt b/world/map/npc/001-1/children.txt index 91aa2e1f..16c2d10a 100644 --- a/world/map/npc/001-1/children.txt +++ b/world/map/npc/001-1/children.txt @@ -1,6 +1,7 @@ // Aisha and Nina -001-1.gat,95,29,0|script|Aisha|108,{ +001-1.gat,95,29,0|script|Aisha|108, +{ set @TEMP,rand(9); if(@TEMP == 0) goto L_1; if(@TEMP == 1) goto L_1; @@ -57,7 +58,8 @@ L_Close: close; } -001-1.gat,39,67,0|script|Nina|103,{ +001-1.gat,39,67,0|script|Nina|103, +{ mes "[Nina]"; set @TEMP,rand(10); if(@TEMP == 0) goto L_1; diff --git a/world/map/npc/001-1/constable.txt b/world/map/npc/001-1/constable.txt index 6c8be358..e5de9b92 100644 --- a/world/map/npc/001-1/constable.txt +++ b/world/map/npc/001-1/constable.txt @@ -1,6 +1,7 @@ // -001-1.gat,37,35,0|script|Constable Perry Graf|150,{ +001-1.gat,37,35,0|script|Constable Perry Graf|150, +{ // set @npcname$, "Constable Perry Graf"; set @canSkip, 1; callfunc "GameRules"; diff --git a/world/map/npc/001-1/elanore.txt b/world/map/npc/001-1/elanore.txt index 24ca9edd..99e8ac39 100644 --- a/world/map/npc/001-1/elanore.txt +++ b/world/map/npc/001-1/elanore.txt @@ -1,6 +1,7 @@ // -function|script|ElanoreFix|{ +function|script|ElanoreFix| +{ set @Q_MASK, NIBBLE_1_MASK; set @Q_SHIFT, NIBBLE_1_SHIFT; @@ -16,8 +17,8 @@ function|script|ElanoreFix|{ return; } -001-1.gat,58,68,0|script|Elanore#_M|108,{ - +001-1.gat,58,68,0|script|Elanore#_M|108, +{ set @has_magic, getskilllv(SKILL_MAGIC); set @Q_MASK, NIBBLE_1_MASK; diff --git a/world/map/npc/001-1/entertainer.txt b/world/map/npc/001-1/entertainer.txt index bef7d2ab..ea8e0870 100644 --- a/world/map/npc/001-1/entertainer.txt +++ b/world/map/npc/001-1/entertainer.txt @@ -1,6 +1,7 @@ // Emote NPC allows for players to learn the emote skill -001-1.gat,30,45,0|script|Entertainer|165,{ +001-1.gat,30,45,0|script|Entertainer|165, +{ if (getskilllv(SKILL_EMOTE) > 0) goto L_Has; mes "[Entertainer]"; diff --git a/world/map/npc/001-1/gossip.txt b/world/map/npc/001-1/gossip.txt index 468b8b48..881ada61 100644 --- a/world/map/npc/001-1/gossip.txt +++ b/world/map/npc/001-1/gossip.txt @@ -1,7 +1,7 @@ // NPC to provide hints on progression of linear quest chain in Tulimshar -001-1.gat,49,31,0|script|Gladys|154,{ - +001-1.gat,49,31,0|script|Gladys|154, +{ // This NPC previously used the variable TMW_Quest callfunc "ClearVarTMW_Quest"; diff --git a/world/map/npc/001-1/guards.txt b/world/map/npc/001-1/guards.txt index 184956da..cce350c7 100644 --- a/world/map/npc/001-1/guards.txt +++ b/world/map/npc/001-1/guards.txt @@ -1,6 +1,7 @@ // -001-1.gat,48,79,0|script|Ekinu|104,{ +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; @@ -74,8 +75,8 @@ L_Close: 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; mes "[Ryan the Town Guard]"; diff --git a/world/map/npc/001-1/guide.txt b/world/map/npc/001-1/guide.txt index 07c6f9bb..f50e3eda 100644 --- a/world/map/npc/001-1/guide.txt +++ b/world/map/npc/001-1/guide.txt @@ -1,6 +1,7 @@ // -001-1.gat,32,27,0|script|Ian|102,{ +001-1.gat,32,27,0|script|Ian|102, +{ // This line is only relevant for players, who started before the timestamp was introduced. // Set the graduation cap flag at the right position. // It is a bugfix diff --git a/world/map/npc/001-1/luca.txt b/world/map/npc/001-1/luca.txt index f1725404..55502e35 100644 --- a/world/map/npc/001-1/luca.txt +++ b/world/map/npc/001-1/luca.txt @@ -1,7 +1,7 @@ // -001-1.gat,108,55,0|script|Luca|102,{ - +001-1.gat,108,55,0|script|Luca|102, +{ set @EXP_BRAWLING, 2000; if (BaseLevel >= 35) goto L_teach; diff --git a/world/map/npc/001-1/mikhail.txt b/world/map/npc/001-1/mikhail.txt index 3980ac9b..c82dd89f 100644 --- a/world/map/npc/001-1/mikhail.txt +++ b/world/map/npc/001-1/mikhail.txt @@ -1,7 +1,7 @@ // Variables used: nibble 0 of QUEST_SouthTulimshar -001-1.gat,50,46,0|script|Mikhail|120,{ - +001-1.gat,50,46,0|script|Mikhail|120, +{ // This NPC previously used the variable TMW_Quest callfunc "ClearVarTMW_Quest"; diff --git a/world/map/npc/001-1/monster_guide.txt b/world/map/npc/001-1/monster_guide.txt index 7d5693e2..0aca7e41 100644 --- a/world/map/npc/001-1/monster_guide.txt +++ b/world/map/npc/001-1/monster_guide.txt @@ -1,6 +1,7 @@ // -001-1.gat,48,52,0|script|Aidan|102,{ +001-1.gat,48,52,0|script|Aidan|102, +{ if(MPQUEST == 0) goto Register; mes "[Aidan the Monster Guide]"; mes "You currently have " +Mobpt+ " Monster Points. These points are acquired while killing monsters"; diff --git a/world/map/npc/001-1/npcs.txt b/world/map/npc/001-1/npcs.txt index b58ae7d8..c2b020af 100644 --- a/world/map/npc/001-1/npcs.txt +++ b/world/map/npc/001-1/npcs.txt @@ -1,6 +1,7 @@ // Talk NPCs to help make trek interesting around the Bazaar. -001-1.gat,46,26,0|script|Yalina|209,{ +001-1.gat,46,26,0|script|Yalina|209, +{ set @npcname$, "Yalina"; mes "[" + @npcname$ + "]"; @@ -13,7 +14,8 @@ close; } -001-1.gat,84,72,0|script|Cyndala|210,{ +001-1.gat,84,72,0|script|Cyndala|210, +{ set @npcname$, "Cyndala"; mes "[" + @npcname$ + "]"; diff --git a/world/map/npc/001-1/rewards_master.txt b/world/map/npc/001-1/rewards_master.txt index abf85ce8..7ebc12f5 100644 --- a/world/map/npc/001-1/rewards_master.txt +++ b/world/map/npc/001-1/rewards_master.txt @@ -1,6 +1,7 @@ // -001-1.gat,50,53,0|script|Ishi|106,{ +001-1.gat,50,53,0|script|Ishi|106, +{ if (MPQUEST == 0) goto L_Register; if (tvis == 0) set tvis, 1; if (Mobpt < tvis) goto L_NotEnough; diff --git a/world/map/npc/001-1/sandra.txt b/world/map/npc/001-1/sandra.txt index 021f8519..50e302db 100644 --- a/world/map/npc/001-1/sandra.txt +++ b/world/map/npc/001-1/sandra.txt @@ -1,7 +1,7 @@ // Variables used: nibble 3 of QUEST_SouthTulimshar -001-1.gat,110,71,0|script|Sandra|114,{ - +001-1.gat,110,71,0|script|Sandra|114, +{ // This NPC previously used the variable TMW_Quest callfunc "ClearVarTMW_Quest"; diff --git a/world/map/npc/001-1/sarah.txt b/world/map/npc/001-1/sarah.txt index 3d2cb806..9f61fc19 100644 --- a/world/map/npc/001-1/sarah.txt +++ b/world/map/npc/001-1/sarah.txt @@ -1,7 +1,7 @@ // Variables used: nibble 1 of QUEST_SouthTulimshar -001-1.gat,137,78,0|script|Sarah|106,{ - +001-1.gat,137,78,0|script|Sarah|106, +{ // This NPC previously used the variable TMW_Quest callfunc "ClearVarTMW_Quest"; diff --git a/world/map/npc/001-1/soul-menhir.txt b/world/map/npc/001-1/soul-menhir.txt index 2a7f5c27..4ebea361 100644 --- a/world/map/npc/001-1/soul-menhir.txt +++ b/world/map/npc/001-1/soul-menhir.txt @@ -1,6 +1,7 @@ // -001-1.gat,38,69,0|script|Soul Menhir|345,{ +001-1.gat,38,69,0|script|Soul Menhir|345, +{ callfunc "ClearVariables"; set @map$, "001-1.gat"; setarray @Xs, 37, 38, 39, 37, 39, 37, 39; diff --git a/world/map/npc/001-1/trader.txt b/world/map/npc/001-1/trader.txt index b4157ab2..cf2854ef 100644 --- a/world/map/npc/001-1/trader.txt +++ b/world/map/npc/001-1/trader.txt @@ -3,7 +3,8 @@ // Updated by: TheKandiman // Reviewed by: Wombat -001-1.gat,57,33,0|script|Trader|115,{ +001-1.gat,57,33,0|script|Trader|115, +{ set @Ironprice, 1000; set @Sulphurprice, 1200; set @Potionprice, 500; diff --git a/world/map/npc/001-1/vincent.txt b/world/map/npc/001-1/vincent.txt index 4ed4adfc..eb4c1fed 100644 --- a/world/map/npc/001-1/vincent.txt +++ b/world/map/npc/001-1/vincent.txt @@ -1,6 +1,7 @@ // Variables used: nibble 2 of QUEST_SouthTulimshar -001-1.gat,135,42,0|script|Vincent|113,{ +001-1.gat,135,42,0|script|Vincent|113, +{ set @hw2011_npc_id, $@hw2011_npc_vincent; if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) goto L_TrickOrTreat; -- cgit v1.2.3-60-g2f50