MSchmoecker-HigherSidebar icon

HigherSidebar

Increases the height of the info text box

Last updated 2 years ago
Total downloads 3289
Total rating 2 
Categories Mods Misc
Dependency string MSchmoecker-HigherSidebar-0.3.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Stacklands-5.4.2100 icon
BepInEx-BepInExPack_Stacklands

BepInEx pack for Stacklands. Preconfigured and includes Unity Base DLLs.

Preferred version: 5.4.2100

README

Higher Sidebar

About

Increases the height of the info text box.

Showcase

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.

Manual Installation

  1. Download and install BepInEx from Thunderstore
  2. Download this mod and extract it into BepInEx/plugins/
  3. Launch the game! If everything works, you should already see that the height of the sidebar elements is increased.

Development

  1. Install BepInEx
  2. Set your GAME_PATH in HigherSidebar.csproj
  3. 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
  4. Compile the project. This copies the resulting dll into <GAME_PATH>/BepInEx/plugins/

Links

Changelog

0.3.0

  • 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

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

0.1.5

  • Added a config watcher to reload the config in-game when the file changes

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!)

0.1.3

  • Updated Thunderstore Readme

0.1.2

  • Added ability to change the debug panel height (thanks benediktwerner!)

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

0.1.0

  • Initial release