Equipment

Methods to interact with the Equipment gametab.

../../images/equipment.png

EEquipment

EEquipment = enum(HEAD, CAPE, NECK, AMMO, WEAPON, BODY, SHIELD, LEGS, HANDS, FEET, RING, SECONDARY_AMMO);

Enumerator of the equipment slots.


EEquipmentButton

EEquipmentButton = (STATS, PRICES, DEATH, FOLLOWER);

Enumerator of the equipment buttons.


TEquipment

Main record reponsible for handling the equipment gametab.


Equipment.SetupGameTab

procedure TEquipment.SetupGameTab();

Internal method used to setup the TEquipment coordinates.

This is automatically called for you on the Equipment variable.


Equipment.IsOpen

function TEquipment.IsOpen(): Boolean;

Returns True/False whether the equipment tab is open or not.

Example:

WriteLn Equipment.IsOpen();

Equipment.Open

function TEquipment.Open(): Boolean;

Attempts to open the equipment tab. Returns true if we succeed.

Example:

WriteLn Equipment.Open();

Equipment variable

Global TEquipment variable.