From 2a830d301be202237537bf24613b4fcf2211ef41 Mon Sep 17 00:00:00 2001 From: Seirra Blake Date: Sun, 11 Aug 2024 23:33:40 +0100 Subject: [PATCH] finish updating fervent ovipositor there's now a variable, so... surely we can set it once? I'm not sure how, but either way this should be a similar performance impact --- Source/Genes/Breeding/Genes/Gene_FerventOvipositor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Genes/Breeding/Genes/Gene_FerventOvipositor.cs b/Source/Genes/Breeding/Genes/Gene_FerventOvipositor.cs index acde20c..e69b536 100644 --- a/Source/Genes/Breeding/Genes/Gene_FerventOvipositor.cs +++ b/Source/Genes/Breeding/Genes/Gene_FerventOvipositor.cs @@ -31,7 +31,7 @@ namespace RJW_Genes if (OvipositorF == null) return; - OvipositorF.AsHediff.TryGetComp().nextEggTick = Math.Max(OvipositorF.nextEggTick - MULTIPLIER, -1); + OvipositorF.AsHediff.TryGetComp().NewEggCheckInterval = 10000 / 3; // DevNote: I first had a for-loop calling OviPositorF.tick(), but I fear that would be a performance sink. // Also, it would double other aspects as well, such as bleeding out through your insect-PP or dropping out the eggs.