BetterMouseControls

版本 v1.1.1·更新於 2022-11-21

Doubleclick cards to restack them and drag whole stacks with right-click

模組介紹 作者原文

Stacklands BetterMouseControls Mod

This adds two convenience features:

  • Double click on any card to combine it with all nearby cards of the same type (any villager for villagers, any equipment for equipment, otherwise has to be exactly the same card). Never pulls cards out of stacks if the whole stack shouldn't be combined. Useful to combine villagers after combat or pickup loot.
  • Rightclick drag to drag a whole stack of cards (as if you were holding down shift)
  • Pro tip: Bind selling to middle-mouse for an even better mouse-only experience.

Each feature can be disabled individually and there are some parameters that can be adjusted if you find you can't trigger double-clicks reliably (or it triggers way too easily for you).

Manual Installation

This mod requires BepInEx to work. BepInEx is a modding framework which allows multiple mods to be loaded.

  • Download and install BepInEx.
  • Download this mod and extract it into BepInEx/plugins/
  • Launch the game

Development

  • Install BepInEx
  • This mod uses publicized game DLLs to get private members without reflection
  • Use for example to publicize Stacklands/Stacklands_Data/Managed/GameScripts.dll (just drag the DLL onto the publicizer exe)
  • This outputs to Stacklands_Data\Managed\publicized_assemblies\GameScripts_publicized.dll (if you use another publicizer, place the result there)
  • Compile the project. This copies the resulting DLL into /BepInEx/plugins.
  • Your GAME_PATH should automatically be detected. If it isn't, you can manually set it in the.csproj file.
  • If you're using VSCode, the.vscode/tasks.json file should make it so that you can just do Run Build/Ctrl+Shift+B to build.

Links

  • Github:

-:

Changelog

  • v1.1.1: Update for game version 1.2.6
  • v1.1
  • Allow double-clicking stack root to pull onto stack
  • Double-clicking a combatant will now properly pull all similar cards into the fight
  • v1.0.2
  • Fix right-click drag after game update v1.2.5
  • v1.0.1
  • Fix equipped cards getting pulled on double click
  • Fix pulling into stacks larger than 30
  • v1.0: Initial release

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_Stacklands

檔案與校驗

檔案名稱
BetterMouseControls-1.1.1.zip
檔案大小
13.8 KiB