summaryrefslogtreecommitdiff
path: root/world/map/npc/annuals
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-01-14 22:49:52 -0500
committermekolat <mekolat@gmail.com>2015-01-14 22:49:52 -0500
commit87c2cf5320f52c8a9756b28975f0169d66c26138 (patch)
tree1091bf4bda3b1d33c5948035441fb72f2d9866f2 /world/map/npc/annuals
parent3d7fd218c50a39c643245d3520e4bbd314e4f3fa (diff)
downloadserverdata-87c2cf5320f52c8a9756b28975f0169d66c26138.tar.gz
serverdata-87c2cf5320f52c8a9756b28975f0169d66c26138.tar.bz2
serverdata-87c2cf5320f52c8a9756b28975f0169d66c26138.tar.xz
serverdata-87c2cf5320f52c8a9756b28975f0169d66c26138.zip
cmdothernpc => donpcevent
Diffstat (limited to 'world/map/npc/annuals')
-rw-r--r--world/map/npc/annuals/fathertime.txt4
-rw-r--r--world/map/npc/annuals/halloween/debug.txt2
-rw-r--r--world/map/npc/annuals/tree_beard.txt2
-rw-r--r--world/map/npc/annuals/xmas/debug.txt4
-rw-r--r--world/map/npc/annuals/xmas/mobmanager.txt6
5 files changed, 9 insertions, 9 deletions
diff --git a/world/map/npc/annuals/fathertime.txt b/world/map/npc/annuals/fathertime.txt
index d463f3b7..4bc624a8 100644
--- a/world/map/npc/annuals/fathertime.txt
+++ b/world/map/npc/annuals/fathertime.txt
@@ -15,8 +15,8 @@ L_StartTimer:
OnTimer20000:
setnpctimer 0;
- cmdothernpc "#XmasConfig", "RestartQuest";
- cmdothernpc "#HalloweenConfig", "RestartQuest";
+ donpcevent "#XmasConfig::OnCommandRestartQuest";
+ donpcevent "#HalloweenConfig::OnCommandRestartQuest";
initnpctimer;
end;
}
diff --git a/world/map/npc/annuals/halloween/debug.txt b/world/map/npc/annuals/halloween/debug.txt
index 38bed87f..07717b35 100644
--- a/world/map/npc/annuals/halloween/debug.txt
+++ b/world/map/npc/annuals/halloween/debug.txt
@@ -75,7 +75,7 @@ L_HalloweenError:
L_SetNewKey:
setarray $HALLOWEEN_TIME_KEY, @halloween_time_key_smonth, @halloween_time_key_srmonth, @halloween_time_key_emonth, @halloween_time_key_rsday, @halloween_time_key_reday, @halloween_time_key_year;
- cmdothernpc "#HalloweenConfig", "RestartQuest";
+ donpcevent "#HalloweenConfig::OnCommandRestartQuest";
goto L_Debug;
L_QuestState:
diff --git a/world/map/npc/annuals/tree_beard.txt b/world/map/npc/annuals/tree_beard.txt
index dc49e865..394a1a1b 100644
--- a/world/map/npc/annuals/tree_beard.txt
+++ b/world/map/npc/annuals/tree_beard.txt
@@ -70,7 +70,7 @@
function|script|SpawnMobs
{
- cmdothernpc "XmasSpawnManager", "SpawnStart";
+ donpcevent "XmasSpawnManager::OnCommandSpawnStart";
return;
}
diff --git a/world/map/npc/annuals/xmas/debug.txt b/world/map/npc/annuals/xmas/debug.txt
index fe0582e7..0e3c38a2 100644
--- a/world/map/npc/annuals/xmas/debug.txt
+++ b/world/map/npc/annuals/xmas/debug.txt
@@ -128,11 +128,11 @@ L_XmasError:
L_SetNewKey:
setarray $XMAS_TIME_KEY, @xmas_time_key_smonth, @xmas_time_key_srmonth, @xmas_time_key_emonth, @xmas_time_key_rsday, @xmas_time_key_reday, @xmas_time_key_year;
- cmdothernpc "#XmasConfig", "RestartQuest";
+ donpcevent "#XmasConfig::OnCommandRestartQuest";
goto L_Close;
L_XmasChamberReset:
- cmdothernpc "AniManOMat", "ChamberReset";
+ donpcevent "AniManOMat::OnCommandChamberReset";
goto L_Close;
L_XmasState:
diff --git a/world/map/npc/annuals/xmas/mobmanager.txt b/world/map/npc/annuals/xmas/mobmanager.txt
index 897054c9..d4be46dc 100644
--- a/world/map/npc/annuals/xmas/mobmanager.txt
+++ b/world/map/npc/annuals/xmas/mobmanager.txt
@@ -59,7 +59,7 @@ L_End:
end;
OnTally:
- cmdothernpc "XmasSpawnManager", "Tally";
+ donpcevent "XmasSpawnManager::OnCommandTally";
end;
}
@@ -68,7 +68,7 @@ OnTally:
end;
OnTally:
- cmdothernpc "XmasSpawnManager", "Tally";
+ donpcevent "XmasSpawnManager::OnCommandTally";
end;
}
@@ -77,6 +77,6 @@ OnTally:
end;
OnTally:
- cmdothernpc "XmasSpawnManager", "Tally";
+ donpcevent "XmasSpawnManager::OnCommandTally";
end;
}