Classes:ArtiSuperHealth

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do NOT need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it will cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
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
  }
}