Exemple #1
0
        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));
        }
Exemple #2
0
 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]++;
     }
 }
Exemple #3
0
 public bool HasSighted(GameActors.IDs actorModelID) // this only *has* to work for Jason Myers, and it controls UI text
 {
     return(m_Sightings.Contains(actorModelID));
 }