Hi there Dreams of past mod does not dynamically scale with the maxcolonysize setting in starsector. This is due to a hardcoded setting in the cryofacility listener where it only activates if colony is 6 or smaller ( for ark 7 or smaller ) You should replace it with something dynamic like misc.Max_Colony_Size or configsize. Here is a code I wrote to fix it fo rmyself :
public List<IndustryOptionProvider.IndustryOptionData> getIndustryOptions(Industry ind) {
ArrayList<IndustryOptionProvider.IndustryOptionData> data = new ArrayList<>();
if (ind.getId().equals("reawakening_facility")) {
boolean foundArk = false;
boolean foundCryosleeper = false;
for (SectorEntityToken entity : ind.getMarket().getStarSystem().getEntitiesWithTag("aotd_cryosleeper")) {
if (entity.getMemory().is("$reawakening", true) || entity.getMemory().is("$inTransit", true) || !entity.getMemory().is("$defenderFleetDefeated", true)) continue;
if (entity.getCustomEntityType().equals("ark") && !foundArk &&
ind.getMarket().getSize() >= Misc.MAX_COLONY_SIZE && ind.getMarket().getSize() <= Misc.MAX_COLONY_SIZE + 1) {
IndustryOptionProvider.IndustryOptionData opt = new IndustryOptionProvider.IndustryOptionData("Start re-awakening process of Ark", ARK, ind, this);
opt.color = new Color(0, 144, 246, 255);
data.add(opt);
foundArk = true;
}
if (!entity.getCustomEntityType().equals("derelict_cryosleeper") || foundCryosleeper ||
ind.getMarket().getSize() != Misc.MAX_COLONY_SIZE) continue;
IndustryOptionProvider.IndustryOptionData opt = new IndustryOptionProvider.IndustryOptionData("Start re-awakening process of Cryosleeper", CRYOSLEEPER, ind, this);
opt.color = new Color(0, 98, 246, 255);
data.add(opt);
foundCryosleeper = true;
}
}
return data;
}
Also getawakeningpopulation() has to be fixed - it was hardcoded to a million and 10 million. It has to be 10 on the power of configsize in order to scale dynamically else it breaks the event. But thats all - it works - so You can fix those parameters for duynamic scaling of planets