rpd:fire_trap_trap
Table of Contents
Fire Trap
The Fire Trap is a trap in Remixed Dungeon that ignites when triggered, damaging characters and setting the surrounding area on fire.
Description
Fire traps are hidden hazards placed throughout the dungeon levels. When a character steps on a fire trap, it triggers and creates a burst of flame that damages the triggering character and potentially catches surrounding terrain on fire.
Mechanics
- Trigger: Activates when any character (hero or mob) steps on the trap
- Damage: Deals direct fire damage to the triggering character
- Area Effect: May ignite adjacent tiles, creating ongoing fire hazards
- Visibility: Hidden until stepped on, unless detected by certain abilities
- Fire Immunity: Characters immune to fire damage take no damage from fire traps
Stats
- Damage: Creates Fire blob with 2 damage units (as per FireTrap.trigger() method)
- Radius: Affects triggering tile and adjacent tiles
- Fire Duration: On adjacent tiles, fire may persist for several turns
Strategy
- Detection: Use detection abilities or items to locate hidden traps
- Avoidance: Be cautious in suspicious areas or use trap-safe movement
- Immunity: Fire-resistant or immune characters can safely trigger fire traps
- Tactical Use: Can be used to damage enemies or create barriers of fire
- Equipment: Certain items and abilities provide trap detection or immunity
Locations
- Found throughout various dungeon levels
- More common in later levels of the dungeon
- Often placed in strategic locations to hinder movement
- Part of standard level generation patterns
Counters
- Fire resistance or immunity negates damage
- Trap detection abilities can reveal hidden fire traps
- Stone-walking rings can help avoid triggering traps
- Careful movement in unknown areas
According to the game's string resources: “A fire trap ignites when triggered, damaging anything caught in the flames.”
Code References
- Java Implementation: FireTrap.java
- Trap Base Class: Trap.java
- Trap System: Level.java (trap placement logic)
- Configuration: FireTrap.json (trap configuration)
- Russian String Resources: FireTrap_Name, FireTrap_Desc, FireTrap_DescNoText
- Fire Effect Implementation: Fire.java (fire damage mechanics)
- Fire Trigger Method: FireTrap.trigger() (specific implementation that creates fire blob with 2 damage)
- Flame Particle Effects: FlameParticle.java (visual effects)
- Game Scene Integration: GameScene.add() (adds fire blob to scene)
- Trap Trigger Interface: ITrigger.java (interface that FireTrap implements)
Related Content
- Traps - General information about traps
- Fire effects - Information about fire damage mechanics
- Potion of Liquid Flame - Similar fire-based mechanics
- Wand of Firebolt - Fire-based attack wand
- Level Objects - Other objects on dungeon levels
rpd/fire_trap_trap.txt · Last modified: by 127.0.0.1

