Xeio / MassFarming

Mod to assist with large scale farming in Valheim
MIT License
8 stars 7 forks source link

Using Mass plant hotkey resets rotation for other non-plant buildables #24

Open skorpnok opened 3 months ago

skorpnok commented 3 months ago

The custom rotation used by mass plant is also affecting non-plant buildables making building other things very annoying. Adding a check to all assignments of ___m_placeRotation so it only affects things that should be affected by massPlant should fix this.

Perdjesk commented 3 months ago

Could please share a step-by-step example of what is going wrong. There is already a check for the piece rotation of MassFarming to only take effect when the configured hotkey is pressed. Maybe you have a setup with overlapping hotkeys between actions and you are pressing the MassFarming hotkey while building.

skorpnok commented 2 months ago

The default hotkey for disabling snapping during building is shift (iirc) as well as sprinting. When using the hammer to build pressing shift to sprint or disable build piece snapping causes the building hammer to "switch" to the separate mass farming rotation, overwriting the previous rotation. My local "fix" for now has been to change the mass farming hotkey to LeftAlt so it doesn't conflict with sprint and disable snapping.