dreamsloha.blogg.se

Cat quest 2 walk on water
Cat quest 2 walk on water




cat quest 2 walk on water
  1. Cat quest 2 walk on water mod#
  2. Cat quest 2 walk on water code#

This means we can skip walking to every block and simply water anything around us. The starting point is the player's position.įor each group, depth-first search is applied to fill in the tiles.Īt each tile, all adjacent (now including diagonals) are watered as well. The bot runs a greedy approach to solving the traveling salesman problem. We need to find the shortest path through all the groups, starting at the player's current position. The cost of traveling to each group is also done from the player's current position.Īt this point, any unreachable groups are disregarded. The algorithm starts at the tile closest to the centroid of each grouping. The bot then uses A* pathfinding to determine the cost of traveling from one group to another. Tiles with crops that need watering are then grouped based on adjacency using a depth-first search. Any waterable crops are also placed in their own array. Water: Can the player refill the Watering Can here?Īll the tiles are placed in a 2D array.

cat quest 2 walk on water

Waterable: Does the tile need to be watered?īlock: Does the tile allow the player to walk on top of it? The bot first looks through the farm map data, going tile by tile and marking the following traits:

Cat quest 2 walk on water mod#

To begin the mod listens for whenever the player right-clicks. If the player is clicking a crop with their watering can, the bot starts.

Cat quest 2 walk on water code#

It finishes watering all reachable crops.Īll the source code is open source, feel free to shoot over a pull request if you find something! Refill water at the nearest source when it runs out. Right-click a crop with the Watering Can Snap out of it early by pressing any button.ĭon't worry, you won't knock yourself out from watering, you will stop before you run out of stamina You automatically get more water to refill your watering can from instinct, still in a lucid state. Pull out your Watering Can, and right-click on any of your beautiful crops as if you were watering them.īy a miracle of love for your budding crops, you're carried away into watering the rest of them without pushing so much as a button. Download this mod and unzip it into Stardew Valley/Mods This mod is intended to make the process of watering your plants less tedious, without removing the loss of time and energy usually required in vanilla Stardew.ĭon't worry, the bot will automatically fill up the Watering Can if needed.Ģ. Right-clicking on a crop will start up the WaterBot, which will go through and water your crops 1 by 1.






Cat quest 2 walk on water