public void AddSighting(GameActors.IDs actorModelID) { if (m_Sightings.Contains(actorModelID)) { return; } int turn = Session.Get.WorldTime.TurnCounter; m_Sightings.Add(actorModelID); AddEvent(turn, string.Format("Sighted first {0}.", GameActors.From(actorModelID).Name)); }
public void AddKill(Actor victim, int turn) { GameActors.IDs id = victim.Model.ID; if (!m_FirstKills.ContainsKey(id)) { m_FirstKills[id] = turn; m_KillCounts[id] = 1; AddEvent(turn, string.Format("Killed first {0}.", GameActors.From(id).Name)); } else { m_KillCounts[id]++; } }
public bool HasSighted(GameActors.IDs actorModelID) // this only *has* to work for Jason Myers, and it controls UI text { return(m_Sightings.Contains(actorModelID)); }