Han Posted February 2, 2014 Posted February 2, 2014 I'm asking this so I can practice making my own fletching script, All the others have a fault in some way or another. I would be most greatful if someone could help me in this situation. Thank you.
Freak Posted February 2, 2014 Posted February 2, 2014 I'm asking this so I can practice making my own fletching script, All the others have a fault in some way or another. I would be most greatful if someone could help me in this situation. Thank you. I have a script that chops down trees and then fletch's into arrow shafts?
Han Posted February 2, 2014 Author Posted February 2, 2014 I have a script that chops down trees and then fletch's into arrow shafts? I'm looking for one that; Cuts maple logs; Then strings them into maple longbows. Not that difficult but I need a rough idea.
FearMe Posted February 4, 2014 Posted February 4, 2014 sAIO Fletcher gave me a really good idea how to make a fletching script, you can look at my fletcher script source code too, it works great as far as I'm aware. 1
Wyn Posted February 4, 2014 Posted February 4, 2014 Here's your logic. private State getState() { if (!isBusy()) { if (!Inventory.containsAll(item1, item2) && !Bank.isOpen()) { return State.OPENBANK; } else if (Bank.isOpen() && !Inventory.containsAll(item1, item2)) { return State.BANK; } else if (Bank.isOpen() && Inventory.containsAll(item1, item2)) { return State.CLOSEBANK; } else if (Inventory.containsAll(item1, item2) && !Bank.isOpen()) { return State.FLETCH; } } return State.ANTIBAN; } 1
Han Posted February 14, 2014 Author Posted February 14, 2014 sAIO Fletcher gave me a really good idea how to make a fletching script, you can look at my fletcher script source code too, it works great as far as I'm aware. Too bad I can't see the code now, would really like to learn from you.
Extreme Scripts Posted February 22, 2014 Posted February 22, 2014 Here's your logic. private State getState() { if (!isBusy()) { if (!Inventory.containsAll(item1, item2) && !Bank.isOpen()) { return State.OPENBANK; } else if (Bank.isOpen() && !Inventory.containsAll(item1, item2)) { return State.BANK; } else if (Bank.isOpen() && Inventory.containsAll(item1, item2)) { return State.CLOSEBANK; } else if (Inventory.containsAll(item1, item2) && !Bank.isOpen()) { return State.FLETCH; } } return State.ANTIBAN; } So much unnecessary logic? Doubt anyone ever puts open + close bank in their logic buddy