From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Krater of might
Actor type Artifact Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 8003 Class Name ArtiBoostMana
Spawn ID 26 Identifier T_ITEMBOOSTMANA

Classes: InventoryCustomInventoryArtiBoostMana
The Krater of Might is a gray chalice with a black rune containing a purple liquid. Using it refills the player's mana pools to full capacity. It could be considered the replacement for the bag of holding, which is missing in Hexen: instead of directly increasing the maximum carrying capacity for ammunitions, it allows to carry a full ammo refill.

DECORATE definition

ACTOR ArtiBoostMana : CustomInventory
  Inventory.Icon "ARTIBMAN"
  Inventory.PickupSound "misc/p_pkup"
  Inventory.PickupMessage "$TXT_ARTIBOOSTMANA" // "KRATER OF MIGHT"
    BMAN A -1
    TNT1 A 0 A_GiveInventory("Mana1", 200)
    TNT1 A 0 A_GiveInventory("Mana2", 200)