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
This commit is contained in:
Seirra Blake 2024-08-11 23:33:40 +01:00
parent 73f1713980
commit 2a830d301b

View file

@ -31,7 +31,7 @@ namespace RJW_Genes
if (OvipositorF == null) return; if (OvipositorF == null) return;
OvipositorF.AsHediff.TryGetComp<HediffComp_Ovipositor>().nextEggTick = Math.Max(OvipositorF.nextEggTick - MULTIPLIER, -1); OvipositorF.AsHediff.TryGetComp<HediffComp_Ovipositor>().NewEggCheckInterval = 10000 / 3;
// DevNote: I first had a for-loop calling OviPositorF.tick(), but I fear that would be a performance sink. // 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. // Also, it would double other aspects as well, such as bleeding out through your insect-PP or dropping out the eggs.