mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
09157e923d
Fertilin and all subgenes are only active if pawn is old enough to have sex, 13 if rjw teensex is enabled else 18. Added a fertilindraingene which greatly increases fertilin burn, but gives a lot of metabolic efficiency Also moved a few files into subfolders.
28 lines
744 B
C#
28 lines
744 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Verse;
|
|
using RimWorld;
|
|
|
|
namespace RJW_Genes
|
|
{
|
|
// Token: 0x02000F65 RID: 3941
|
|
public class CompProperties_AbilityLifeForceCost : CompProperties_AbilityEffect
|
|
{
|
|
// Token: 0x06005D16 RID: 23830 RVA: 0x001FA73F File Offset: 0x001F893F
|
|
public CompProperties_AbilityLifeForceCost()
|
|
{
|
|
this.compClass = typeof(CompAbilityEffect_LifeForceCost);
|
|
}
|
|
|
|
// Token: 0x06005D17 RID: 23831 RVA: 0x001FA757 File Offset: 0x001F8957
|
|
public override IEnumerable<string> ExtraStatSummary()
|
|
{
|
|
yield return "AbilityFertilinCost" + ": " + Mathf.RoundToInt(this.fertilinCost * 100f);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x040038CD RID: 14541
|
|
public float fertilinCost;
|
|
}
|
|
}
|