|
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.
|
Mystic Urn
|
Actor type
|
Artifact
|
Game
|
|
DoomEd Number
|
32
|
Class Name
|
ArtiSuperHealth
|
Spawn ID
|
25
|
Identifier
|
T_ITEMHEALTHFULL
|
Classes: Inventory→HealthPickup→ArtiSuperHealth
The Mystic Urn, a gray urn with a gold ankh symbol, brings a wounded player back to 100% health when used. This item is found in both Heretic and Hexen.
ACTOR ArtiSuperHealth : HealthPickup
{
Health 100
+COUNTITEM
+FLOATBOB
+INVENTORY.PICKUPFLASH
+INVENTORY.FANCYPICKUPSOUND
Inventory.Icon ARTISPHL
Inventory.PickupSound "misc/p_pkup"
Inventory.PickupMessage "$TXT_ARTISUPERHEALTH" // "MYSTIC URN"
Tag "$TAG_ARTISUPERHEALTH"
HealthPickup.AutoUse 2
States
{
Spawn:
SPHL A 350
Loop
}
}