Classes:PoisonBolts

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.
Poison bolts
Actor type Ammo Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 115 Class Name PoisonBolts
Conversation ID 185, 179, 183 Puzzle Item ID N/A


Classes: InventoryAmmoPoisonBolts

A quiver of poisoned bolts for the crossbow. The projectile instantly kills any non-boss bleeding actor.

DECORATE definition

ACTOR PoisonBolts : Ammo
{
  +FLOORCLIP
  Inventory.Amount 10
  Inventory.MaxAmount 25
  Ammo.BackpackAmount 2
  Ammo.BackpackMaxAmount 50
  Inventory.Icon "I_PQRL"
  Tag "$TAG_POISONBOLTS" // "Poison Bolts"
  Inventory.PickupMessage "$TXT_POISONBOLTS" // "You picked up the poison bolts."
  States
  {
  Spawn:
    PQRL A -1
    Stop
  }
}