InvManager

From Vendetta Lua
Jump to: navigation, search

Functions

GetInventoryItemParameter

Definition:
GetInventoryItemParameter(itemid,string name) => string value

Description:
Returns information about an inventory item.

Arguments:
itemid itemid of item to query.
name information to query.

Returns:
Returns the value of the information yor are querying or nil.

Example:

InvManager.GetInventoryItemParameter(3038547509, 'Name') = 'Revenant MkIII'
InvManager.GetInventoryItemParameter(1039533688, 'Name') = 'Centurion MkIII'
InvManager.GetInventoryItemParameter(1039533688, 'Volume') = '100'
InvManager.GetInventoryItemParameter(595219148, 'Mass') = '0.5'



InventoryItemToType

Definition:
Description:
Arguments:
Returns:
Example:


InventoryItemTypeToName

Definition:
Description:
Arguments:
Returns:
Example:


GetInventoryItemPrototype

Definition:
Description:
Arguments:
Returns:
Example: