Jump to content

Simple 3 rock power miner snippet


Bnywarrior

Recommended Posts

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]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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