mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Started mass overhaul of quests and related components like small talk. Fixed some scripts. More fixes required.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user