Roof

From RimWorld Wiki
Jump to navigation Jump to search

A roof is an area of cover from the elements. They can be natural or artificial, with only minor differences between them.

Occurrence

A single wall or column will support a roof in a roughly circular area 6 tiles around it.

Constructed roofs are created when pawn is ordered to; they require no resources to create or destroy. A build roof area will designate a pawn to build a roof. Likewise, a remove roof area does the opposite.

Natural roofs (e.g. rock roof (thin) and overhead mountain) cannot be created by the player, and only appear in natural rock formations. Thin rock roof can be removed as usual, but overhead mountain cannot be destroyed by any means short of development mode.

A roof can extend up to 6 tiles from a wall, column, rock wall, or any other fully impassible structure. In addition, a roof must be adjacent to either a roof-bearing structure, or another roof. A building with interior dimensions 12x(#) will always be able to be fully roofed. Areas built larger than this will remain partially unroofed without the use of additional support.

If a roof's support is removed after it was built, then it will cause a roof collapse.

Summary

All types of roof do the following, when placed:

  • Prevent sunlight from reaching the area, lowering the light level of the tile.
  • Prevent rain from giving colonists the −3 Soaking Wet moodlet or accelerating item deterioration.
  • Prevent snow from accumulating.
  • Prevent lightning from striking an area.
  • Prevent the effects of weather from impacting ranged combat, assuming both the shooter and the target are under a roof. It does not matter if the area between shooter and target is roofed.
  • Prevent item deterioration completely, if the roofed area is also in a room.
  • A room with enough roof will turn from "Unroofed" to "Roofed". This allows temperature changes to occur. If a room is considered "Unroofed", then temperature will instantly equalize with the Outdoors temperature. Having a higher percentage of a room roofed will increase insulation.

Certain buildings like mortars and ground-penetrating scanners do not function under a roof.

Types

Overhead mountain

Overhead mountain has special properties compared to regular roof:

  • Overhead mountain does not allow transport pods to land or any mortar shells to hit. Pods will land somewhere else; mortar shells are erased.
  • Overhead mountain has natural temperature-regulating effects.
  • Overhead mountain allows infestations to spawn (see Infestation#Natural Infestations for details).
  • Overhead mountain is considered more indoors for an undergrounder's Indoors need.
  • Overhead mountain cannot be removed.
  • Having a roof collapse will create collapsed rocks, instantly killing or destroying anything underneath. The roof remains the same.

Constructed roof

Rock roof (thin)

Functionally the same as constructed roof (?)

Roof collapse

A roof will collapse if the last supporting structure within 6 tiles is removed, whether by mining, deconstruction, or destruction. Removing the last tile of roof supporting another section of roof by deconstruction will delete the now-unsupported section but will not cause a collapse nor cause any damage. The player receives an event notification when a roof tile collapses and the game is paused.

Roof collapses cause damage to to everything and everyone underneath them, dealing injuries to pawns and damage to items. All roof collapses deal Crush damage. Thick mountain roof deals 99,999 damage with 999% AP, obliterating anything underneath it. Collapsed overhead mountain will leave collapsed rocks. Pawns and objects caught under collapsed rocks will be utterly destroyed; their bodies, gear, and inventory are unrecoverable. Destroyed items leave no scrap parts. Thick mountain roof is not removed by collapse - if the collapsed rock is mined out and a collapse is triggered again, more collapsed rock will be created indefinitely.

Normal collapsed roof remove the roof tiles in question and leaves filth in the form of building and rock rubble on the ground. Constructed and thin mountain roof deal between 15 and 30 damage with 0% AP, targeted at the "outside" and "top" of a pawn i.e. the neck of a human pawn and all its external children parts including the head.

Analysis

The player can prevent roof collapse by preemptively removing roof tiles at risk. Creating a Remove roof area on the necessary tiles will prompt a colonist to safely remove thin roof.

Roof collapse can also be manipulated into a weapon to damage entire rooms of enemies at once. Use frag grenades or any ranged weapon to destroy a pillar that was supporting roof over a killbox. Alternatively, IED traps can be placed behind cheap, low HP walls or columns supporting roofs and enemies shot at when they come near it. They will take cover behind the structure, triggering the IED, detonating it, and dropping the roof on them for two sources of damage. Pathing hacks that exploit pawn preferences to avoid walking over slower terrain can also be used, such as placing IED roof drop traps on bridges over water.

The damage from thin roof drops is not enormous, but targeting the head and neck make it deadlier that it would otherwise be. Assuming the random damage range is linear between the two points,[Verify] approximately 33.3̅3% of roof collapses will do enough damage to outright destroy the head or neck and instantly kill the pawn. The 0% AP of the thin roof collapses means that helmets, and to a lesser extent, armor pieces that protect the neck, are very effective at protecting pawns however. This means that heavily armored pawns have little to fear from thin roof collapses except when extremely unlucky, while wearing legendary cataphract armor Content added by the Royalty DLC and cataphract helmet Content added by the Royalty DLC will make you completely immune to them. This also makes Tribal raiders much more susceptible to roof drop traps than the usually better armored outlander and pirate factions.

Nothing will save a pawn from a collapsed overhead mountain and overhead mountain drops are devastating, though difficult to set up and wasteful in terms of loot.

Average thin roof damage by Armor (%)

Roof deconstruction

Drawing a "Remove roof area" will cause colonists to remove a constructed roof. Constructors will automatically go and safely remove the roofs without risk of collapse. Overhead Mountains cannot be removed this way, only by triggering a collapse.

Because of the collapse protection mentioned above when removing the roof, it can be expeditious to direct pawns to only remove the outside ring of roofing to allow the inner roof area to become unsupported and vanish safely.

Gallery