Difference between revisions of "Spike trap"

From RimWorld Wiki
Jump to navigation Jump to search
 
(39 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{rewrite|reason=Format standardization and expansion}}{{infobox main|security|
+
{{Infobox main|security
 
| name = Spike trap
 
| name = Spike trap
 
| image = Trap spike armed.png
 
| image = Trap spike armed.png
 
| imagesize = 128px
 
| imagesize = 128px
 
| description = Five spikes under tension, connected to a touch-activated trigger. When the victim disturbs the trigger, the spikes spring forth and strike the victim. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.
 
| description = Five spikes under tension, connected to a touch-activated trigger. When the victim disturbs the trigger, the spikes spring forth and strike the victim. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.
| type = Security
+
| type = Building
| placeable = Yes
+
| type2 = Security
 +
| placeable = true
 +
| minifiable = true
 
| size = 1 ˣ 1
 
| size = 1 ˣ 1
| stuff tags = Metallic, Stony
+
| mass base = 2.5
| work to make = 54
+
| flammability = 1
 +
| hp = 40
 +
| sell price multiplier = 0.7
 +
| beauty = -18
 +
| cleanliness = -5
 +
| terrain affordance = light
 +
| thingCategories = BuildingsSecurity
 +
| skill 1 = Construction
 +
| skill 1 level = 3
 +
| work to make = 3200
 +
| stuff tags = Metallic, Woody, Stony
 
| resource 1 = Stuff
 
| resource 1 = Stuff
 
| resource 1 amount = 45
 
| resource 1 amount = 45
| skill 1 = Construction
 
| skill 1 level = 3
 
 
}}
 
}}
 +
A '''spike trap''' is a single-use trap that deals heavy, but material dependent damage to the pawn that triggered it.
 +
 +
== Acquisition ==
 +
{{Acquisition}} Spike traps cannot be placed or constructed directly next to each other nor next to any other kind of [[trap]].
 +
 +
== Summary ==
 +
{{Trap Note}}
 +
 +
Once a spike trap is triggered, it is destroyed. The "auto rearm" option, enabled by default, produces a blueprint to replace the trap.
  
{{for|tips on how to use spike traps in general or in killboxes|Defense structures#Spike traps|Defense structures#Entryways}}
+
{{Cleanliness Note}}
A '''spike trap''' is a single-use trap that deals heavy damage when triggered. The damage can be fatal to humans or large animals if it is made of good materials. The base damage varies according to the material it was built from. The damage type is sharp melee, which strikes mainly on the head and torso and usually causes bleeding. The spike trap should be built out of stone or metal, as wood has a low damage output. Although stone spike traps take large amounts of time to make, they can kill a [[raider]] in one trap. See [[Defense structures#Spike traps|Defense structures (Spike Traps)]] and [[Defense structures#Entryways|Defense structures (Entryways)]] for more information.
 
  
===Placement===
+
=== Damage ===
Deadfall traps cannot be placed directly next to each other or next to any other kind of [[trap]].
+
When triggered, the spike trap makes five attacks against the pawn that triggered it. Each attack does [[Damage Type#Stab|Stab]] damage. This strikes mainly on the head and torso and usually causes bleeding. The amount of damage dealt by each attack is determined by the following equation:
 +
{| class="wikitable"
 +
| Damage Per Attack = Trap Melee Damage * Material Sharp Damage Multiplier * rand(0.8, 1.2)/5
 +
|}
 +
Where:
 +
* Damage per Attack is the damage each attack does to the target. A spike trap performs 5 of these attacks when triggered.
 +
* Trap Melee Damage is 100 for spike traps
 +
* Material Sharp Damage Multiplier is a material dependent factor.
 +
* rand(0.8,1.2) is a random factor between 0.8 and 1.2. This random factor is rolled once only and then applied to all attacks, it is not rolled for each attack.
  
===Triggering and rearming===
+
The armor penetration of the attack is determined by the following equation:
The trigger chance is 100% for enemies.
+
{| class="wikitable"
 +
| AP = Damage Per Attack * 0.015
 +
|}
 +
* AP is the armor penetration of each attack.
  
Colonists, friends, tame animals, and wild animals not affected by manhunter are aware of the location of traps and will avoid them if possible. If they do walk through one, they have a 0.4% (one in 250) chance of triggering it. This decreases to 0.04% (one in 2,500) with the [[Traits#Nimble|nimble trait]] (10% of normal). Manhunter animals lose their ability to sense and avoid traps, as well as [[Thrumbo]]s, that don't seem to see them and go into trap-mazes.
+
Note that both the damage and AP of the attack in the info screen are misleading. The damage listed is the average sum of the damage inflicted, the AP is incorrectly calculated as if this damage is all dealt at once.
  
When a colonist, prisoner, or tame animal triggers a trap, a yellow envelope alert appears to notify the player.
+
== Analysis ==
 +
{{For|tips on how to use spike traps in general or in killboxes|Defense structures#Spike traps|Defense structures#Entryways}}
 +
Spike traps are invaluable in the earlygame, as one of the few defense strutures available. A hallway of spike traps can virtually end any frontal [[raid]], short of [[tough]] or [[nimble]] pawns, without your colonists ever seeing combat. A single trap can be fatal to humans or large animals. Multiple traps can fall most creatures, short of [[thrumbo]]s and heavy [[mechanoid]]s. But as raids get bigger, it starts to get impractical to replace the traps.
  
Once a spike trap is triggered, it is destroyed. The "auto rearm" option, enabled by default, produces a blueprint to replace the trap.
+
Place traps where you expect raiders to go. Raiders will take the shortest, unobstructed route to a target. Unless they are sappers or breachers, raiders will try and break walls last. Common locations are in the corners of your base, where enemies will likely make turns, as well as narrow areas that receive frequent traffic. If it doesn't seem obvious to you at first, one way to find out is by studying raids that do come.
  
They take {{Required Resources}} and {{Ticks|{{P|Work To Make}}}} to build (time to build varies depending on building material, see chart below).
+
=== Material choice ===
 +
Wood spike traps can be quickly created and placed in large quantities. Stone spike traps are cheap to make, and can kill a humanoid [[raider]] in one trap. But given the significantly increased crafting time of both the traps themselves and the stone blocks required to build them, it is often more efficient to simply make several wooden traps. Stone traps are helpful if you're limited by space or type of resource available, and can be a good activity when one has the Work Frenzy [[Mental inspiration]]. Metal traps are even stronger and don't take as much time to make, but are expensive in terms of resources.
  
==Stats==
+
[[File:Trap_choke_14.jpg|400px|center|thumb|Example of a trap tunnel. Raiders will fall into the traps. Colonists can open [[door]]s, and prefer to be slowed by the [[fence]]s rather than walk through traps. If this is the only open entrance to a base, raiders will be lured here.]]
*Note: Actual armor penetration is much lower since damage is applied multiple times rather than in one single instance.
 
[[Rest Effectiveness Base::1| ]] [[Flammability Base::1| ]] [[Comfort Base::0.75| ]] [[Immunity Gain Speed Factor::1.07| ]] [[Work To Make Base::800| ]]
 
<div><li style="display: inline-table;">
 
  
{| {{STDT|sortable c_01 align-center}}
+
{{Building Stats Table}}
![[Material]]
 
!Cost
 
!Damage
 
!Armor Penetration
 
!Flammability
 
!Work to build
 
![[Beauty]]
 
|-
 
![[Silver]]
 
||{{icon small|silver}} 450          ||85 ||128% ||40% ||54 ||-12
 
|-
 
![[Gold]]
 
||{{icon small|gold}} 450            ||75 ||112% ||40% ||75 ||2
 
|-
 
![[Steel]]
 
||{{icon small|Steel}} 45            ||100 ||150% ||40% ||54 ||-18
 
|-
 
![[Plasteel]]
 
||{{icon small|plasteel}} 45        ||110 ||165% ||0% ||118 ||-18
 
|-
 
![[Wood]]
 
||{{icon small|wood}} 45            ||40 ||60% ||100% ||38 ||-18
 
|-
 
![[Uranium]]
 
||{{icon small|uranium}} 45          ||110 ||165% ||0% ||102 ||-18
 
|-
 
![[Jade]]
 
||{{icon small|jade}} 45            ||100 ||150% ||0% ||267 ||-8
 
|-
 
![[Sandstone Blocks|Sandstone]]
 
||{{icon small|sandstone blocks}} 45 ||50 ||75% ||0% ||269 ||-18
 
|-
 
![[Granite Blocks|Granite]]
 
||{{icon small|granite blocks}} 45  ||65 ||98% ||0% ||323 ||-18
 
|-
 
![[Limestone Blocks|Limestone]]
 
||{{icon small|limestone blocks}} 45 ||60 ||90% ||0% ||323 ||-18
 
|-
 
![[Slate Blocks|Slate]]
 
||{{icon small|slate blocks}} 45    ||60 ||90% ||0% ||323 ||-18
 
|-
 
![[Marble Blocks|Marble]]
 
||{{icon small|marble blocks}} 45    ||60 ||90% ||0% ||296 ||-17
 
|}
 
</li><div>
 
  
==Version history==
+
== Version history ==
 
* [[Version/0.11.877|0.11.877]] - Added as '''Deadfall Trap'''.
 
* [[Version/0.11.877|0.11.877]] - Added as '''Deadfall Trap'''.
 
* [[Version/0.12.910|0.12.910]] - Rebalanced, cannot be rearmed.
 
* [[Version/0.12.910|0.12.910]] - Rebalanced, cannot be rearmed.
 +
* [[Version/0.19.2009|0.19.2009]] - Renamed from '''Deadfall trap''' to '''Spike trap'''. Damage is increased, material cost and time to build are reduced, and it now has armor penetration (depending on what it’s made of) and a 100% chance to spring on targets and but now require rebuilding each time, rather than being re-armed at no material cost.
 +
 
<gallery>
 
<gallery>
 
DeadfallTrap.png|Spike Trap Old Texture (Deadfall Trap)
 
DeadfallTrap.png|Spike Trap Old Texture (Deadfall Trap)
 
</gallery>
 
</gallery>
  
==Image gallery==
+
== Image gallery ==
 
<gallery mode="packed" heights="200px">
 
<gallery mode="packed" heights="200px">
 
Spike trap accidental step.jpg|Trap accidentally triggered.
 
Spike trap accidental step.jpg|Trap accidentally triggered.
Line 97: Line 83:
 
</gallery>
 
</gallery>
  
{{nav|security}}
+
{{Nav|security}}
 
+
[[Category:Security]] [[Category:Trap]]
[[Category:Security]]
 

Latest revision as of 12:37, 27 September 2024

Spike trap

Spike trap

Five spikes under tension, connected to a touch-activated trigger. When the victim disturbs the trigger, the spikes spring forth and strike the victim. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.

Base Stats

Type
BuildingSecurity
Mass
2.5 kg
Beauty
-18
HP
40
Flammability
100%

Building

Size
1 × 1
Minifiable
True
Placeable
True
Terrain Affordance
Light
Cleanliness
-5

Creation

Skill Required
Construction 3
Work To Make
3,200 ticks (53.33 secs)
Stuff Tags
Metallic, Woody, Stony
Resources to make
Stuff 45
Deconstruct yield
Stuff 22 - 23
Destroy yield
Stuff 11 - 12
Technical
thingCategories
BuildingsSecurity


A spike trap is a single-use trap that deals heavy, but material dependent damage to the pawn that triggered it.

Acquisition[edit]

Spike traps can be constructed, each requiring Stuff 45 Stuff (Metallic/Woody/Stony, 450 for SMVs), 3,200 ticks (53.33 secs) of work modified by the construction speed of the builder and the work to build factor and offset of the material, and a construction skill of 3. Spike traps cannot be placed or constructed directly next to each other nor next to any other kind of trap.

Summary[edit]

Traps are single use security buildings that may be triggered when a pawn of any kind walks over it.

  • The base trigger chance is 100% for enemies, including mechanoids and animals affected by the manhunter mental state. Note that despite the name, animals currently hunting a human pawn for food are not "manhunters" and are not considered enemies.
  • Non-manhunting wild animals have a 25% chance to trigger the trap.
  • Colonists and tame animals have 0.4% (one in 250) chance to trigger the trap.[Friendly Mechanoids?]
  • Friendly visitors and their animals, as well as revenantsContent added by the Anomaly DLC and sightstealersContent added by the Anomaly DLC will never trigger a trap.[Invisibility in general?]

However, colonists and non-manhunting animals are aware of the location of traps, and will avoid pathing over them if reasonably practical.[Path Cost?] One notable exception is roped animals being dragged by a handler - the rope limits their movement, overriding their usual behavior.

Prisoners are considered to be their original faction for the purposes of traps. Enemy who you have taken prisoner will retain their 100% trap trigger rate and will ignore traps when pathfinding. Colonists that you have taken prisoner retain their 0.4% trap trigger rate, even during a prison break, and will avoid traps whenever possible.

In all instances, the nimble trait multiplies the trigger chance for that pawn by 10%, that is, a 10% chance for enemies and 0.04% chance for friendly pawns.

Once a spike trap is triggered, it is destroyed. The "auto rearm" option, enabled by default, produces a blueprint to replace the trap.

Each spike trap is considered dirty with a Cleanliness of −5. This reduces the average cleanliness of the room it occupies.

Damage[edit]

When triggered, the spike trap makes five attacks against the pawn that triggered it. Each attack does Stab damage. This strikes mainly on the head and torso and usually causes bleeding. The amount of damage dealt by each attack is determined by the following equation:

Damage Per Attack = Trap Melee Damage * Material Sharp Damage Multiplier * rand(0.8, 1.2)/5

Where:

  • Damage per Attack is the damage each attack does to the target. A spike trap performs 5 of these attacks when triggered.
  • Trap Melee Damage is 100 for spike traps
  • Material Sharp Damage Multiplier is a material dependent factor.
  • rand(0.8,1.2) is a random factor between 0.8 and 1.2. This random factor is rolled once only and then applied to all attacks, it is not rolled for each attack.

The armor penetration of the attack is determined by the following equation:

AP = Damage Per Attack * 0.015
  • AP is the armor penetration of each attack.

Note that both the damage and AP of the attack in the info screen are misleading. The damage listed is the average sum of the damage inflicted, the AP is incorrectly calculated as if this damage is all dealt at once.

Analysis[edit]

Spike traps are invaluable in the earlygame, as one of the few defense strutures available. A hallway of spike traps can virtually end any frontal raid, short of tough or nimble pawns, without your colonists ever seeing combat. A single trap can be fatal to humans or large animals. Multiple traps can fall most creatures, short of thrumbos and heavy mechanoids. But as raids get bigger, it starts to get impractical to replace the traps.

Place traps where you expect raiders to go. Raiders will take the shortest, unobstructed route to a target. Unless they are sappers or breachers, raiders will try and break walls last. Common locations are in the corners of your base, where enemies will likely make turns, as well as narrow areas that receive frequent traffic. If it doesn't seem obvious to you at first, one way to find out is by studying raids that do come.

Material choice[edit]

Wood spike traps can be quickly created and placed in large quantities. Stone spike traps are cheap to make, and can kill a humanoid raider in one trap. But given the significantly increased crafting time of both the traps themselves and the stone blocks required to build them, it is often more efficient to simply make several wooden traps. Stone traps are helpful if you're limited by space or type of resource available, and can be a good activity when one has the Work Frenzy Mental inspiration. Metal traps are even stronger and don't take as much time to make, but are expensive in terms of resources.

Example of a trap tunnel. Raiders will fall into the traps. Colonists can open doors, and prefer to be slowed by the fences rather than walk through traps. If this is the only open entrance to a base, raiders will be lured here.

Stats table

  • Spike trap Spike trap Beauty Work to Build HP Flamma­bility Total
    Damage
    Attack
    Damage
    Armor
    Penetration
    Market
    Value
    Material
    Bioferrite Bioferrite Content added by the Anomaly DLC -18 008,000 ticks (2.22 mins) 80 75% 130 26 39% 63 Silver
    Gold Gold 2 002,880 ticks (48 secs) 24 40% 75 15 22.5% 4,510 Silver
    Granite blocks Granite blocks -18 019,340 ticks (5.37 mins) 68 0% 65 13 19.5% 110 Silver
    Limestone blocks Limestone blocks -18 019,340 ticks (5.37 mins) 62 0% 60 12 18% 110 Silver
    Marble blocks Marble blocks -17 017,740 ticks (4.93 mins) 48 0% 60 12 18% 104 Silver
    Plasteel Plasteel -18 007,040 ticks (1.96 mins) 112 0% 110 22 33% 430 Silver
    Sandstone blocks Sandstone blocks -18 016,140 ticks (4.48 mins) 56 0% 50 10 15% 99 Silver
    Silver Silver -12 003,200 ticks (53.33 secs) 28 40% 85 17 25.5% 460 Silver
    Slate blocks Slate blocks -18 019,340 ticks (5.37 mins) 52 0% 60 12 18% 110 Silver
    Steel Steel -18 003,200 ticks (53.33 secs) 40 40% 100 20 30% 97 Silver
    Jade Jade -8 016,000 ticks (4.44 mins) 20 0% 100 20 30% 285 Silver
    Uranium Uranium -18 006,080 ticks (1.69 mins) 100 0% 110 22 33% 290 Silver
    Wood Wood -18 002,240 ticks (37.33 secs) 26 100% 40 8 12% 62 Silver
  • Version history[edit]

    • 0.11.877 - Added as Deadfall Trap.
    • 0.12.910 - Rebalanced, cannot be rearmed.
    • 0.19.2009 - Renamed from Deadfall trap to Spike trap. Damage is increased, material cost and time to build are reduced, and it now has armor penetration (depending on what it’s made of) and a 100% chance to spring on targets and but now require rebuilding each time, rather than being re-armed at no material cost.

    Image gallery[edit]