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