Ifpinventory: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
ifpinventory <inventory item> <value>
'''ifpinventory''' <inventory item> <value>


Returns true if the current amount of the inventory item being tested is not equal to <value>.  Valid values for <inventory item> are:
Returns true if the current amount of the inventory item being tested is not equal to <value>.  Valid values for <inventory item> are:

Revision as of 11:52, 4 May 2009

ifpinventory <inventory item> <value>

Returns true if the current amount of the inventory item being tested is not equal to <value>. Valid values for <inventory item> are:

  • GET_ACCESS
  • GET_BOOTS
  • GET_FIRSTAID
  • GET_HEATS
  • GET_HOLODUKE
  • GET_JETPACK
  • GET_SCUBA
  • GET_SHIELD
  • GET_STEROIDS

Inventory amounts may also be tested and adjusted using the player member functions.