Jump to content

how to make it so mining script doesn't drop rune pick while mining?


Twin

Recommended Posts

Trying to work my way up to making a basic motherlode mining script, but im having an issue doing this basic powermining iron script. everything in it should work, it drops my inventory then goes to mine iron. only issue is I can't mine without a pick. What's the code to ignore an item in the inventory?

Edited by twin 763
Link to comment
Share on other sites

If your script somehow has random shit in their inventory it wouldn't drop it (things like gems), which would slow down your xpph

 

That's a good point, i didnt think about that. Would you happen to know how I can make it only mine iron ore id's, and have it wait while it mines? I currently have

Entity Iron = objects.closest("13455,13466");

but since they're right next to eachother, it would try and store both of them into iron at the same time and get nothing done, right? the ID changes when it's mined I figured having the ID there instead of just "Rocks" would prevent it from spam clicking the same vein over and over again.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...