public KillScenario(SimDescription sim, SimDescription killer, SimDescription.DeathType deathType) : base(sim) { mKiller = killer; mDeathType = deathType; mStoryName = deathType.ToString(); }
public static string GetLocalizedString(bool isFemale, SimDescription.DeathType type) { switch (type) { case SimDescription.DeathType.None: return ""; case SimDescription.DeathType.PetOldAgeBad: case SimDescription.DeathType.PetOldAgeGood: return Common.LocalizeEAString(isFemale, "Gameplay/Objects/Urnstone:" + type.ToString()); } return Urnstone.DeathTypeToLocalizedString(type); }