Skip to content

Commit

Permalink
Create Auto Fishing - Estate.xml (#56)
Browse files Browse the repository at this point in the history
* Create Auto Fishing - Estate.xml

* Minor improvements to estate fishing:
- Use a loop with count 19, and then a straight cast (to align the toon with the fisherman).
- Improve key press durations and pause times.
- Improve scan color values.

---------

Co-authored-by: kpreisser <[email protected]>
  • Loading branch information
The-Synthax and kpreisser authored Apr 14, 2024
1 parent eb91660 commit f8f8996
Showing 1 changed file with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8" ?>
<SimulatorProject xmlns="https://github.com/TTExtensions/MouseClickSimulator">
<Title>Automatic Fishing in Toon Estate</Title>
<Description>
The Toon will automatically fish in your estate.
Before you click on Start, make sure that
• your fish bucket is empty,
• you have enough JellyBeans for 20 casts,
• your toon is standing on the board nearest to the bucket
Note: Doodles may cause the simulator to fail.
</Description>

<MainAction>

<Compound type="Sequential">

<!--
Use the automatic fishing action for estate 20 times,
and ensure Toon remains fishing instead of going to bed.
-->

<Loop count="19">
<AutomaticFishing scan1="200, 150" scan2="1492, 660" scanResultYAdjustment="35"
bubbleColorRgb="56, 129, 122" toleranceRgb="7, 5, 5" />
</Loop>


<!--
The last cast must always be straight; otherwise the toon will rotate in
the cast direction and the Simulator would be unable to correctly move the Toon
to the fisherman.
-->
<StraightFishing />

<QuitFishing />

<Pause duration="1500" />

<Compound type="Sequential" minimumPause="50" maximumPause="300" loop="false">

<!-- Now go to the fisherman and sell the fish. -->
<PressKey key="Left" duration="1300" />
<PressKey key="Up" duration="1800" />
<Pause duration="1500" />

<SellFish />

<Pause duration="2000" />
<PressKey key="Down" duration="2500" />
<Pause duration="3500" />
</Compound>

</Compound>

</MainAction>

</SimulatorProject>

0 comments on commit f8f8996

Please sign in to comment.