rpd:ankh_item
Differences
This shows you the differences between two versions of the page.
| rpd:ankh_item [2025/12/23 15:36] – Rename ankh.txt to ankh_item.txt to follow naming convention mike | rpd:ankh_item [2025/12/23 15:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Ankh ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ==== Description ==== | ||
| + | This ancient symbol of immortality grants an ability to return to life after death. Upon resurrection, | ||
| + | |||
| + | ==== Special Properties ==== | ||
| + | * Provides one-time resurrection after death | ||
| + | * Upon resurrection, | ||
| + | * Equipped items are NOT preserved directly - instead, one random equipped item is left as bones at the death location | ||
| + | * Single use item | ||
| + | * Stackable (though only one is useful at a time due to loss upon resurrection) | ||
| + | * No upgrade potential | ||
| + | * Always identified | ||
| + | * Costs 50 gold per unit | ||
| + | |||
| + | ==== 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 (as mentioned in Dungeon_Tips_13 string) | ||
| + | |||
| + | ==== Technical Details ==== | ||
| + | When the hero dies and uses an Ankh for resurrection: | ||
| + | * '' | ||
| + | * The game state is completely removed, including the hero's inventory | ||
| + | * '' | ||
| + | * 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 | ||
| + | |||
| + | ==== Related ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | ==== Source Code References ==== | ||
| + | * Core implementation: | ||
| + | * Resurrection dialog: [[https:// | ||
| + | * Bones preservation: | ||
| + | * Hero death handling: [[https:// | ||
| + | * Game over mechanics: [[https:// | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * Ankh name: [[https:// | ||
| + | * Resurrection dialog messages: [[https:// | ||
| + | |||
| + | {{tag> rpd items resurrection}} | ||
rpd/ankh_item.txt · Last modified: by 127.0.0.1
