Code: Select all
ACTOR MyPickup : CustomInventory 15092
{
Radius 44
Height 25
Inventory.PickupMessage "You got the MyPower!"
Inventory.PickupSound "somesound"
+COUNTITEM
States
{
Spawn:
POWR A -1
Stop
Pickup:
TNT1 A 0 A_GiveInventory("MyPower")
Stop
}