====== Trap ====== {{ rpd:images:trap_item.png|Trap }} ==== Description ==== **Traps** are hidden mechanisms placed throughout dungeon levels that activate when stepped on or triggered by other means. They can cause various harmful effects to the hero. ==== Common Traps ==== * [[rpd:poison_trap_level_object|Poison Trap]] - Releases poison gas * [[rpd:fire_trap_level_object|Fire Trap]] - Creates a burst of fire * [[rpd:alarm_trap_level_object|Alarm Trap]] - Alerts all enemies on the level * [[rpd:dart_trap_level_object|Dart Trap]] - Shoots a poison dart * [[rpd:teleportation_trap_level_object|Teleportation Trap]] - Teleports the hero randomly * [[rpd:gravel_trap_level_object|Gravel Trap]] - Reveals invisible creatures * [[rpd:summoning_trap_level_object|Summoning Trap]] - Summons monsters ==== Trap Detection and Avoidance ==== * [[rpd:ring_of_detection_item|Ring of Detection]] makes traps visible * [[rpd:hero|Hero]] can detect traps at higher levels * [[rpd:searching|Searching]] increases detection chance * [[rpd:armor_of_assault|Armor of Assault]] reduces trap damage while worn ==== Code References ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/levels/objects/Trap.java|Trap.java]] - Base trap class * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2095-L2138|Trap strings]] - English names and descriptions * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L2036-L2079|Trap strings (Russian)]] - Russian localization ==== Related ==== * [[rpd:traps|Traps]] * [[rpd:level_objects|Level Objects]] * [[rpd:mechanics|Mechanics]] * [[rpd:armor_of_assault|Armor of Assault]] {{tag> rpd traps mechanics hazards}}