summaryrefslogtreecommitdiff
path: root/npc/005-1-1/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1-1/main.txt')
-rw-r--r--npc/005-1-1/main.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/npc/005-1-1/main.txt b/npc/005-1-1/main.txt
index 0fb4620bf..6823fc441 100644
--- a/npc/005-1-1/main.txt
+++ b/npc/005-1-1/main.txt
@@ -35,8 +35,15 @@
end;
OnStart:
- initnpctimer;
- addtimer(60000, "Nylo#Marggo::OnBegin");
+ //initnpctimer;
+ addtimer(10000, "Nylo#Marggo::OnTimer10000");
+ addtimer(20000, "Nylo#Marggo::OnTimer20000");
+ addtimer(30000, "Nylo#Marggo::OnTimer30000");
+ addtimer(40000, "Nylo#Marggo::OnTimer40000");
+ addtimer(50000, "Nylo#Marggo::OnTimer50000");
+ addtimer(55000, "Nylo#Marggo::OnTimer55000");
+ addtimer(60000, "Nylo#Marggo::OnTimer60000");
+ addtimer(60300, "Nylo#Marggo::OnBegin");
mesn;
mesq l("The maggots will spawn in @@ at random.", b(l("60 seconds")));
mes l("Read the instructions carefully.");
@@ -79,7 +86,7 @@ OnTimer55000:
OnTimer60000:
npctalk "Start!";
- stopnpctimer;
+ //stopnpctimer;
end;
OnBegin:
@@ -105,7 +112,7 @@ OnSpawn:
addtimer(rand(10000, 12500), "Nylo#Marggo::OnSpawn");
.@mobID=areamonster(.@MAP$, 23, 22, 35, 34, l("Maggot"), Maggot, 1, "Nylo#Marggo::OnMurder");
- htput @MARGGO, .@mobID, 1;
+ htput @MARGGO, str(.@mobID), 1;
end;
// Move all maggots
@@ -159,7 +166,7 @@ OnMurder:
continue;
// We found the dead monster, mark it as dead and stop this meaningless loop
- htput .@key$, .@mobId, 0;
+ htput @MARGGO, .@key$, 0;
break;
}
htidelete(.@hti);