Example #1
0
        /// <summary>
        /// Populates a race dictionary with standard RaceTemplate definitions.
        /// This is only temporary until loading race definitions from file is implemented.
        /// </summary>
        /// <returns></returns>
        public static Dictionary <int, RaceTemplate> GetRaceDictionary()
        {
            Dictionary <int, RaceTemplate> raceDict = new Dictionary <int, RaceTemplate>();

            // Instantiate race templates
            Breton   breton   = new Breton();
            Redguard redguard = new Redguard();
            Nord     nord     = new Nord();
            DarkElf  darkElf  = new DarkElf();
            HighElf  highElf  = new HighElf();
            WoodElf  woodElf  = new WoodElf();
            Khajiit  khajiit  = new Khajiit();
            Argonian argonian = new Argonian();

            // Populate dictionary
            raceDict.Add(breton.ID, breton);
            raceDict.Add(redguard.ID, redguard);
            raceDict.Add(nord.ID, nord);
            raceDict.Add(darkElf.ID, darkElf);
            raceDict.Add(highElf.ID, highElf);
            raceDict.Add(woodElf.ID, woodElf);
            raceDict.Add(khajiit.ID, khajiit);
            raceDict.Add(argonian.ID, argonian);

            return(raceDict);
        }
        public DFCareer.SpecialAbilityFlags SpecialAbilities;   // Racial special abilities

        /// <summary>
        /// Populates a race dictionary with standard RaceTemplate definitions.
        /// This is only temporary until loading race definitions from file is implemented.
        /// </summary>
        /// <returns></returns>
        public static Dictionary <int, RaceTemplate> GetRaceDictionary()
        {
            Dictionary <int, RaceTemplate> raceDict = new Dictionary <int, RaceTemplate>();

            // Instantiate race templates
            Breton   breton   = new Breton();
            Redguard redguard = new Redguard();
            Nord     nord     = new Nord();
            DarkElf  darkElf  = new DarkElf();
            HighElf  highElf  = new HighElf();
            WoodElf  woodElf  = new WoodElf();
            Khajiit  khajiit  = new Khajiit();
            Argonian argonian = new Argonian();

            //Vampire vampire = new Vampire();          // TODO: Uncomment later when paper doll and morphology support completed
            //Werewolf werewolf = new Werewolf();
            //Wereboar wereboar = new Wereboar();

            // Populate dictionary
            raceDict.Add(breton.ID, breton);
            raceDict.Add(redguard.ID, redguard);
            raceDict.Add(nord.ID, nord);
            raceDict.Add(darkElf.ID, darkElf);
            raceDict.Add(highElf.ID, highElf);
            raceDict.Add(woodElf.ID, woodElf);
            raceDict.Add(khajiit.ID, khajiit);
            raceDict.Add(argonian.ID, argonian);
            //raceDict.Add(vampire.ID, vampire);      // TODO: Uncomment later when paper doll and morphology support completed
            //raceDict.Add(werewolf.ID, werewolf);
            //raceDict.Add(wereboar.ID, wereboar);

            return(raceDict);
        }
Example #3
0
        public DFCareer.SpecialAbilityFlags SpecialAbilities; // Racial special abilities

        #endregion Fields

        #region Methods

        /// <summary>
        /// Populates a race dictionary with standard RaceTemplate definitions.
        /// This is only temporary until loading race definitions from file is implemented.
        /// </summary>
        /// <returns></returns>
        public static Dictionary<int, RaceTemplate> GetRaceDictionary()
        {
            Dictionary<int, RaceTemplate> raceDict = new Dictionary<int, RaceTemplate>();

            // Instantiate race templates
            Breton breton = new Breton();
            Redguard redguard = new Redguard();
            Nord nord = new Nord();
            DarkElf darkElf = new DarkElf();
            HighElf highElf = new HighElf();
            WoodElf woodElf = new WoodElf();
            Khajiit khajiit = new Khajiit();
            Argonian argonian = new Argonian();

            // Populate dictionary
            raceDict.Add(breton.ID, breton);
            raceDict.Add(redguard.ID, redguard);
            raceDict.Add(nord.ID, nord);
            raceDict.Add(darkElf.ID, darkElf);
            raceDict.Add(highElf.ID, highElf);
            raceDict.Add(woodElf.ID, woodElf);
            raceDict.Add(khajiit.ID, khajiit);
            raceDict.Add(argonian.ID, argonian);

            return raceDict;
        }