Ifpinventory

From EDukeWiki
Revision as of 12:52, 4 May 2009 by One (talk | contribs)
Jump to navigation Jump to search

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.