Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. import Omega.construction.ids.ids;
  2. import com.rsbuddy.script.methods.Inventory;
  3. import com.rsbuddy.script.methods.Widgets;
  4. import com.rsbuddy.script.wrappers.Widget;
  5.  
  6. import omeg.Rubiyath.Utilities.my;
  7. import Omega.construction.Utils.Strat.strategy;
  8.  
  9. public class crudewoodenchair implements strategy {
  10. @SuppressWarnings("deprecation")
  11. public boolean isValid() {
  12. return Inventory.containsOneOf(ids.PLANKIDS()) && Inventory.containsOneOf(ids.NAILIDS()) && Inventory.containsOneOf(ids.HAMMERIDS()) && Inventory.contains(ids.SAWID());
  13.  
  14. }
  15.  
  16.  
  17.  
  18.  
  19. public void execute() {
  20. if (Widgets.get(396).getComponent(49).isVisible());{
  21. Widgets.get(396).getComponent(49).click(){
  22. } else {
  23.  
  24. }
  25.  
  26.  
  27.  
  28.  
  29. public String getStatus() {
  30. return "We are Building Crude Wooden Chair";
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement