Difference between revisions of "Infestation"

From RimWorld Wiki
Jump to navigation Jump to search
m
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Rewrite|reason=Cleanup, formatting, clearer images, wiki interlinking}}
+
'''Infestations''' are an [[event]] and a serious threat in which a number of [[hive]]s are spawned, alongside [[insectoid]] defenders. They can happen randomly or can be caused by a [[quest]]; quests will warn you if this is an outcome.  Infestations can also occur upon entering rooms in an [[Quests#Ancient_Complex|ancient complex]]; you will get no specific warning for this quest. On the other hand, infestations often leaves behind valuable loot of [[insect jelly]] and opens the opportunity for insect farming.
{{TOCright}}
 
'''Infestations''' are an [[event]] and a serious threat in which a number of [[hive]]s are spawned, alongside [[insectoid]] defenders. They can happen randomly or can be caused by a [[quest]]; quests will warn you if this is an outcome.  Infestations can also occur upon entering rooms in an [[Quests#Ancient_Complex|ancient complex]]; you will get no specific warning for this quest.
 
  
== Spawning ==
+
== Natural Infestations ==
Infestations require an area larger than 1x1, where at least one tile having the ''overhead mountain'' [[roof]], within 30 tiles of a colony [[structure]]. They are centered around a single "valid" tile, which must have a temperature higher than -17°C (1.4°F). Temperatures under -8°C (17.6°F) will gradually reduce the spawn chances, as does light.
+
{{Stub|section=1|reason=initial spawn numbers, protection of expansion rate with examples}}
 +
[[File:PSA INFESTATIONS.PNG|350px|thumb|right|Blue squares show an area with a chance of infestations spawning.]]
 +
[[File:PSA INFESTATIONS_2.PNG|225px|thumb|right|Making 1x1 squares will usually eliminate bugs.<br>But if a 1x2 area has a ''single'' mountain roof - regardless if the other tile is mountain or not - then it can spawn infestations.]]
 +
Natural infestations require an area larger than 1x1, where at least one tile has the [[overhead mountain]] roof, within 30 tiles of a colony [[structure]]. They are centered around a single "valid" tile, which must have a temperature higher than {{Temperature|-17}}. Temperatures under {{Temperature|-8}} will gradually reduce the spawn chances in that area. [[Light]] will also lower, but not eliminate, the chance of infestation in an area.
  
 
[[Hive]]s and [[insectoid]]s will spawn within a given radius, regardless of whether those tiles are valid. A hive does not have to spawn on an infestation's center point. The initial size of an infestation is based on [[raid points]], so infestations will get bigger as the game progresses. If the size of the event is larger than the "valid" space, it will happily expand to appear in nearby "invalid" areas, even if those areas are not directly connected.  
 
[[Hive]]s and [[insectoid]]s will spawn within a given radius, regardless of whether those tiles are valid. A hive does not have to spawn on an infestation's center point. The initial size of an infestation is based on [[raid points]], so infestations will get bigger as the game progresses. If the size of the event is larger than the "valid" space, it will happily expand to appear in nearby "invalid" areas, even if those areas are not directly connected.  
  
If generated from a quest, Infestations may spawn outside in the open.
+
If generated from a [[quest]], Infestations may spawn outside in the open.
  
===Preventing Spawn===
+
Defeating an infestation with hives grants a {{+|4}} ''Defeated insect hive'' [[mood]] buff to all pawns on the map. This buff lasts 10 days and stacks up to 5 times.
[[File:PSA INFESTATIONS.PNG|300px|thumb|right|Blue squares show an area with a chance of infestations spawning.]]
 
When spawn proofing a base, be thorough - even a single warm tile can cause a full infestation. As they require more than 1x1 of overhead monutain, you only need to build walls every second square. Only walls are capable of stopping infestations; columns and doors do not work. Note that an overhead mountain square next to an open "thin roof" area is also a valid spawn point.
 
  
If there is ''any'' valid tile, infestations can spread nearby into seemingly safe areas, even if there is a wall many tiles thick between.
+
=== Behavior ===
 +
[[File:Insectoid hive aggro range.png|300px|thumb|left|Range at which insects will defend a hive]]
 +
[[Insectoids]] ([[Megascarab]]s, [[Megaspider]]s and [[Spelopede]]s) will spawn near hives and spend their time roaming around them. They will attack and chase any intruder that comes within a 10-tile circular radius from the hive that spawned them, returning to their hives once the threat is gone. Insectoids will only attack creatures they can see, and will not attack while they are sleeping, provided they are not woken up.
  
== Behavior ==
+
They will randomly dig at stone and structures while wandering around their hives, potentially breaching into new areas.
[[File:Insectoid hive aggro range.png|thumb|left|Range at which insects will defend a hive]]
+
 
[[Insectoids]] ([[Megascarab]]s, [[Megaspider]]s and [[Spelopede]]s) will spawn near hives and spend their time roaming around them.They will attack and chase any intruder that comes within a 10-tile circular radius from the hive that spawned them, returning to their hives once the threat is gone. Insectoids will only attack creatures they can see, and will not attack while they are sleeping, provided they are not woken up.
+
If any of the insectoids are downed or damaged, the entire infestation will go after colonists on the map, attacking and breaking down structures in the process. Even if outside [[raider]]s or other factors (like hypothermic slowdown) down them, they will be aggressive. If insectoids don't see hostiles within 100 tiles, they will give up and return to their hives.
 +
 
 +
If the hives and insectoid colony are left intact, they will reproduce, progressively growing more numerous. But if all megaspiders or spelopedes are killed, the hive(s) will deteriorate due to lack of maintenance.
 +
{{clear}}
 +
 
 +
==Other infestations==
 +
These events are called "infestations", but do not generate [[hive]]s, meaning they do not share the behavior as shown above. They are immediately hostile to colonists and will attack like [[raider]]s do.
 +
 
 +
===Too Deep: Infestation===
 +
Insectoid infestations can spawn from digging from a [[deep drill]]. They don't seem to appear outside of active digging. Insectoids, but not hives, will pop out around the drill's area. These do not have the overhead mountain requirement like regular infestations. However, they are often smaller in number, and are unable to reproduce due to the lack of hive.
 +
 
 +
===Wastepack infestations===
 +
{{Biotech|section=1}}
 +
{{Main|Wastepack infestation}}
 +
Wastepack infestations may appear whenever [[toxic wastepack]]s are destroyed.
 +
 
 +
When a wastepack infestation triggers, it creates [[wastepack cocoon]]s. When these cocoons are disturbed, or when a human walks within a set radius, the insects will appear.
 +
 
 +
== Strategies ==
 +
{{See also|Defense tactics#Infestations}}
 +
 
 +
Infestations are most threatening in mountain bases, as they can spawn practically anywhere inside your base. Outside a mountain, they are much less harmful - around a normal level threat. When fighting an infestation, always ensure you ''completely annihilate every hive''. If even one is left, insectoids can keep spawning and leave you back where you started.
 +
 
 +
Since insectoids do not attack creatures while sleeping, it is possible to haul materials in and out of the area near their nests at night, including flammable material. This is however extremely risky, since attacking one of them, or doing construction near the insectoids, will wake them up. They also wake up when their individual need for rest has been filled, so be prepared (with all relevant items staged in a nearby stockpile) and act quickly once they're asleep.
  
They will randomly dig at stone and structures while wandering around their hives, potentially breaching into new areas.
+
=== Prevention ===
 +
{{Stub|section=1|reason=Rewrite, expand}}
 +
Prevention is a useful but fragile strategy of protecting mountain bases in most biomes. By reducing the temperature of every tile of overhead mountain to {{Temperature|-17}}, spawning can be prevented, however outside of the coldest biomes, this requires [[cooler]]s and a significant amount of power. A [[solar flare]], [[EMI dynamo]], or similar can leave you open to infestations, so adequate defences are still recommended. The cold will also affect work speed, pawn moods, and potentially pawn health.  
  
If any of the insectoids are downed or damaged, the entire infestation will go after colonists on the map, attacking and breaking down structures in the progress. Even if outside [[raider]]s or other factors (like hypothermic slowdown) down them, they will be aggressive. If insectoids don't see hostiles within 100 tiles, they will give up and return to their hives.
+
When spawn proofing a base, be thorough - even a single warm tile can cause a full infestation. If there is ''any'' valid tile, infestations can spread nearby into seemingly safe areas, even if there is a wall many tiles thick between.
  
If the hives and insectoid colony are left intact, they will reproduce, progressively growing more numerous. But if all Megaspiders or Spelopedes are killed, the hive(s) will deteriorate due to lack of maintenance.
+
As they require more than 1x1 of overhead mountain, you only need to build walls every second square. Only walls are capable of stopping infestations; columns and doors do not work. Note that an overhead mountain square next to an open "thin roof" area is also a valid spawn point.
  
== Strategy ==
+
===Melee block===
{{main|Defense tactics#Infestations}}
+
[[File:Grenades melee block.png|200px|thumb|right|[[Melee block]] with [[frag grenade]]s. Grenades not necessary.]]
 +
With a few, well-armored melee colonists, insects can be very simple to deal with via a [[melee block]] tactic.
  
Infestations are most threatening in mountain bases, as they can spawn practically anywhere inside your base. In other bases, they are much less harmful - around a normal level threat. When fighting an infestation always ensure you ''completely annihilate every hive''. If even one is left, insectoids can keep spawning and leave you back where you started.  
+
[[File:Melee_block_door.png|150px|thumb|left|When designing a mountain base, keep these 6 tiles unblocked.]]
 +
Use a chokepoint, such as in any [[door]]way. Have 3 melee colonists behind the chokepoint, and any amount of ranged fighters behind them. If done correctly (see right), you should have 3 colonists fight 1 insect at a time. As insects are only melee enemies, this is a trivial way to dispatch of insects. Frag grenades are extremely effective, but are not required.  
  
Insectoids are melee fighters, so colonists with ranged equipment can try to kill them from a safe distance.
+
When designing a mountain base, you will want to create many chokepoints where you can melee block. You do not want to block colonists from standing on the 3 tiles behind the doorway, so place buildings away from the doorway. (See left)
  
One way of dealing with infestations is with [[fire]]. In rooms with overhead mountain, use wooden floors on the inside, but non-flammable materials so that the fire doesn't spread. An [[IED incendiary trap]] or even [[molotov cocktail]] will promptly cook the insectoids alive.
+
===Kiting===
 
+
If insects spawn "in the open" (i.e. not inside a mountain), then [[kiting]] tactics are effective.
Since insectoids do not attack creatures while sleeping, it is possible to haul materials in and out of the area near their nests at night, including flammable material. This is however extremely risky, since attacking one of them, or doing construction near the insectoids, will wake them up. They also wake up when their individual need for rest has been filled, so be prepared (with all items staged in a nearby stockpile) and act quickly once they're asleep.
 
  
When attacked, insectoids will go after colonists without any walls between them first. This allows the insectoids to be lured away from their hives, chasing a runner colonist across the map. While they are away the hives can be destroyed. As long as hives are being damaged, the insectoids will keep chasing after colonists instead of returning to their hives. To keep the hive destroying pawns safe from having the insectoids' attention turned to them rather than the runner, a wall can first be built to block off the insectoids from the hives. Note that some new insectoids are likely to spawn at the hives during the process. Once all the hives are destroyed, the insectoids will wander the map like normal animals and soon starve to death.
+
Even [[megascarab]]s, the fastest insect, are {{%|{{#expr:{{Q|Megascarab|Move Speed Base}} / {{Q|Human|Move Speed Base}} round 2}}}} as fast as a healthy baseline human (assuming no Pollution Stimulus). So it is possible to lure the insects, shoot with a ranged weapon, and retreat. After you get to a safe distance, have colonists shoot, and retreat again, repeating until all insects are killed. This strategy works well against Too Deep: Infestations, as well as any hive outside of your base.
  
 
=== Mitigation ===
 
=== Mitigation ===
 
[[File:Planned infestation.jpg|300px|thumb|right|An infestation spawn point trapped with incendiary IEDs, surrounded by stone walls and doors.]]
 
[[File:Planned infestation.jpg|300px|thumb|right|An infestation spawn point trapped with incendiary IEDs, surrounded by stone walls and doors.]]
  
Insects are more likely to spawn in darkness, in "warm enough" temperatures, above -8°C (17.6°F). If you bait insects to spawn in a more convenient location, there's a smaller chance of them spawning inside your base.
+
Insects are more likely to spawn in darkness, in "warm enough" temperatures, above -8°C (17.6°F).  
  
If you are able to ensure that there is only one valid spawn location on your base map, you can prepare this area to automatically trap and kill the insects when they appear. Never rely on this completely unless you know exactly what you are doing - if your base is in a mountain, be prepared for infestations no matter what.
+
In a mountain base, you can create a "lure room". This will be a massive room that is warm, unlit, and dirty, ''very'' far away from your proper base. Since there will be many more valid tiles to spawn inside this room, infestations will most likely spawn there. You can then light this room on fire - see below for details.
 +
 
 +
If you are able to ensure that there is only one valid spawn location on your base map, you can prepare this area to automatically trap and kill the insects with fire when they appear.
 +
 
 +
===Fire===
 +
One way of dealing with infestations is with [[fire]]. This consists of 2 parts:
 +
# Have a "lure" room - see above for details. In an outdoors base, it is likely that only 1-2 rooms have overhead mountain, meaning dedicated rooms can be built.
 +
# Light it on fire. Fill it with flammable objects like [[barricade]]s and [[wood floor]]. You can either use [[molotov cocktail]]s or [[IED incendiary trap]]s to do the work.
 +
Insects should die of [[heatstroke]] before they breach through 2-3 layers of door.
 +
 
 +
It is important to note that [[temperature]] is usually what kills insects, not the fire itself. Throwing molotovs outdoors is unlikely to be helpful: insects can walk past a burning [[wood floor]] with minimal damage, and even a direct molotov hit doesn't do much damage. Rather, it is the >{{Temperature|300}} heat that ignites the entire infestation and causes lethal levels of [[heatstroke]]. An area must be "[[indoors]]" in order to receive any sort of temperature change.
 +
 
 +
===Insect AI===
 +
When attacked, insectoids will go after colonists without any walls between them first. This allows the insectoids to be lured away from their hives, chasing a runner colonist across the map. While they are away the hives can be destroyed. As long as hives are being damaged, the insectoids will keep chasing after colonists instead of returning to their hives. To keep the hive destroying pawns safe from having the insectoids' attention turned to them rather than the runner, a wall can first be built to block off the insectoids from the hives. Note that some new insectoids are likely to spawn at the hives during the process. Once all the hives are destroyed, the insectoids will wander the map like normal animals and soon starve to death.
  
Another good tactic to avoid or minimize this risk of them spawning in your base is by strip mining into many different mountain areas. If you then segment the spaces under the mountain into rooms around 20-40 cells big, this will allow more spaces for the infestations to spawn, and can help drastically odds of one spawning in your base, that they may rarely spawn in your base.
 
 
<br style="clear:both" />
 
<br style="clear:both" />
== Products ==
 
[[File:Infestation.png|400px|thumb|left|The arrow points to the hive itself; to the right is a glowpod. Several stacks of jelly are also next to the hive, along with the usual suspects.]]
 
Hives spawn [[insect jelly]] in stacks of 20 units every day or so. You can farm these by building walls and doors, but insects may dig out and attack your colony.  You can retrieve the jelly when the insects are asleep.
 
  
Hives also spawn [[glow pod]]s, which provide light for 20 days, but cannot be moved without destroying that ability. (In stable version 1.0, these can be reinstalled.)
+
== Farming ==
 +
[[File:Insect farming.png|thumb|A hive room for insect farming]]
 +
It is possible to contain the insect hives and extract resources from them. If well-managed, insect hives become a free source of valuable insect jelly, insect meat, and tamable insects that can be used in combat.
 +
 
 +
=== "Farming" skills ===
 +
Melee skill is required for insect farming, as the farmer will need to regularly fight insects to extract the jelly and the meat, or take their damage when trying to tame them. A pawn with high melee skill, the best armor available, and favorable traits such as [[tough]], [[nimble]], or [[robust]] gene{{BiotechIcon}} (or all of them) is needed. Consider getting such a pawn as your starting colonist if you decide to build a mountain base. Animal skill is also needed if you want to tame insects.
 +
 
 +
Aside from taking damage, the farmer also need to have good wound healing, as they will have to fight insects and take damage everyday. Assign them the best bed, or even a [[hospital bed]], give them [[fast wound healing]] gene{{BiotechIcon}}, the [[healing enhancer]]{{RoyaltyIcon}}, or use a [[ghoul]]{{AnomalyIcon}} farmer. But you may not want to tend their wounds with medicine, as the constant injuries may quickly drain your medicine supply.
 +
 
 +
If you plan to grow [[nutrifungus]]{{RoyaltyIcon}}, note that infestations tend to occur in your dark fungus fields. In that case, you will need to build the insect farm nearby, so try to find a starting colonist that fits both the role of insect farmer and regular farmer to reduce travel time and the risk of insects attacking your other colonists.
 +
 
 +
=== Hive room ===
 +
When reproducing, insect hives never make a new one outside of the current room. After an infestation, you can limit the surviving hives to a small region by building a room around them. If the hive room is in or near your base, it should have at least 2 layers of wall to prevent insects from randomly mining through.
 +
 
 +
The entrance of the room should have a chokepoint in case the hives spawn multiple insects.
 +
 
 +
=== Hive maintenance ===
 +
If left without insects for too long, the hives will display "Due for maintenance"; not long after that, they will take damage and quickly be destroyed. For that, it's crucial to let the insects maintain their hive before killing them. If an insect spawn and one of the hive is due for maintenance, you have to wait for that insect to maintain the hive, or risk losing that hive. Even if no hive is due for maintenance, it's still better to wait a few hours before killing the newly spawned insect. For the same reason, it's safer to keep at least 2 hives at the same time for redundancy.
 +
 
 +
When the insects has finished maintaining their hives, you can kill or tame them, and take the insect jelly. If the insects has mined any part of the wall, send a builder in to fill it back. Try to kill the insect as soon as the finish hive maintenance and don't give them time to mine through the wall.
 +
 
 +
=== Benefits ===
 +
Hives spawn [[insect jelly]] in stacks of 20 units every day or so. Insects will give [[insect meat]] when butchered. While colonists usually dislike eating insects, it is only a -3 [[mood]]let when cooked - a [[carnivore fine meal]] is a net +2 mood from [[simple meal]]s. If the "[[Ideoligion#Insect meat|Insect Meat: Loved]]"{{IdeologyIcon}} precept is used, colonies can be fed exclusively on insect meat and be ecstatic about it.
 +
 
 +
Insect meat can also be converted into [[chemfuel]] from a [[biofuel refinery]], or sold as [[meal]]s with no penalty.
 +
 
 +
===Taming===
 +
If you destroy all hives of an infestation, then any insects that are [[downed]] will become "neutral". They are still hostile, but will not attack unless a colonist gets very close. [[Megaspider]]s are an advanced trainability [[animal]] that can be tamed without a proper manhunter chance. Tamed insects do not breed, therefor you will only have the amount you tamed. This makes them bad for long term use for defense or farming.  
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Revision as of 20:42, 20 November 2024

Infestations are an event and a serious threat in which a number of hives are spawned, alongside insectoid defenders. They can happen randomly or can be caused by a quest; quests will warn you if this is an outcome. Infestations can also occur upon entering rooms in an ancient complex; you will get no specific warning for this quest. On the other hand, infestations often leaves behind valuable loot of insect jelly and opens the opportunity for insect farming.

Natural Infestations

Blue squares show an area with a chance of infestations spawning.
Making 1x1 squares will usually eliminate bugs.
But if a 1x2 area has a single mountain roof - regardless if the other tile is mountain or not - then it can spawn infestations.

Natural infestations require an area larger than 1x1, where at least one tile has the overhead mountain roof, within 30 tiles of a colony structure. They are centered around a single "valid" tile, which must have a temperature higher than -17 °C (1.4 °F). Temperatures under -8 °C (17.6 °F) will gradually reduce the spawn chances in that area. Light will also lower, but not eliminate, the chance of infestation in an area.

Hives and insectoids will spawn within a given radius, regardless of whether those tiles are valid. A hive does not have to spawn on an infestation's center point. The initial size of an infestation is based on raid points, so infestations will get bigger as the game progresses. If the size of the event is larger than the "valid" space, it will happily expand to appear in nearby "invalid" areas, even if those areas are not directly connected.

If generated from a quest, Infestations may spawn outside in the open.

Defeating an infestation with hives grants a +4 Defeated insect hive mood buff to all pawns on the map. This buff lasts 10 days and stacks up to 5 times.

Behavior

Range at which insects will defend a hive

Insectoids (Megascarabs, Megaspiders and Spelopedes) will spawn near hives and spend their time roaming around them. They will attack and chase any intruder that comes within a 10-tile circular radius from the hive that spawned them, returning to their hives once the threat is gone. Insectoids will only attack creatures they can see, and will not attack while they are sleeping, provided they are not woken up.

They will randomly dig at stone and structures while wandering around their hives, potentially breaching into new areas.

If any of the insectoids are downed or damaged, the entire infestation will go after colonists on the map, attacking and breaking down structures in the process. Even if outside raiders or other factors (like hypothermic slowdown) down them, they will be aggressive. If insectoids don't see hostiles within 100 tiles, they will give up and return to their hives.

If the hives and insectoid colony are left intact, they will reproduce, progressively growing more numerous. But if all megaspiders or spelopedes are killed, the hive(s) will deteriorate due to lack of maintenance.

Other infestations

These events are called "infestations", but do not generate hives, meaning they do not share the behavior as shown above. They are immediately hostile to colonists and will attack like raiders do.

Too Deep: Infestation

Insectoid infestations can spawn from digging from a deep drill. They don't seem to appear outside of active digging. Insectoids, but not hives, will pop out around the drill's area. These do not have the overhead mountain requirement like regular infestations. However, they are often smaller in number, and are unable to reproduce due to the lack of hive.

Wastepack infestations

Wastepack infestations may appear whenever toxic wastepacks are destroyed.

When a wastepack infestation triggers, it creates wastepack cocoons. When these cocoons are disturbed, or when a human walks within a set radius, the insects will appear.

Strategies

Infestations are most threatening in mountain bases, as they can spawn practically anywhere inside your base. Outside a mountain, they are much less harmful - around a normal level threat. When fighting an infestation, always ensure you completely annihilate every hive. If even one is left, insectoids can keep spawning and leave you back where you started.

Since insectoids do not attack creatures while sleeping, it is possible to haul materials in and out of the area near their nests at night, including flammable material. This is however extremely risky, since attacking one of them, or doing construction near the insectoids, will wake them up. They also wake up when their individual need for rest has been filled, so be prepared (with all relevant items staged in a nearby stockpile) and act quickly once they're asleep.

Prevention

Prevention is a useful but fragile strategy of protecting mountain bases in most biomes. By reducing the temperature of every tile of overhead mountain to -17 °C (1.4 °F), spawning can be prevented, however outside of the coldest biomes, this requires coolers and a significant amount of power. A solar flare, EMI dynamo, or similar can leave you open to infestations, so adequate defences are still recommended. The cold will also affect work speed, pawn moods, and potentially pawn health.

When spawn proofing a base, be thorough - even a single warm tile can cause a full infestation. If there is any valid tile, infestations can spread nearby into seemingly safe areas, even if there is a wall many tiles thick between.

As they require more than 1x1 of overhead mountain, you only need to build walls every second square. Only walls are capable of stopping infestations; columns and doors do not work. Note that an overhead mountain square next to an open "thin roof" area is also a valid spawn point.

Melee block

Melee block with frag grenades. Grenades not necessary.

With a few, well-armored melee colonists, insects can be very simple to deal with via a melee block tactic.

When designing a mountain base, keep these 6 tiles unblocked.

Use a chokepoint, such as in any doorway. Have 3 melee colonists behind the chokepoint, and any amount of ranged fighters behind them. If done correctly (see right), you should have 3 colonists fight 1 insect at a time. As insects are only melee enemies, this is a trivial way to dispatch of insects. Frag grenades are extremely effective, but are not required.

When designing a mountain base, you will want to create many chokepoints where you can melee block. You do not want to block colonists from standing on the 3 tiles behind the doorway, so place buildings away from the doorway. (See left)

Kiting

If insects spawn "in the open" (i.e. not inside a mountain), then kiting tactics are effective.

Even megascarabs, the fastest insect, are 82% as fast as a healthy baseline human (assuming no Pollution Stimulus). So it is possible to lure the insects, shoot with a ranged weapon, and retreat. After you get to a safe distance, have colonists shoot, and retreat again, repeating until all insects are killed. This strategy works well against Too Deep: Infestations, as well as any hive outside of your base.

Mitigation

An infestation spawn point trapped with incendiary IEDs, surrounded by stone walls and doors.

Insects are more likely to spawn in darkness, in "warm enough" temperatures, above -8°C (17.6°F).

In a mountain base, you can create a "lure room". This will be a massive room that is warm, unlit, and dirty, very far away from your proper base. Since there will be many more valid tiles to spawn inside this room, infestations will most likely spawn there. You can then light this room on fire - see below for details.

If you are able to ensure that there is only one valid spawn location on your base map, you can prepare this area to automatically trap and kill the insects with fire when they appear.

Fire

One way of dealing with infestations is with fire. This consists of 2 parts:

  1. Have a "lure" room - see above for details. In an outdoors base, it is likely that only 1-2 rooms have overhead mountain, meaning dedicated rooms can be built.
  2. Light it on fire. Fill it with flammable objects like barricades and wood floor. You can either use molotov cocktails or IED incendiary traps to do the work.

Insects should die of heatstroke before they breach through 2-3 layers of door.

It is important to note that temperature is usually what kills insects, not the fire itself. Throwing molotovs outdoors is unlikely to be helpful: insects can walk past a burning wood floor with minimal damage, and even a direct molotov hit doesn't do much damage. Rather, it is the >300 °C (572 °F) heat that ignites the entire infestation and causes lethal levels of heatstroke. An area must be "indoors" in order to receive any sort of temperature change.

Insect AI

When attacked, insectoids will go after colonists without any walls between them first. This allows the insectoids to be lured away from their hives, chasing a runner colonist across the map. While they are away the hives can be destroyed. As long as hives are being damaged, the insectoids will keep chasing after colonists instead of returning to their hives. To keep the hive destroying pawns safe from having the insectoids' attention turned to them rather than the runner, a wall can first be built to block off the insectoids from the hives. Note that some new insectoids are likely to spawn at the hives during the process. Once all the hives are destroyed, the insectoids will wander the map like normal animals and soon starve to death.


Farming

A hive room for insect farming

It is possible to contain the insect hives and extract resources from them. If well-managed, insect hives become a free source of valuable insect jelly, insect meat, and tamable insects that can be used in combat.

"Farming" skills

Melee skill is required for insect farming, as the farmer will need to regularly fight insects to extract the jelly and the meat, or take their damage when trying to tame them. A pawn with high melee skill, the best armor available, and favorable traits such as tough, nimble, or robust geneContent added by the Biotech DLC (or all of them) is needed. Consider getting such a pawn as your starting colonist if you decide to build a mountain base. Animal skill is also needed if you want to tame insects.

Aside from taking damage, the farmer also need to have good wound healing, as they will have to fight insects and take damage everyday. Assign them the best bed, or even a hospital bed, give them fast wound healing geneContent added by the Biotech DLC, the healing enhancerContent added by the Royalty DLC, or use a ghoulContent added by the Anomaly DLC farmer. But you may not want to tend their wounds with medicine, as the constant injuries may quickly drain your medicine supply.

If you plan to grow nutrifungusContent added by the Royalty DLC, note that infestations tend to occur in your dark fungus fields. In that case, you will need to build the insect farm nearby, so try to find a starting colonist that fits both the role of insect farmer and regular farmer to reduce travel time and the risk of insects attacking your other colonists.

Hive room

When reproducing, insect hives never make a new one outside of the current room. After an infestation, you can limit the surviving hives to a small region by building a room around them. If the hive room is in or near your base, it should have at least 2 layers of wall to prevent insects from randomly mining through.

The entrance of the room should have a chokepoint in case the hives spawn multiple insects.

Hive maintenance

If left without insects for too long, the hives will display "Due for maintenance"; not long after that, they will take damage and quickly be destroyed. For that, it's crucial to let the insects maintain their hive before killing them. If an insect spawn and one of the hive is due for maintenance, you have to wait for that insect to maintain the hive, or risk losing that hive. Even if no hive is due for maintenance, it's still better to wait a few hours before killing the newly spawned insect. For the same reason, it's safer to keep at least 2 hives at the same time for redundancy.

When the insects has finished maintaining their hives, you can kill or tame them, and take the insect jelly. If the insects has mined any part of the wall, send a builder in to fill it back. Try to kill the insect as soon as the finish hive maintenance and don't give them time to mine through the wall.

Benefits

Hives spawn insect jelly in stacks of 20 units every day or so. Insects will give insect meat when butchered. While colonists usually dislike eating insects, it is only a -3 moodlet when cooked - a carnivore fine meal is a net +2 mood from simple meals. If the "Insect Meat: Loved"Content added by the Ideology DLC precept is used, colonies can be fed exclusively on insect meat and be ecstatic about it.

Insect meat can also be converted into chemfuel from a biofuel refinery, or sold as meals with no penalty.

Taming

If you destroy all hives of an infestation, then any insects that are downed will become "neutral". They are still hostile, but will not attack unless a colonist gets very close. Megaspiders are an advanced trainability animal that can be tamed without a proper manhunter chance. Tamed insects do not breed, therefor you will only have the amount you tamed. This makes them bad for long term use for defense or farming.