diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-12-26 10:21:13 +0100 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-12-26 10:21:13 +0100 |
commit | 9a8fa6da712c16ec7d961008228f77c0c9b0866c (patch) | |
tree | fe7ab1f52d40e8a7662f20642d9312b65e71a505 /npc | |
parent | d2de767cd85121f66ac9de068be49e615c02afd8 (diff) | |
download | serverdata-9a8fa6da712c16ec7d961008228f77c0c9b0866c.tar.gz serverdata-9a8fa6da712c16ec7d961008228f77c0c9b0866c.tar.bz2 serverdata-9a8fa6da712c16ec7d961008228f77c0c9b0866c.tar.xz serverdata-9a8fa6da712c16ec7d961008228f77c0c9b0866c.zip |
Replaced tabs with whitespaces where possible
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/alige.txt | 14 | ||||
-rw-r--r-- | npc/000-2-1/peter.txt | 4 | ||||
-rw-r--r-- | npc/000-2-2/doors.txt | 43 |
3 files changed, 30 insertions, 31 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 698add2b..7b31d138 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -1,16 +1,16 @@ // Evol scripts. // Authors: // Vasily_Makarov -// Ablu -// Reid +// Ablu +// Reid // Description: // Hidden NPC on a ship'ground hole. // -// 2 bits array: -// ShipQuests -// Variable: +// 2 bits array: +// ShipQuests +// Variable: // ShipQuests_Alige -// Values: +// Values: // 0 first talking (before food) // 1 already talked @@ -124,7 +124,7 @@ rif(countitem(505, 1), l(getitemname(505))), 505, rif(countitem(506, 1), l(getitemname(506))), 506, rif(countitem(507, 1), l(getitemname(507))), 507, - l("I don't have anything good for you today."), -1; + l("I don't have anything good for you today."), -1; set @id, @menuret; if (@id == -1) goto l_DamnYou; diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt index 86bee0f3..f7fddc1f 100644 --- a/npc/000-2-1/peter.txt +++ b/npc/000-2-1/peter.txt @@ -2,8 +2,8 @@ // Authors: // Vasily_Makarov // 4144 -// Reid -// Ablu +// Reid +// Ablu // Description: // Rat killer NPC // 4 bits array: diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt index c5b5b6dd..c8c317f4 100644 --- a/npc/000-2-2/doors.txt +++ b/npc/000-2-2/doors.txt @@ -1,41 +1,40 @@ // Evol scripts. // Authors: -// Reid -// Ablu +// Reid +// Ablu // Description: // Rat killer NPC -000-2-2.gat,48,29,0,1 script DoorUpwards 0,0,0,{ +000-2-2.gat,48,29,0,1 script DoorUpwards 0,0,0,{ OnTouch: - set @q, geta4(ShipQuests, ShipQuests_Peter); - if (@q == 1 || @q == 2) goto l_Check; - goto l_Warp; + set @q, geta4(ShipQuests, ShipQuests_Peter); + if (@q == 1 || @q == 2) goto l_Check; + goto l_Warp; l_Check: - if (getmapmobs("000-2-2.gat") > 0) goto l_Warn; - seta4 ShipQuests, ShipQuests_Peter, @q+2; - goto l_Warp; + if (getmapmobs("000-2-2.gat") > 0) goto l_Warn; + seta4 ShipQuests, ShipQuests_Peter, @q+2; + goto l_Warp; l_Warn: - mesn; - mesq l("There are still some rats left! Do you want to abort the quest?"); - menu - l("Yes."), l_Warp, - l("No."), -; - warp "000-2-2", 48, 28; - close; + mesn; + mesq l("There are still some rats left! Do you want to abort the quest?"); + menu + l("Yes."), l_Warp, + l("No."), -; + warp "000-2-2", 48, 28; + close; l_Warp: - warp "000-2-1", 61, 35; - close; + warp "000-2-1", 61, 35; + close; } -000-2-2.gat,24,31,0,1 script AreaNPC 0,0,0,{ +000-2-2.gat,24,31,0,1 script AreaNPC 0,0,0,{ OnTouch: - - mesq l("This door seems locked"); - close; + mesq l("This door seems locked"); + close; } |