Ejemplo n.º 1
0
 public void setDeityForAllParms(CosmicEntityDef def)
 {
     foreach (KeyValuePair <Choice, CongregationParms> kvp in this.parms)
     {
         kvp.Value.deity = def;
     }
 }
Ejemplo n.º 2
0
        /*
         * public static void ExposeToHorror()
         * {
         *  Find.LetterStack.ReceiveLetter("Cult beginning", CultsDefOf.Cults_Letter_Success.description, CultsDefOf.Cults_Letter_Success, null);
         *  isExposed = true;
         * }
         */

        public static void GiveFavor(CosmicEntityDef def, float f)
        {
            for (int i = 0; i < deities.Count; i++)
            {
                if (deities[i].def == def)
                {
                    deities[i].GiveFavor(f);
                }
            }
        }
Ejemplo n.º 3
0
 public static CosmicEntity getDeityFromDef(CosmicEntityDef def)
 {
     for (int i = 0; i < deities.Count; i++)
     {
         if (deities[i].def == def)
         {
             return(deities[i]);
         }
     }
     return(null);
 }