GetChestValue

GetChestValue
int GetChestValue ( int TID, str Type, int Index )

code contained in Inventory/script/INV_Funcs.dh

Properties:
example: int Chest38ItemDurability = GetChestValue( ActivatorTID, "ItemDurability", 38 );
 * TID - Thing ID of stash actor
 * Type - String of the value type ( "ItemIndex", "ItemDurability", "ItemModifier", "ItemAmount" )
 * Index - Index number 0-99 for the value type

Description:
Returns the number of Type at Index from the actor with TID. Combines the Type and Index with StrParam to provide the inventory actor name for checking.

Sister function to SetChestValue