Classes:ArtiBoostMana

From ZDoom Wiki

Jump to: navigation, search
Krater of might
Actor type Artifact Game
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 8003
{
  Game Hexen
  SpawnID 26
  +FLOATBOB
  +COUNTITEM
  +INVENTORY.INVBAR
  +INVENTORY.PICKUPFLASH
  +INVENTORY.FANCYPICKUPSOUND
  Inventory.DefMaxAmount
  Inventory.Icon "ARTIBMAN"
  Inventory.PickupSound "misc/p_pkup"
  Inventory.PickupMessage "$TXT_ARTIBOOSTMANA" // "KRATER OF MIGHT"
  States
  {
  Spawn:
    BMAN A -1
    Stop
  Use:
    TNT1 A 0 A_GiveInventory("Mana1", 200)
    TNT1 A 0 A_GiveInventory("Mana2", 200)
    Stop
  }
}
Personal tools