/* Defines a powerup that will save the player's life once, teleporting them
 * back to the spawn point and giving them 50 health.
 *
 * DEPENDS ON:
 * LOADACS (for scripts)
 * SOL0 sprite from Romero's dump
 */

actor SoulRune : CustomInventory 13402
{
    Inventory.PickupMessage "Soul rune"
    Inventory.PickupSound "misc/p_pkup"
    +COUNTITEM
    +FLOATBOB
    +NOGRAVITY
    states
    {
    Spawn:
        SOU0 A -1
        stop
    Pickup:
        SOU0 A 0 ACS_NamedExecuteAlways("anachrony_soul_rune")
        stop
    }
}
