Adjusts the card alignment grid (when pressing E to align card) so that it always perfectly aligns with the map meaning you'll never have cards trying to align into the wall and jump around because they can't again.
Specifically, it increases the space between cards in the grid if necessary to make it align.
It also adds configuration options for the minimum size of the grid and by default slightly decreases the minimal horizontal distance between
cards. You can change the configuration via the Mod Manager or by editing the BepInEx/config/de.benediktwerner.stacklands.FixGrid.cfg file
which will be generated after starting the game with the mod installed for the first time.
On the island, the visible grid can't easily be made to align properly so it will be hidden. The cards will still align to the correct position. If you prefer, you can instead turn the alignment fix off for the island in the config. In that case, the grid size will still be adjusted according to the configuration but the grid won't be perfectly aligned to the edge of the board.
This mod requires BepInEx to work. BepInEx is a modding framework which allows multiple mods to be loaded.
BepInEx/plugins/Stacklands/Stacklands_Data/Managed/GameScripts.dll (just drag the DLL onto the publicizer exe)Stacklands_Data\Managed\publicized_assemblies\GameScripts_publicized.dll (if you use another publicizer, place the result there)<GAME_PATH>/BepInEx/plugins/.
GAME_PATH should automatically be detected. If it isn't, you can manually set it in the .csproj file..vscode/tasks.json file should make it so that you can just do Run Build/Ctrl+Shift+B to build.