Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow templates to snap (to resources) #28

Open
Garanas opened this issue Aug 30, 2023 · 0 comments
Open

Allow templates to snap (to resources) #28

Garanas opened this issue Aug 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Garanas
Copy link
Member

Garanas commented Aug 30, 2023

Description

When you try to build an extractor or a hydrocarbon plant your build preview will snap to the resource deposit. This radius of behavior can be changed via the console commandui_ExtractSnapTolerance .

When you enable a template preview via SetActiveBuildTemplate the snap behavior is disabled, even though the build mode is still set to an extractor or a hydrocarbon plant.

Suggested change

Do not disable the snap behavior. The snap behavior should still apply using the context of the unit that you entered build mode for, unrelated to the units in the template.

What we can do with it

This would allow us to extend the Context based templates feature. By allowing snapping to work with build templates it will be easier to place down templates that include extractors, storages and even fabricators.

@Garanas Garanas added the enhancement New feature or request label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant