public Insurrection(List <Property> properties, World world) : base(properties, world) { Filters = new List <string>(); foreach (Property property in properties) { switch (property.Name) { case "site_id": Site = world.GetSite(Convert.ToInt32(property.Value)); break; case "target_enid": TargetEntity = world.GetEntity(Convert.ToInt32(property.Value)); break; case "ordinal": Ordinal = Convert.ToInt32(property.Value); break; } } Name = "The " + GetOrdinal(Ordinal) + " Insurrection in " + Site; InsurrectionStarted insurrectionStart = Collection.OfType <InsurrectionStarted>().FirstOrDefault(); if (insurrectionStart != null) { insurrectionStart.ActualStart = true; } TargetEntity.AddEventCollection(this); Site.AddEventCollection(this); }