# Equipment Methods to interact with the Equipment gametab. ```{figure} ../../images/equipment.png ``` - - - ## EEquipment ```pascal EEquipment = enum(HEAD, CAPE, NECK, AMMO, WEAPON, BODY, SHIELD, LEGS, HANDS, FEET, RING, SECONDARY_AMMO); ``` Enumerator of the equipment slots. - - - ## EEquipmentButton ```pascal EEquipmentButton = (STATS, PRICES, DEATH, FOLLOWER); ``` Enumerator of the equipment buttons. - - - ## TEquipment Main record reponsible for handling the equipment gametab. - - - ## Equipment.SetupGameTab ```pascal procedure TEquipment.SetupGameTab(); ``` Internal method used to setup the {ref}`TEquipment` coordinates. This is automatically called for you on the {ref}`Equipment variable`. - - - ## Equipment.IsOpen ```pascal function TEquipment.IsOpen(): Boolean; ``` Returns True/False whether the equipment tab is open or not. Example: ```pascal WriteLn Equipment.IsOpen(); ``` - - - ## Equipment.Open ```pascal function TEquipment.Open(): Boolean; ``` Attempts to open the equipment tab. Returns true if we succeed. Example: ```pascal WriteLn Equipment.Open(); ``` - - - ## Equipment variable Global {ref}`TEquipment` variable.