Loop Hero

Loop Hero

28 ratings
Loop Hero Manager tool
By WildRyce
A tool for Loop Hero to plan tile placements and find efficient setups.
   
Award
Favorite
Favorited
Unfavorite
What Loop Hero Manager does
The tool allows you to build your world loop upon a new run, and place down various tiles such as thickets, rivers, deserts (and more to come) to find the most viable setup you would like to achieve before starting to plop down your tiles in-game. The tiles placed down will give statistics on what they affect, and if tiles have any adjacency synergies (such as rivers turning into an oasis when beside a desert/sand dune), these will be displayed in the tool and give the stats information as well.

This was originally built for those who are not too confident in knowing how much stats will be affected before or when building (myself for example), so the ability to plan ahead and have a reference map on the side for me felt quite handy, and wanted to share it with others who might get some use out of it.

The tool also features a sharing function that allows you to export a code to save any efficient worlds created that would like to be shared or kept as backup, which may be imported back into the tool at anytime.
How to use it


The tool allows you to select from a range of different tiles to place down on the grid. To choose which tile you would like, click one of the displayed tiles along the top of the tool. With a tile selected, you can left-click and drag to begin placing the selected tile. To remove tiles, you can either switch back to the 'None' tile and draw over the tiles you want to cleaer, or alternatively you can hold right-click and drag to clear tiles. To clear the whole board at once, you can click the [DELETE] key.

Along the right-hand side is the calculator display, which shows all stats that will be affected by the currently placed tiles, along with how many of any tile you have placed. Special tiles that only generate when a condition is reached (such as a goblin camp) will display once the minimum requirement has been met.

Numbers that are displayed on top of tiles are known as 'adjacency' counts. This number will only be displayed on tiles that have adjacency bonuses, and display how many adjacent tiles there are to the specified tile. (Adjacency in this case is tiles that are immediately touching the specified tile. Any tiles diagonal to the specified tile are not included.)
Menu Functionality

To access the menu, you can either click the grey tile in the top-right corner (Labelled as "Click here or press [ESC] to open the menu"), or press the [ESCAPE] key. A few features exist within the menu.

Legend
  • Toggleable Tile Display: At the top, there is a checkbox there you can select to use images instead of colored tiles. Please note that this is currently an in-progress feature and not every tile available in the tool will have an image associated with it.
  • Toggleable Tiles List: The tiles shown here display the current tile sprite it is using. By clicking on the tile, you can either enable or disable the tile from showing up on the selectables tiles list in the tool. Any tiles disabled that have transformation requirements (such as blooming meadows requiring meadows) or grouped tiles (such as deserts and sand dunes) will be disabled alongside the tile that it is grouped with.

Controls/Info
  • Codes: The textbox in the bottom right corner of the menu can be used to either copy the code of the current layout, or paste a saved or copied layout into the tool.
  • Generate Code: This button will clear the textbox, and generate the code for the current layout.
    Import Map: This button will read the textbox, and generate the layout from the code onto the grid.

Credits
Original inspiration came from discord user 'Goostz' who posted some images of river-thicket placements they made in excel, giving me the idea of building an interactive version with more customization.

After I built the base version of this, I learned about reddit user /u/code_chris' river-thicket app (no longer available) , which helped me test some of my math.
4 Comments
Delreich 26 Apr @ 8:24am 
The loopherolayout link is dead. Might want to remove that.
Delreich 26 Apr @ 8:21am 
The tool is great. :2017stickycrab:

If you ever get back to working on it, it would be nice to also include road effects (like vamps, books, etc).

The current version doesn't calculate river-rock interactions correctly. In-game, a rock with a single neighbor is equivalent to a mountain ditto. In the tool, there's a difference when rivers are involved. Easy to workaround by just using a mountain instead though.
WildRyce  [author] 25 Jun, 2022 @ 12:32pm 
Hey SavageBrie! I did have the idea of eventually making this tool usable as an overlay for the game, though I do not have enough knowledge on how to achieve this currently. I may look into this again in the future once I get the tool updated a bit more (thought of making a standalone version available anyways), and see if reading the layout would be feasible for the tool if so. Definitely will keep this in mind though!
SavageBrie 6 Dec, 2021 @ 3:26pm 
If only this could read the current layout and build from the game and suggest optimal placement without having to manually enter in the information myself