mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
Started mass overhaul of quests and related components like small talk. Fixed some scripts. More fixes required.
This commit is contained in:
parent
df49eefadb
commit
2279ee7017
33 changed files with 1241 additions and 279 deletions
|
@ -94,15 +94,22 @@ namespace Meteor.Map.Actors
|
|||
string actorType = output.Split('/')[1];
|
||||
string actorName = output.Substring(1 + output.LastIndexOf("/"));
|
||||
|
||||
Actor actor = null;
|
||||
if (actorType.Equals("Command"))
|
||||
mStaticActors.Add(id, new Command(id, actorName));
|
||||
actor = new Command(id, actorName);
|
||||
else if (actorType.Equals("Quest"))
|
||||
mStaticActors.Add(id, new Quest(id, actorName));
|
||||
actor = new Quest(id, actorName);
|
||||
//else if (actorType.Equals("Status"))
|
||||
//mStaticActors.Add(id, new Status(id, actorName));
|
||||
else if (actorType.Equals("Judge"))
|
||||
mStaticActors.Add(id, new Judge(id, actorName));
|
||||
actor = new Judge(id, actorName);
|
||||
|
||||
if (actor != null)
|
||||
{
|
||||
actor.className = actorName;
|
||||
actor.classPath = output;
|
||||
mStaticActors.Add(id, actor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue