Classes:BrokenPowerCoupling

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.
Broken power coupling
Actor type Quest item Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 226 Class Name BrokenPowerCoupling
Conversation ID 289 Puzzle Item ID N/A


Classes: InventoryBrokenPowerCoupling
Item to give to Governor Mourel when choosing a 'messy' chore for him. You get it either by destroying Front's Power Coupling (wrong way) or by finding an old already broken one (right way).

DECORATE definition

ACTOR BrokenPowerCoupling : Inventory
{
  Health 40
  +DROPPED
  +FLOORCLIP
  +INVENTORY.INVBAR
  Radius 16
  Height 16
  Tag "$TAG_BROKENCOUPLING" // "Broken Power Coupling"
  Inventory.MaxAmount 1
  Inventory.Icon "I_COUP"
  Inventory.PickupMessage "$TXT_BROKENCOUPLING" // "You picked up the broken power coupling."
  Inventory.GiveQuest 8
  States
  {
  Spawn:
    COUP C -1
    Stop
  }
}