Classes:PuzzGemBig

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.
Heart of D'Sparil
Actor type Puzzle item Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 9003 Class Name PuzzGemBig
Spawn ID 77 Identifier T_PUZZGEMBIG
Conversation ID N/A Puzzle Item ID 1


Classes: InventoryPuzzleItemPuzzGemBig
Big red diamond shaped gem used in MAP06: Bright Crucible. It is required for finishing a puzzle where you put it on a pedestal, needed for finishing the level.
Note the name "Heart of D'Sparil", which is a reference to the first of the Serpent Riders, who appears in Heretic.

DECORATE definition

ACTOR PuzzGemBig : PuzzleItem
{
  PuzzleItem.Number 1
  Inventory.Icon ARTIBGEM
  Inventory.PickupMessage "$TXT_ARTIPUZZGEMBIG" // "HEART OF D'SPARIL"
  Tag "$TAG_ARTIPUZZGEMBIG"
  States
  {
  Spawn:
    ABGM A -1
    Stop
  }
}