diff options
Diffstat (limited to 'npc/000-2-2')
-rw-r--r-- | npc/000-2-2/_import.txt | 5 | ||||
-rw-r--r-- | npc/000-2-2/doors.txt | 69 | ||||
-rw-r--r-- | npc/000-2-2/mapflags.txt | 1 | ||||
-rw-r--r-- | npc/000-2-2/ratto.txt | 68 |
4 files changed, 0 insertions, 143 deletions
diff --git a/npc/000-2-2/_import.txt b/npc/000-2-2/_import.txt deleted file mode 100644 index 81d32fdfb..000000000 --- a/npc/000-2-2/_import.txt +++ /dev/null @@ -1,5 +0,0 @@ -// Map 000-2-2: Hold -// This file is generated automatically. All manually added changes will be removed when running the Converter. -"npc/000-2-2/doors.txt", -"npc/000-2-2/mapflags.txt", -"npc/000-2-2/ratto.txt", diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt deleted file mode 100644 index 6c50db882..000000000 --- a/npc/000-2-2/doors.txt +++ /dev/null @@ -1,69 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Doors NPCs. - -000-2-2,48,29,0 script DoorUpwards#000-2-2 NPC_HIDDEN,0,0,{ - -OnTouch: - if (mobcount("000-2-2","all") > 0) goto L_Warn; - - goto L_Warp; - -L_Warn: - .@q = getq(ShipQuests_Peter); - if (.@q == 5) goto L_Warp; - - mesn "Narrator"; - mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9); - next; - - menu - l("Yes."), L_Warp, - l("No."), -; - - warp "000-2-2", 48, 28; - closedialog; - close; - -L_Warp: - warp "000-2-1", 72, 36; - closedialog; - close; -} - -000-2-2,24,31,0 script LeftDoor#000-2-2 NPC_HIDDEN,0,0,{ - -OnTouch: - mesn "Narrator"; - mes col(l("It seems that you need a key to open this door."), 9); - next; - mes col(l("What do you want to do?"), 9); - next; - - menu - rif(countitem(718) > 0, l("Use the key.")), L_Warp, - l("Break the door."), L_Break, - l("Go away."), -; - - closedialog; - close; - -L_Break: - - mes ""; - mesn "Narrator"; - mes col(l("You hear a loud scream. It must be the creaking of the wooden door..."), 9); - - close; - -L_Warp: - mes ""; - mesn "Narrator"; - mes col(l("Wait, it seems someone is blocking the door from the other side!"), 9); - - close; -} diff --git a/npc/000-2-2/mapflags.txt b/npc/000-2-2/mapflags.txt deleted file mode 100644 index 5202b3321..000000000 --- a/npc/000-2-2/mapflags.txt +++ /dev/null @@ -1 +0,0 @@ -000-2-2 mapflag nosave 000-2-1,50,38 diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt deleted file mode 100644 index 5a6099716..000000000 --- a/npc/000-2-2/ratto.txt +++ /dev/null @@ -1,68 +0,0 @@ -// Evol scripts. -// Authors: -// Ablu -// Alastrim -// Reid -// Description: -// Ratto killer. - -// $@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). -// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive). -// [4] = Shows status of ratto number 4 (1 is dead and 0 is alive). -// [5] = Shows how many seconds passed since ratto number 1 died. -// [6] = Shows how many seconds passed since ratto number 2 died. -// [7] = Shows how many seconds passed since ratto number 3 died. -// [8] = Shows how many seconds passed since ratto number 4 died. -// [9] = Shows how many seconds passed since the player started the quest. - -000-2-2,47,30,0 script RattosControl#000-2-2 NPC_HIDDEN,{ - -OnSpawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto1Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto2Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto3Death"; - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto4Death"; - close; - -OnRatto1Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto1Death"; - $@RAT_SAILOR_CONTROL[1] = 0; - $@RAT_SAILOR_CONTROL[5] = 0; - end; - -OnRatto2Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto2Death"; - $@RAT_SAILOR_CONTROL[2] = 0; - $@RAT_SAILOR_CONTROL[6] = 0; - end; - -OnRatto3Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto3Death"; - $@RAT_SAILOR_CONTROL[3] = 0; - $@RAT_SAILOR_CONTROL[7] = 0; - end; - -OnRatto4Respawn: - areamonster "000-2-2", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl#000-2-2::OnRatto4Death"; - $@RAT_SAILOR_CONTROL[4] = 0; - $@RAT_SAILOR_CONTROL[8] = 0; - end; - -OnRatto1Death: - $@RAT_SAILOR_CONTROL[1] = 1; - end; - -OnRatto2Death: - $@RAT_SAILOR_CONTROL[2] = 1; - end; - -OnRatto3Death: - $@RAT_SAILOR_CONTROL[3] = 1; - end; - -OnRatto4Death: - $@RAT_SAILOR_CONTROL[4] = 1; - end; -} |