Draft for birth-inheritance of hive genes

This commit is contained in:
Vegapnk 2023-04-23 19:09:22 +02:00
parent 085f572780
commit a15895947a
11 changed files with 411 additions and 3 deletions

View file

@ -1,10 +1,20 @@
using Verse;
using System.Linq;
using Verse;
namespace BTE_MMLA
namespace RJW_Genes
{
[StaticConstructorOnStartup]
public static class RJW_Genes
{
static RJW_Genes() => Log.Message("RJW-Genes loaded");
static RJW_Genes()
{
ModLog.Message("RJW-Genes loaded");
if (RJW_Genes_Settings.rjw_genes_detailed_debug)
{
ModLog.Message($"{HiveUtility.getQueenXenotypes().EnumerableCount()} Queen-Xenotypes ({string.Join(",", HiveUtility.getQueenXenotypes().Select(t => t.defName))})");
ModLog.Message($"{HiveUtility.getDroneXenotypes().EnumerableCount()} Drone-Xenotypes ({string.Join(",", HiveUtility.getDroneXenotypes().Select(t => t.defName))})");
ModLog.Message($"Found {HiveUtility.GetQueenWorkerMappings().Count} Queen-Worker Mappings ({string.Join(",", HiveUtility.GetQueenWorkerMappings().Keys.Select(t => t.defName))} + Default) ");
}
}
}
}