Classes:CrystalVial

From ZDoom Wiki

Jump to: navigation, search
Crystal vial
Actor type Health Game
DoomEd Number 81 Class Name CrystalVial
Spawn ID 23 Identifier T_ITEMHEALTHPOTION

Classes: InventoryHealthCrystalVial

The crystal vial is a small glass tube containing a blue liquid that heals ten points of health on pickup. Contrarily to most items in Heretic and Hexen, the vial is not an artifact; it cannot be picked up and used later.


DECORATE definition

actor CrystalVial : Health 81
{
  Game Raven
  SpawnID 23
  +FLOATBOB
  Inventory.Amount 10
  Inventory.PickupMessage "$TXT_ITEMHEALTH" // "CRYSTAL VIAL"
  States
  {
  Spawn:
    PTN1 ABC 3
    Loop
  }
}
Personal tools