Jump to content

Simple 3 rock power miner snippet


Recommended Posts

Posted

Wasn't happy with any of the iron ore power miners on the script network, so here's a simple one for you all:
This one is for the 3 iron ores in Verdant Valley, Fossil Island.

Change the rock positions and the rock ids and this'll work for any sets of rocks.

<Integer>RockCounter:1
<Boolean>IsAnimating:false
<Position>RockThree:3767,3756,0
<Position>RockTwo:3768,3757,0
<Position>RockOne:3767,3758,0
[1, RS2Object, getPosition, 2:11364, 1:RockOne, 1:==]
[1, Variables, getInteger, 1:RockCounter, 1:==, 2:1]
[1, MyPlayer, isAnimating, {false}]
[1, Inventory, isFull, {false}]
[1, RS2Object, interactWithAtPosition, 2:11364, 1:Mine, 1:RockOne, 3:true]
[1, Variables, operationInteger, 1:RockCounter, 1:Set as, 2:2]
[1, Mouse, hoverPosition, 1:RockTwo]
[2, RS2Object, getPosition, 2:11364, 1:RockTwo, 1:==]
[2, Inventory, isFull, {false}]
[2, MyPlayer, isAnimating, {false}]
[2, Variables, getInteger, 1:RockCounter, 1:==, 2:2]
[2, RS2Object, interactWithAtPosition, 2:11364, 1:Mine, 1:RockTwo, 3:true]
[2, Variables, operationInteger, 1:RockCounter, 1:Set as, 2:3]
[2, Mouse, hoverPosition, 1:RockThree]
[3, RS2Object, getPosition, 2:11364, 1:RockThree, 1:==]
[3, Inventory, isFull, {false}]
[3, MyPlayer, isAnimating, {false}]
[3, Variables, getInteger, 1:RockCounter, 1:==, 2:3]
[3, RS2Object, interactWithAtPosition, 2:11364, 1:Mine, 1:RockThree, 3:true]
[3, Variables, operationInteger, 1:RockCounter, 1:Set as, 2:1]
[3, Mouse, hoverPosition, 1:RockOne]
[4, Inventory, isFull, {true}]
[4, Inventory, dropAll]

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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