Пример #1
0
        public override string GetInspectString()
        {
            StringBuilder stringBuilder = new StringBuilder(base.GetInspectString());

            if (ThingDef_SaltCrystal.IsInWater(this.Position, this.Map)) // melts in water
            {
                stringBuilder.AppendLine("Dissolving in water.");
            }
            return(stringBuilder.ToString().TrimEndNewlines());
        }
Пример #2
0
 public override float GrowthRateAtPos(Map aMap, IntVec3 aPosition, bool includePerMapEffects = true)
 {
     return(calcGrowthRate(base.GrowthRateAtPos(aMap, aPosition), ThingDef_SaltCrystal.GrowthRateBonus(aPosition, aMap)));
 }
Пример #3
0
 public override float GrowthRateAtPos(Map aMap, IntVec3 aPosition)
 {
     return(calcGrowthRate(base.GrowthRateAtPos(aMap, aPosition), ThingDef_SaltCrystal.GrowthRateBonus(aPosition, aMap)));
 }