Difference between revisions of "Template:Trap Note/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (Harakoni moved page Template:IED Note/doc to Template:Trap Note/doc: Generic yo use on more pages.)
(The name check is quick and dirty but hopefully it works)
 
Line 1: Line 1:
Just standardizes the spiel about the shared triggering behavior of IEDs. It can be expanded to include any other shared features, not just trigger chances, but this is not currently the case.  
+
Just standardizes the spiel about the shared triggering behavior of traps, including a special section that is displayed on pages with IED in their name for explosion when shot.
 +
 
 +
It can be expanded to include any other shared features, not just trigger chances, but this is not currently the case.  
  
 
No parameters are currently used or supported.
 
No parameters are currently used or supported.
  
 
== Examples ==  
 
== Examples ==  
{{IED Note}}
+
{{Trap Note}}
  
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Content templates]]</includeonly>
 
<includeonly>[[Category:Content templates]]</includeonly>

Latest revision as of 13:11, 9 April 2024

Just standardizes the spiel about the shared triggering behavior of traps, including a special section that is displayed on pages with IED in their name for explosion when shot.

It can be expanded to include any other shared features, not just trigger chances, but this is not currently the case.

No parameters are currently used or supported.

Examples[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 will never trigger a trap.

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.