Inven icon

From EDukeWiki
Jump to navigation Jump to search

inven_icon returns the value of the current HUD icon for the inventory.

There is no value for the space suit, so end-users who want to add it back in have to re-code the HUD.

Values

The following values are used with inven_icon. Not be to be confused with addinventory.

Exposed Value Label Description
No 0 ICON_NONE
No 1 ICON_FIRSTAID
No 2 ICON_STEROIDS
No 3 ICON_HOLODUKE
No 4 ICON_JETPACK
No 5 ICON_HEATS
No 6 ICON_SCUBA
No 7 ICON_BOOTS
Defines
define ICON_NONE                        0
define ICON_FIRSTAID                    1
define ICON_STEROIDS                    2
define ICON_HOLODUKE                    3
define ICON_JETPACK                     4
define ICON_HEATS                       5
define ICON_SCUBA                       6
define ICON_BOOTS                       7