first in src\endWeek\reports\incubatorReport.js change thisAny way to make incubation faster by compiling?
Code:
if (tank.birthWeek >= 52) {
tank.birthWeek = 0;
if (V.seeAge === 1) {
tank.actualAge++;
tank.ovaryAge++;
}
}
Code:
if (tank.birthWeek >= 52) {
let years = math.floor((tank.birthWeek/52))
let remainder = (tank.birthWeek%52)
tank.birthWeek = remainder;
if (V.seeAge === 1) {
tank.actualAge += years;
tank.ovaryAge += years;
}
}
you're also probably going to want to change every instance of "(V.incubator.upgrade.speed === 52)" in the same file to "(V.incubator.upgrade.speed >= 52)" so that all the other incubator things still work with a higher speed
then all you have to do is open src\facilities\incubator\incubatorInteract.js and change "if (V.incubator.upgrade.speed === 52)" to whatever number you want corresponding to weeks per week ie 52 would be one year per week
you could also add more upgrades by adding more else if sections
i've been playing with these modifications and it doesn't seem to cause issue but I can't guarantee that it won't cause bugs
Last edited: