You are viewing a potentially older version of this package. View all versions.
Advize-PlantEasily-2.0.1 icon

PlantEasily

Allows you to plant evenly spaced crops, either one at a time or in any amount of rows and columns, with grid snapping features and invalid crop placement prevention. Harvest in bulk and optionally auto replant crops. Configurable and supports gamepad.

Date uploaded 3 days ago
Version 2.0.1
Download link Advize-PlantEasily-2.0.1.zip
Downloads 8343
Dependency string Advize-PlantEasily-2.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Description Keybinds Installing Compatibility Contact Author Other Info Config Source Screenshots

Description

This is a QoL mod that simplifies the planting aspect of farming, and fixes a lot of common frustrations with it. It allows you to quickly and easily plant beautiful and evenly spaced fields of crops without ever worrying about wasting a precious seed. Once those crops mature, you can optionally harvest them in bulk, and/or replant automatically. Its feature-set also supports berry bushes, flowers, and mushrooms from Plant Everything.

Whether you want to plant one crop at a time, or several at once to save time, this mod can do that. You can plant a single crop, a single row, a single column, or any number of rows and columns at once; the size of which can be changed easily in real-time using keybinds (configurable).

In addition to planting in bulk, this mod will optionally allow you to harvest in bulk (configurable). Works for all pickables as well as beehives.

If you don't want your fields to look too uniform, this mod will by default put a random rotation on your crops once placed (configurable).

If you don't want to plant a crop too close to another, worry not. This mod by default will highlight your invalid crops in red before they are placed, and also by default will prevent you from planting anywhere a crop cannot grow (configurable). Causes include wrong biome, uncultivated ground, no space, no sunlight, lack of resources, too hot, too cold, and no attach piece (Ashvines).

Tired of replanting the same fields over and over again? Enable [Harvesting]ReplantOnHarvest in the mod's configuration file or via configurable keybind. When enabled, crops will automatically replant themselves upon being picked, provided the player has enough seeds. You can change what is planted in a crop's place by selecting your desired crop in the cultivator build tab before putting your cultivator away and harvesting a plant.

And last but definitely not least, this mod provides grid snapping (configurable). Snap individual crops to a single crop, to an existing grid of crops, or snap a new grid of crops onto either a single crop or an existing grid of crops. Alternative placement options have been added to the cultivator to support free 360 degree rotation when snapping to a single piece (see Default Keybinds).

Note: If a piece is not snapping where you'd expect, try rotating the piece.

Default Keybinds

These keybinds are not checked in a standard update tick, they will only work while the cultivator is equipped and an applicable piece is selected. All keybinds are configurable.

Right CTRL + Arrow Keys increases/decreases rows and columns.
Left Bumper + D-Pad increases/decreases rows and columns.

Left Shift + Use Key to bulk harvest (when enabled).
Left Bumper + Use Key to bulk harvest (when enabled).

Pressing your vanilla alternative placement key allows free 360 rotation when snapping to a single piece.
Hold Left Shift while planting and snapping.
Hold Left Bumper and press Right Stick to toggle.

F6 toggles crop replant on harvest, F8 toggles all mod features, F10 toggles grid snapping features.

The three available toggle keys support keyboard combinations (e.g. Left Ctrl + F8).

Installing

Manual Install

This is a client-side only mod. Do not install it on a dedicated server.

Extract the Advize_PlantEasily.dll file into the BepInEx/plugins folder. Directory structure should look like this:

BepInEx ->
    plugins ->
        Advize_PlantEasily.dll

Compatibility

Here you'll find info about known mod conflicts and possible solutions.

At present, this mod is incompatible with any of the following:

FarmGrid

MassFarming

Farming

Contact Author

You can reach me on the Nexus to provide bug reports or feedback https://www.nexusmods.com/valheim/mods/2350

For further mod or mod dev support, I can be found at the following Discord server:

Config and Other Info:

Mod is highly configurable, a config file will be generated after first loading the mod and can be found in BepInEx/config/advize.PlantEasily.cfg

The config can be edited out of game with a text editor, or modified in game using the Configuration Manager mod.

Config

Default Config File:

Please see Nexus mod page for the default configuration.

Source

Github Repo: Advize_ValheimMods

Screenshots

CHANGELOG

Version 2.0.1

Bug Fixes:

  • Fixed mod conflict with VNEI.
    • Special thanks to Fitzrobert for helping to troubleshoot this.
Version 2.0.0

Feature Changes:

  • Redesigned all snapping and grid detection logic.
  • Added alternative (free) placement mode when snapping to a single plant.
    • Loosens the 16 vanilla angles of snapping to allow free 360 degree rotation.
    • Activate by enabling alternative placement, vanilla defaults are as follows.
      • M/KB: Hold left shift during snapping.
      • Gamepad: Toggle with left bumper + right stick.
    • Added [Grid]ForceAltPlacement config option as a permanent toggle (defaults to off).
  • Added visual grid lines indicating row and column direction.
    • Can be toggled on/off with [UI]ShowGridDirections.
    • Colors are configurable.
  • Added toggleable custom piece highlighting for root placement ghost when bulk planting.
    • Can be toggled on/off with [UI]HighlightRootGhost.
    • Highlight color is configurable.
  • Added replant-on-harvest support for 3rd party modded crops.
    • Modded crops are detected automatically.
  • Can now select which crop to replant on harvest.
    • Defaults to replanting existing crop.
    • Change the crop to be replanted by selecting desired crop in the cultivator build table.
    • Hover text on mature crops shows which plant will be planted in its place.
      • Toggle with [UI]ShowHoverReplantHint.
  • Bulk planting is now performed in batches, no amount of concurrent placements can cause the game to hang.
    • Supports planting up to 10,000 pieces at a time (if you have the seeds).
  • Added [UI]ShowGhostsDuringPlacement config setting.
    • Defaults to true.
    • When enabled, displays grey silhouettes of placement ghosts during bulk planting.
  • Added individual grid spacing settings for all plantable pickables.
    • Configuration settings are generated programmatically for each pickable found to have a piece component.

Configuration Changes:

It isn't necessary to delete your previous configuration file, though it is encouraged.

  • Many configuration settings have moved to new setting categories. Too many to mention.
  • Added [Performance]BulkPlantingBatchSize config setting.
  • Removed [General]StandardizeGridRotations setting. Made it baseline and added alt placement in its place.
  • [Difficulty]PreventPartialPlanting now defaults to false.
  • [Controls]ToggleAutoReplantKey now has a default binding of F6.

Pre 2.0 Versions

1.9.2

  • Farming XP when planting in bulk is now batched together and awarded once as opposed to per piece planted.
    • This improves performance significantly upon placement of large grids.

1.9.1

  • Fixed replant on harvest bug introduced with Bog Witch.

1.9.0

  • Updated for Valheim v0.219.13 (Bog Witch).
  • Change snap detection sphere check to NonAlloc version.
  • Prevent NRE if grid extends to unloaded sectors.
  • Added bulk harvest hover text keyhints (configurable).
  • Added build hud keyhints (configurable).

1.8.1

  • Removed SFX and VFX for all but the root placement ghost when planting in bulk.
  • Added [General]MaxConcurrentPlacements config setting.
    • Sets a maximum number of pieces that the cultivator can place in a single placement.

1.8.0

  • Updated for Ashlands.
  • Added 3 new plant health placement statuses.
    • NoAttachPiece, TooHot, TooCold.
  • Added grid snapping support for Smoke Puffs & Fiddlehead.
  • Minor code optimizations and major project refactor.

1.7.3

  • Removed process filters in favor of alternate headless client detection method.
  • Minor code improvements.
  • Compiled against Valheim v0.217.46.

1.7.2

  • Fixed piece placement bug introduced with 1.7.1.
  • Optimized order of short-circuiting condition checks for early return in harmony patches.

1.7.1

  • Smoothed visual transition when changing number of rows/columns.
  • Removed legacy Unity input references.
  • Compiled against Valheim 0.217.38.

1.7.0

  • Fixed mod for Linux clients.
  • Changed the default plant spacing.
    • Removed [General]StandardizeGridSpacing and replaced with MinimizeGridSpacing.
    • With this change, standardized spacing is the new default. Set the new setting to true to restore old behavior.

1.6.3

  • Updated for Valheim v0.217.22.
  • Compiled against BepInEx 5.4.22.
  • AutoReplant now correctly places plants for free when noCost cheat is active.
  • Misc code improvements.

1.6.2

  • Added keyboard shortcut support for configurable toggle keys (e.g. Left Ctrl + F8).

1.6.1

  • Fixed randomized piece / grid rotation introduced in Hildir's Request when crops or saplings are selected in the build menu.
    • Previous grid rotation is once again remembered for subsequent placements.

1.6.0

  • Updated for Valheim v0.217.14 (Hildir's Request).
  • Now allows placement of all valid ghosts even when root ghost is invalid.
  • Added visual feedback for toggle keys.
  • Set process filter to prevent the mod from running on server.

1.5.0

  • Added [General]GloballyAlignGridDirections setting.
    • Defaults to true.
    • Aligns row and column directions with the global grid.
  • Added [General]StandardizeGridSpacing setting.
    • Defaults to false.
    • Allows for uniformly spaced grids between diverse plant types at the cost of requiring more physical space.
  • Added [Controls]ToggleAutoReplantKey setting.
    • Defaults to null, user must set the key to utilize.
    • Toggles [Harvesting]ReplantOnHarvest setting on/off.
  • Fixed snapping of pickable resources.
    • Snap points for all pickables now correctly detect position validity and won't attempt to snap on top of themselves or prevent placement in valid locations.
  • Compatiblity fix with mods adding custom pickables.

1.4.4

  • Added the ability to rotate an entire grid of pieces any time during placement instead of only while snapping to existing grids.

1.4.3

  • Bulk placement no longer applies to viable pieces unless built with the cultivator.

1.4.2

  • Updated for Valheim v0.216.9.

1.4.1

  • Fixed [Harvesting]ReplantOnHarvest functionality in multiplayer environments.

1.4.0

  • Completely overhauled grid snapping!
  • By default, new grids will no longer expand to overlap with an existing grid, nor will new grids diagonally snap to old grids.
  • Added 2 new config settings: GridSnappingStyle and StandardizeGridRotations.

1.3.2

  • Fixed functionality of HarvestStyle.LikeResources that was broken with the release of 1.3.0.

1.3.1

  • Massively reduced system memory use.
  • Additional miscellaneous performance and code optimizations.
  • Compiled against BepInEx 5.4.2105.

1.3.0

  • Bulk harvesting now applies to Beehives in addition to all Pickables.
  • Added CostDisplayStyle and CostDisplayLocation configuration settings to [UI] category.
  • Fixed resource cost of placement when PreventPartialPlanting is disabled.

1.2.0

  • Added auto crop replanting when [Harvesting]ReplantOnHarvest is enabled (defaults to off).
  • Increased sapling spacing from 200% of growth radius to 220%.
  • Added [General]UseStamina config setting.
  • Replaced ExtraPlantSpacing setting with ExtraCropSpacing and ExtraSaplingSpacing.
  • Performance improvements.
  • Mod compatibility improvements.

1.1.2

  • Added support for CraftFromContainers, OdinsCraftyBoxes, and similar mods.
  • Cost for planting multiple resources now reflected in build UI.
    • Can be toggled on/off with new [UI]ShowCost config setting.

1.1.1

  • Fixed plant spacing to ensure crops can grow (saplings may need more tweaking).
  • Fixed casting error when using bulk harvest while interacting with a non-applicable object.
  • Added [General]ExtraPlantSpacing config option to allow for spacing customization.

1.1.0

  • Harvest Easily!
    • Added highly requested bulk harvesting features.
    • Added [Harvesting] section and 4 additional configuration settings.
  • Organized the order that configuration options are listed in the BepInEx Configuration Manager.

1.0.4

  • Fixed plant validity check when [Crops]CropsRequireSunlight is set to false in PlantEverything.

1.0.3

  • Changed default keybind for toggling snapping features.
  • Added config option [Pickables]PreventOverlappingPlacements (defaults to true).
    • When enabled, pickable resources can no longer be placed over top of one another or on any other colliding obstructions.

1.0.2

  • Fixed biome validity check on pieces with Plant components.
  • Appropriate and localized error messages now display when placement is prevented by either PreventPartialPlanting or PreventInvalidPlanting.

1.0.1

  • Bumped version to correct documentation.

1.0.0

  • Created Mod.