After reading a discussion about infestations being cheesed, I came up with this mod.
What it does is relax the overall scoring of infestation chance.
For example:
- Hives will have less penalty to spawning in areas which have lighting.
- Hives will take a slight penalty when spawning in small rooms, instead of not being able to spawn at all.
- Hives will ignore some kinds of colony buildings when deciding how far from your colony buildings to spawn.
- Hives can spawn further away from your colony buildings.
- The score needed to spawn a hive is roughly halved.
This allows for more randomness of spawn location, meaning that it is harder to cheese infestations by just mining out a big dark cavern for the bugs to inhabit. You can still do that, but it's not a guarantee that they will spawn there.
In addition, I've added a small penalty to spawning at high temperatures, with no chance of infestation at temperatures exceeding 50C. My reasoning here is that it takes only a slight increase in temperature and suddenly the bugs are getting heatstroke, so why spawn there in the first place? :)
This is a test version. It works just fine, but there may be further refinements before it goes onto Workshop.
Download from Dropbox (https://www.dropbox.com/s/fqvtwu6ikslxrjf/MarvsLessInfestationCheese_Test101.zip?dl=0)
Going to test this out in next play through. Thanks you :)