Classes:SlimeRepellent: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
| game = Chex
| game = Chex
}}[[Classes|Classes:]]{{Class|Actor}}&rarr;{{Class|Inventory}}&rarr;{{Class|Armor}}&rarr;{{Class|BasicArmorBonus}}&rarr;{{Class|ArmorBonus}}&rarr;<u>SlimeRepellent</u><br />
}}[[Classes|Classes:]]{{Class|Actor}}&rarr;{{Class|Inventory}}&rarr;{{Class|Armor}}&rarr;{{Class|BasicArmorBonus}}&rarr;{{Class|ArmorBonus}}&rarr;<u>SlimeRepellent</u><br />
A small vial contaning slime repellent. Equivalent of Doom's Armor Bonus.
A small vial containing slime repellent.
==== [[DECORATE]] definition ====
==== [[DECORATE]] definition ====
Actor <u>SlimeRepellent</u> : {{Class|ArmorBonus}} 2015
Actor <u>SlimeRepellent</u> : {{Class|ArmorBonus}} 2015

Revision as of 19:28, 8 June 2010

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.
Slime repellent
Actor type Armor Game MiniChexLogoIcon.png (Chex)
DoomEd Number 2015 Class Name SlimeRepellent


Classes:ActorInventoryArmorBasicArmorBonusArmorBonusSlimeRepellent
A small vial containing slime repellent.

DECORATE definition

Actor SlimeRepellent : ArmorBonus 2015
{
  Game Chex
  Inventory.PickupMessage "$GOTREPELLENT" // "Picked up slime repellent."
}