mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2026-06-18 19:25:57 +00:00
- Removed DDS Files - Added Initial Support for Rimworld 1.6 - Added Additional mod requirement to PatchBSShared.xml to prevent premature loading. - Refactored Cumpilation integration to make it optional rather then a Required Mod. - Disabled succubus tail interactions pending rewrite for RJW's new interactions system. - Disabled Quirks pending rewrite RJW separating them into their own mod.
36 lines
1 KiB
C#
36 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
|
|
namespace RJW_Genes
|
|
{
|
|
public class HediffsCompProperties_ProcessCumbucketMTB : HediffCompProperties
|
|
{
|
|
public HediffsCompProperties_ProcessCumbucketMTB()
|
|
{
|
|
this.compClass = typeof(HediffComp_ProcessCumbucket);
|
|
}
|
|
|
|
public override IEnumerable<string> ConfigErrors(HediffDef parentDef)
|
|
{
|
|
foreach (string text in base.ConfigErrors(parentDef))
|
|
{
|
|
yield return text;
|
|
}
|
|
if (this.mtbDaysPerStage == null)
|
|
{
|
|
yield return "mtbDaysPerStage is not defined";
|
|
}
|
|
else if (this.mtbDaysPerStage.Count != parentDef.stages.Count)
|
|
{
|
|
yield return "mtbDaysPerStage count doesn't match Hediffs number of stages";
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
public List<float> mtbDaysPerStage;
|
|
}
|
|
}
|