Salty as fuck Posted February 2, 2016 Share Posted February 2, 2016 (edited) Not even going to bother adding a paint. Uses buckets of water. >>DOWNLOAD<< Source: import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "SoftClay", author = "Reminiscence", version = 1.0, info = "Combines buckets of water with clay.", logo = "") public class softclay extends Script { int bucket = 1929, clay = 434; RS2Widget iface; public boolean interactItems(String item1, String item2) throws InterruptedException { @SuppressWarnings("unused") RS2Widget w = widgets.get(309, 2); if (!players.myPlayer().isAnimating() && inventory.getItem(item1).interact()) { return inventory.getItem(item2).interact(); // } return false; } @Override public void onStart() { log("Starting SoftClay script."); } @Override public void onExit() { log("Softclay exiting"); } @Override public int onLoop() throws InterruptedException { iface = widgets.get(309, 2); if (!inventory.contains(bucket) && !inventory.contains(clay)) { bank.open(); sleep(600); if (bank.isOpen()) { if (inventory.isFull()) { bank.depositAll(); sleep(random(200, 695)); } if (!inventory.contains(bucket)) { bank.withdraw(bucket, 14); sleep(600); } if (!inventory.contains(clay)) { bank.withdraw(clay, 14); sleep(600); } if (inventory.contains(bucket) && inventory.contains(clay)) { bank.close(); } if (bank.isOpen() && (!bank.contains(bucket) || !bank.contains(clay))) { log("out of clay or buckets"); stop(); } } } if (inventory.contains(clay) && !inventory.contains(bucket)) { bank.open(); sleep(600); bank.depositAll(); sleep(600); } if (inventory.contains(bucket) && !inventory.contains(clay)) { bank.open(); sleep(600); bank.depositAll(); sleep(600); } if (inventory.contains(bucket) && inventory.contains(clay)) { if (iface == null) { interactItems("Bucket of water", "Clay"); sleep(600); } if (iface != null) { iface.interact("Make All"); sleep(18000); } } return 600; } @Override public void onPaint(Graphics2D g) { } } Edited February 2, 2016 by Reminiscence Quote Link to comment Share on other sites More sharing options...
Vilius Posted February 2, 2016 Share Posted February 2, 2016 the sleeps gave me kanker 1 Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted February 2, 2016 Author Share Posted February 2, 2016 whenever there isn't an animation playing while doing an action, it's what i resort to, lol Quote Link to comment Share on other sites More sharing options...
KappaBug Posted February 2, 2016 Share Posted February 2, 2016 can you tell us if uses buckets of water or a fountain in varrok? Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted February 2, 2016 Author Share Posted February 2, 2016 can you tell us if uses buckets of water or a fountain in varrok? Buckets of water. Is using clay on the fountain a thing? Quote Link to comment Share on other sites More sharing options...
KappaBug Posted February 2, 2016 Share Posted February 2, 2016 (edited) Buckets of water. Is using clay on the fountain a thing? yeah you can use a clay on the fountain in varrock east unless its been changed worked pre eco Edited February 2, 2016 by BardRoss Quote Link to comment Share on other sites More sharing options...
Salty as fuck Posted February 2, 2016 Author Share Posted February 2, 2016 If you wanna test it out and tell me if it works, I can change the script to just do that instead. Would maximize prophets. Quote Link to comment Share on other sites More sharing options...