summaryrefslogtreecommitdiff
path: root/npc/000-2-2
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-04 19:53:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-04 19:53:00 +0300
commitb5ba5b06918d5b6a48aed7929d8107c052c5bf25 (patch)
tree8f9ec7e15d5bb6733dff5c3cc9fb8dad9622b95e /npc/000-2-2
parent3e1aae83d7ca2599d44d746569cb7bbf4b0a8c66 (diff)
downloadserverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.gz
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.bz2
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.xz
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.zip
Fix code style.
Add missing spaces, remove useless empty lines.
Diffstat (limited to 'npc/000-2-2')
-rw-r--r--npc/000-2-2/doors.txt2
-rw-r--r--npc/000-2-2/ratto.txt28
2 files changed, 10 insertions, 20 deletions
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt
index a33a8c75..76f0cbf5 100644
--- a/npc/000-2-2/doors.txt
+++ b/npc/000-2-2/doors.txt
@@ -31,7 +31,6 @@ l_Warn:
l_Warp:
warp "000-2-1", 72, 36;
close;
-
}
000-2-2.gat,24,31,0,1 script LeftDoor 0,0,0,{
@@ -60,5 +59,4 @@ l_Warp:
mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9);
close;
-
}
diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt
index b3cd5abd..c950f28b 100644
--- a/npc/000-2-2/ratto.txt
+++ b/npc/000-2-2/ratto.txt
@@ -6,7 +6,6 @@
// Description:
// Ratto killer.
-000-2-2.gat,47,30,0,1 script RattosControl 32767,{
// $@RAT_SAILOR_CONTROL array explanation:
// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive).
// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive).
@@ -18,59 +17,52 @@
// [8] = Shows how many seconds passed since ratto number 4 died.
// [9] = Shows how many seconds passed since the player started the quest.
-OnSpawn:
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto1Death";
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto2Death";
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto3Death";
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto4Death";
+000-2-2.gat,47,30,0,1 script RattosControl 32767,{
+OnSpawn:
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death";
close;
OnRatto1Respawn:
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto1Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death";
set $@RAT_SAILOR_CONTROL[1], 0;
set $@RAT_SAILOR_CONTROL[5], 0;
-
end;
OnRatto2Respawn:
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto2Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death";
set $@RAT_SAILOR_CONTROL[2], 0;
set $@RAT_SAILOR_CONTROL[6], 0;
-
end;
OnRatto3Respawn:
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto3Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death";
set $@RAT_SAILOR_CONTROL[3], 0;
set $@RAT_SAILOR_CONTROL[7], 0;
-
end;
OnRatto4Respawn:
- areamonster "000-2-2.gat",23, 19, 50, 40,"Ratto",1005,1,"RattosControl::OnRatto4Death";
+ areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death";
set $@RAT_SAILOR_CONTROL[4], 0;
set $@RAT_SAILOR_CONTROL[8], 0;
end;
OnRatto1Death:
set $@RAT_SAILOR_CONTROL[1], 1;
-
end;
OnRatto2Death:
set $@RAT_SAILOR_CONTROL[2], 1;
-
end;
OnRatto3Death:
set $@RAT_SAILOR_CONTROL[3], 1;
-
end;
OnRatto4Death:
set $@RAT_SAILOR_CONTROL[4], 1;
-
end;
-
}