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

Improved flight permissions #16

Closed
wants to merge 4 commits into from

Conversation

SwissalpS
Copy link
Contributor

Gives other mods a hook to influence where hanggliders may/can fly.
E.g. disallow in vacuum or over admin base.

Also renames can_fly() to friendly_airspace() as the name was misleading.

provide a way for other mods to decide where gliders are permited
The name confused me over and over again. The function doesn't check flight-ability at all, it rather checks permission / friendlyness of area.

safe_node_below() does more of what 'can_fly' implies.
@SwissalpS SwissalpS added the enhancement New feature or request label Apr 11, 2024
@SwissalpS
Copy link
Contributor Author

I just saw #14. Sounds like there is a more mature approach?

@SwissalpS SwissalpS closed this Apr 11, 2024
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

Successfully merging this pull request may close these issues.

1 participant