Started mass overhaul of quests and related components like small talk. Fixed some scripts. More fixes required.

This commit is contained in:
Filip Maj 2022-01-24 23:49:10 -05:00
parent df49eefadb
commit 2279ee7017
33 changed files with 1241 additions and 279 deletions

View file

@ -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);
}
}