Classes:ArtiSuperHealth

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Mystic Urn
Actor type Artifact Game MiniRavenLogoIcon.png (Raven)
DoomEd Number 32 Class Name ArtiSuperHealth
Spawn ID 25 Identifier T_ITEMHEALTHFULL


Classes: InventoryHealthPickupArtiSuperHealth

The Mystic Urn, a gray urn with a gold ankh symbol, brings a wounded player back to 100% health when used. This item is found in both Heretic and Hexen.

DECORATE definition

ACTOR ArtiSuperHealth : HealthPickup
{
  Health 100
  +COUNTITEM
  +FLOATBOB
  +INVENTORY.PICKUPFLASH
  +INVENTORY.FANCYPICKUPSOUND
  Inventory.Icon ARTISPHL
  Inventory.PickupSound "misc/p_pkup"
  Inventory.PickupMessage "$TXT_ARTISUPERHEALTH" // "MYSTIC URN"
  Tag "$TAG_ARTISUPERHEALTH"
  HealthPickup.AutoUse 2
  States
  {
  Spawn:
    SPHL A 350
    Loop
  }
}