Classes:PuzzSkull

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.
Yorick's skull
Actor type Puzzle item Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 9002 Class Name PuzzSkull
Spawn ID 76 Identifier T_PUZZSKULL
Conversation ID N/A Puzzle Item ID 0


Classes: InventoryPuzzleItemPuzzSkull

Yorick's skull. After obtaining this artifact, the player must find the headless statue onto which it fits.

DECORATE definition

ACTOR PuzzSkull : PuzzleItem
{
  PuzzleItem.Number 0
  Inventory.Icon ARTISKLL
  Inventory.PickupMessage "$TXT_ARTIPUZZSKULL" // "YORICK'S SKULL"
  Tag "$TAG_ARTIPUZZSKULL"
  States
  {
  Spawn:
    ASKU A -1
    Stop
  }
}