pigfarmer Posted June 8, 2020 Share Posted June 8, 2020 Hi! I am trying to get the armor and weapons that the bot is currently using. Something like this; myPlayer().getArmor(); Quote Link to comment Share on other sites More sharing options...
Lol_marcus Posted June 8, 2020 Share Posted June 8, 2020 getEquipment().isWearingItem(EquipmentSlot.HAT, "Bronze med helm"); getEquipment().isWieldingWeapon("Bronze scimitar"); getEquipment().isWearingItem(EquipmentSlot.CHEST, "Bronze plateobody"); https://osbot.org/api/org/osbot/rs07/api/Equipment.html 1 Quote Link to comment Share on other sites More sharing options...
Nbacon Posted June 9, 2020 Share Posted June 9, 2020 @Lol_marcus idea could work but https://osbot.org/api/org/osbot/rs07/api/util/ItemContainer.html is better becuase Equipment extends it and gets methods like contains(stuff...), getItems(), onlyContains(stuff...). Items[] MyArmor =getEquipment().getItems() 1 Quote Link to comment Share on other sites More sharing options...