Classes:BagOfHolding

From ZDoom Wiki

Jump to: navigation, search
Bag of holding
Actor type Ammo Game
DoomEd Number 8 Class Name BagOfHolding
Spawn ID 136 Identifier T_ITEMBAGOFHOLDING

Classes: InventoryBackpackItemBagOfHolding

The bag of holding contains a sample of each ammunition type (the quantity of which depends on the ammunition, not on the backpack) and extends the carrying capacity of each ammunition type (again, this is a factor of the ammunition).

DECORATE definition

ACTOR BagOfHolding : BackpackItem 8
{
  Game Heretic
  SpawnID 136
  Inventory.PickupMessage "$TXT_ITEMBAGOFHOLDING" // "BAG OF HOLDING"
  +COUNTITEM
  +FLOATBOB
  States
  {
  Spawn:
    BAGH A -1 
    Stop
  }
}
Personal tools