Difference between revisions of "Template:Trap Note"

From RimWorld Wiki
Jump to navigation Jump to search
m (Harakoni moved page Template:IED Note to Template:Trap Note: Generic yo use on more pages.)
Line 9: Line 9:
 
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.
 
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.
+
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.{{#if: {{#pos:{{PAGENAME}}|IED}}|<br>IEDs can also be triggered when hit by a projectile dealing the [[Damage types#Bullet|Bullet]], [[Damage types#Arrow|Arrow]], or [[Damage types#ArrowHighVelocity|ArrowHighVelocity]] damage type, or when damaged below 20% of their maximum HP.}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{#if: {{#pos:{{PAGENAME}}|IED}}|<br>IEDs can also be triggered when hit by a projectile dealing the [[Damage types#Bullet|Bullet]], [[Damage types#Arrow|Arrow]], or [[Damage types#ArrowHighVelocity|ArrowHighVelocity]] damage type, or when damaged below 20% of their maximum HP.}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Revision as of 13:13, 9 April 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

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

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.