mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
sexage check Fertilin and FertilinDraingene
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.
This commit is contained in:
parent
2e1e74e0b1
commit
09157e923d
21 changed files with 166 additions and 81 deletions
|
@ -0,0 +1,28 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue