Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Added a short cooldown (0.1 sec) before the info box shrinks again. This helps to reduce fast box resizes a bit when moving between cards. Can be adjusted in the config
Fixed the info box could grow too big and cancel the current text that is hovered, causing the side bar to flicker. Only the info box is scaled now and not the whole side bar anymore
Version 0.2.0
Changed the static height to a dynamic height which is calculated by the needed text space. Can be toggled in the config
Version 0.1.5
Added a config watcher to reload the config in-game when the file changes
Version 0.1.4
Updated mod for game version 1.2.2 (dark forest update). This removes the configuration for the debug panel, since it is now at full height anyway (thanks benediktwerner!)
Version 0.1.3
Updated Thunderstore Readme (no need for a Nexus update)
Version 0.1.2
Added ability to change the debug panel height (thanks benediktwerner!)
Version 0.1.1
Updated mod for game version 1.1.4 (islands update). As the sidebar now takes the remaining space, only the info box height has to be configured (thanks benediktwerner!)
Changed BepInEx display name and dll name to Higher Sidebar. Make sure to delete the old `StacklandsHigherUI.dll`
Version 0.1.0
Release
Higher Sidebar
About
Increases the height of the info text box.
Config
The height of the info box can be set custom and the remaining space is filled with the sidebar. By default the info box is scaled dynamically by the needed text space, this can be toggled with "Use Dynamic Height" to use a static height.
The config entries are generated after the first start at BepInEx/config/com.maxsch.stacklands.higherui.cfg. The config file can also be edited while the game is running and the changes will be applied in-game upon saving the file.
Download this mod and extract it into BepInEx/plugins/
Launch the game! If everything works, you should already see that the height of the sidebar elements is increased.
Development
Install BepInEx
Set your GAME_PATH in HigherSidebar.csproj
This mod requires publicized game code, this removes the need to get private members via heavy Reflection code. Use https://github.com/CabbageCrow/AssemblyPublicizer for example to publicize Stacklands/Stacklands_Data/Managed/GameScripts.dll
Compile the project. This copies the resulting dll into <GAME_PATH>/BepInEx/plugins/