CropUtils
More efficient than a grid! Plant more crops at once with triangle packing or in rows that respect healthy plant distancing. Pick crops in an area with one interaction. Highly configurable.
模組介紹 作者原文
CropUtils v 2.1.1
Inspired by MassFarming by Xeio, but uses more efficient triangle packing for optimal placement as well as harvesting a large area at once.
Check out Xeio's mod here:
This mod has two main purposes:
- Plant many crops at once with two pattern options, triangle packing or in a line that respect healthy plant distancing.
This uses triangle packing hex grid to maximize crop placement efficiency instead of a less space efficient and more limiting square grid.
- Pick crops (and other interactables like beehives, rocks, branches, herbs and more) in an area with one interaction.
Planting will skip any invalid plant locations, so you can use this to fill in any gaps in your fields.
Usable entirely on client, even in multiplayer - though if in MP, you should probably get permission from the admin to use.
Dedicated servers do not need this installed.
Dependant on BepInEx (
See config for all configurables, and change at your leasuire.
Tested with some mods that add additional plants but compatibility not guarenteed.
Default keybinds:
- Pickup: While looking at a pick-able item, hold left ALT to pickup in an area
- Planting Line: Hold left ALT to plant in a line, and optionally hold Z to lock the line in place.
- Planting Hex: Press and hold Z first then left ALT creates a circle packed pattern for mass planting
- Change range: Use the ]} key to increase the size and range of the utils, and [{ to decrease the range of the utils
- Change spacing: Use the = key to increase the space between plants and the - key to decrease it. The adjustment is relative to the spacing in effect for the current plant and cannot go below the minimum that plant requires.
Configurables:
- Keybinds for primary & secondary tool function
- Pickup range display, range increase & decrease keybinds
- Optional matching-type-only mass pickup (disabled by default)
- Discount for stamina and durability use when multiplanting
- Show / hide range helper
- Support for gamepad keybinds, but admittedly defaults are probably not good. Let me know if you find some good controller binds.
- Support for additional mods that plant non-standard Valheim crops, such as PlantEverything. ( See 1.2.0 changelog for more info.
Limitations:
- Hex grid does not align with rotation like line tool does. I'd like to fix that in future.
- In order for hex grid to not cause lag when displaying ghosts, it has to be locked in place while it builds. The line tool does not, though perfomance will suffer with very high ranges.
- Will cause a bunch of lag when planting very large patterns.
- Mod compatibility is not guaranteed, but this mod offers a generic solution should should work for most use cases.-
- Ashlands introduced randomized rotation. From 2.1.0 the orientation is held steady while the util key is held, so rows planted in sequence keep one direction. Releasing the key restores Valheim's normal behaviour.
- Locking the shape with an invalid origin, then looking away may let you place the first plant even if it shows as invalid. All other plants should correctly respect the preview, only planting if they are valid.
Changelog:
2.1.1
Added an optional MatchingTypeOnly pickup setting, disabled by default. When enabled, mass pickup only picks up items of the same type as the targeted item. Beehive behavior is unchanged.
2.1.0
Spacing is derived per plant instead of being a fixed multiple of the grow radius. The minimum distance is the largest radius Valheim sweeps when checking for space, plus the plant's collider footprint measured about its own vertical axis, so the figure does not change with rotation. Both are taken for the fully grown plant: growth stages are followed through to the end, and each stage's footprint is scaled by that stage's maximum growth scale. Va
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: