Classes:BackpackItem

From ZDoom Wiki

Jump to: navigation, search
Backpack item
Actor type Internal Game
DoomEd Number None Class Name BackpackItem

Classes: InventoryBackpackItem

 →AmmoSatchel
 →Backpack
 →BagOfHolding

BackpackItem is the base class for all backpack-like items. This class itself is never used directly. Its only purpose is to be a base class for other items.

A child of this class contains a sample of each ammunition type and extends the carrying capacity of each ammunition type. However, the quantity of contained ammunition, and the size of the increase are qualities of the ammunition, not of the backpack. Therefore, it is not possible to make several different types of backpacks, such as a "regular backpack" that would double the basic carrying capacity and a "super backpack" that would triple it, for example. Or a "cursed backpack" that would reduce carrying capacity. Likewise, if you place a BagOfHolding (Heretic item) in Doom, you will find Doom-specific ammunitions in it!

DECORATE definition

Actor BackpackItem : Inventory native {}
Personal tools