Table of Contents

Ankh Item - Code References

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<string name="Ankh_Name">Ankh</string>
<string name="Ankh_Info">This ancient symbol of immortality grants an ability to return to life after death. Upon resurrection all non-equipped items are lost.</string>
<string name="Dungeon_Tips_13">There is no sense in possessing more than one Ankh at the same time, because you will lose them upon resurrecting.</string>
<string name="WndRanking_StaAnkhs">Ankhs Used</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Entity Kind

Resurrection Mechanics

1. Checks if character has Ankh in belongings

  2. Removes Ankh from belongings
  3. For non-Hero characters: calls chr.resurrect() immediately
  4. For Hero: shows WndResurrect window to give player choice
* **Consumption:** Ankh is consumed on successful resurrection
* **Side Effect:** All non-equipped items are lost upon resurrection