en:rpd:ankh_item
Differences
This shows you the differences between two versions of the page.
| en:rpd:ankh_item [2026/01/01 19:45] – namespace move Mike | en:rpd:ankh_item [2026/01/01 19:46] (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 (implemented in [[https:// | ||
| + | * Upon resurrection, | ||
| + | * Equipped items are NOT preserved directly - instead, one random equipped item is left as bones at the death location (implemented in [[https:// | ||
| + | * Single use item (removed after use in [[https:// | ||
| + | * Stackable (though only one is useful at a time due to loss upon resurrection) (defined in [[https:// | ||
| + | * No upgrade potential (defined in [[https:// | ||
| + | * Always identified (defined in [[https:// | ||
| + | * Costs 50 gold per unit (defined in [[https:// | ||
| + | |||
| + | ==== 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: | ||
| + | * '' | ||
| + | * 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 ==== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | ==== Source Code References ==== | ||
| + | * Core implementation: | ||
| + | * Resurrection dialog: [[https:// | ||
| + | * Bones preservation: | ||
| + | * Hero death handling: [[https:// | ||
| + | * Item registration: | ||
| + | * Statistics tracking: [[https:// | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * Ankh name: [[https:// | ||
| + | * Resurrection dialog messages: [[https:// | ||
| + | |||
| + | {{tag> rpd items resurrection}} | ||
