|
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- 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
|
(Hexen)
|
DoomEd Number
|
8003
|
Class Name
|
ArtiBoostMana
|
Spawn ID
|
26
|
Identifier
|
T_ITEMBOOSTMANA
|
Classes: Inventory→CustomInventory→ArtiBoostMana
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.
ACTOR ArtiBoostMana : CustomInventory
{
+FLOATBOB
+NOGRAVITY
+COUNTITEM
+INVENTORY.INVBAR
+INVENTORY.PICKUPFLASH
+INVENTORY.FANCYPICKUPSOUND
Inventory.DefMaxAmount
Inventory.Icon "ARTIBMAN"
Inventory.PickupSound "misc/p_pkup"
Inventory.PickupMessage "$TXT_ARTIBOOSTMANA" // "KRATER OF MIGHT"
Tag "$TAG_ARTIBOOSTMANA"
States
{
Spawn:
BMAN A -1
Stop
Use:
TNT1 A 0 A_GiveInventory("Mana1", 200)
TNT1 A 0 A_GiveInventory("Mana2", 200)
Stop
}
}