User Tools

Site Tools


en:rpd:ankh_item

Ankh

Ankh

Description

This ancient symbol of immortality grants an ability to return to life after death. Upon resurrection, all items in the hero's inventory are lost, but one random equipped item is preserved as bones that can be retrieved from the location of death.

Special Properties

Notes

The Ankh is a powerful but risky item - it can save you from death, but at the cost of losing all your inventory. Only one random equipped item will be recoverable as bones from the place where you died.

Strategy

  • Best used as a last resort when facing certain death
  • Try to keep only essential items in your inventory when entering dangerous areas
  • Since only one equipped item is preserved as bones (not all equipped items), consider which item is most valuable to preserve
  • Don't carry multiple Ankhs since you'll lose them upon resurrection

Technical Details

When the hero dies and uses an Ankh for resurrection:

  • Dungeon.gameOver() is called, which deletes the current game save via Dungeon.deleteGame(false) in WndResurrect.java#L56
  • The game state is completely removed, including the hero's inventory
  • Bones.leave(hero) preserves one random equipped item (or gold if no useful equipped item exists)
  • The hero is reborn with full HP but in a fresh game state
  • All inventory items (except the one preserved as bones) are permanently lost

Source Code References

String Resources

en/rpd/ankh_item.txt · Last modified: by 127.0.0.1