Classes:PhosphorusGrenadeRounds

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.
Phosphorus grenade rounds
Actor type Ammo Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 153 Class Name PhosphorusGrenadeRounds
Conversation ID 178, 171, 175 Puzzle Item ID N/A


Classes: InventoryAmmoPhosphorusGrenadeRounds

A bundle of four phosphorous grenades for Strife's grenade launcher. The second-most dangerous weapon of Strife's arsenal, right after the Sigil, it creates fires that continuously damage anything that comes near.

DECORATE definition

ACTOR PhosphorusGrenadeRounds : Ammo
{
  +FLOORCLIP
  Inventory.Amount 4
  Inventory.MaxAmount 16
  Ammo.BackpackAmount 4
  Ammo.BackpackMaxAmount 32
  Inventory.Icon "I_GRN2"
  Tag "$TAG_PHGRENADES" // "Phoshorus-Grenade Rounds"
  Inventory.PickupMessage "$TXT_PHGRENADES" // "You picked up the Phosphorus-Grenade Rounds."
  States
  {
  Spawn:
    GRN2 A -1
    Stop
  }
}