Skip to content

Allow the Vanilla Alt Place Key to Disable Crop Snapping While Held.#28

Open
searica wants to merge 1 commit intoAdvizeGH:mainfrom
searica:feat/alt_place_key
Open

Allow the Vanilla Alt Place Key to Disable Crop Snapping While Held.#28
searica wants to merge 1 commit intoAdvizeGH:mainfrom
searica:feat/alt_place_key

Conversation

@searica
Copy link
Copy Markdown
Contributor

@searica searica commented Dec 23, 2024

Allows for disabling snapping of crops whenever the Vanilla AltPlace key is held (default Vanilla keybind is LeftShift) by checking for whether the key is held as part of the config.SnapActive property getter.

Allows for disabling snapping of crops whenever the Vanilla `AltPlace` key is held (default Vanilla keybind is `LeftShift`).
@AdvizeGH
Copy link
Copy Markdown
Owner

AdvizeGH commented Mar 4, 2025

Apologies for the slow response, I've only just returned to active modding after a long break. As of v2.0.0 alt placement is already reserved for allowing free 360 degree rotation when snapping one or more pieces to a single piece. The following is taken from the 2.0.0 changelog:

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

It would appear that using alternative placement for this functionality was a shortsighted decision, especially since it is only applicable when snapping to a single piece. Alas, keybind real estate is in short supply and even moreso for gamepad. I'll have to consider how I might retain that feature while still allowing alt placement to soft toggle snapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants