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
Flockdrone manual control rework #11654
Flockdrone manual control rework #11654
Conversation
Nice On line 130 just after /mob/living/intangible/flock/click(atom/target, params), could remove the closeContextActions() line I think Could remove Flock context action icons if they aren't going to be used again? Current selection of Flock tasks is fine but there's some things left out like butchering, deconstructing, repairing Flock things other than Flockbits and Flockdrones. Could maybe check the user's intent for some of that, which ends up being a bit complicated so not necessary. Would be possible for repairing other Flock things but would still be kind of a lot |
Co-authored-by: Ryan <53062374+FlameArrow57@users.noreply.github.com>
Co-authored-by: Ryan <53062374+FlameArrow57@users.noreply.github.com>
Will get around to the other stuff tomorrow, although I don't think flockminds have intents? |
Yeah nvm |
Co-authored-by: Ryan <53062374+FlameArrow57@users.noreply.github.com>
Cool. Only other thing in mind would be I guess checking for the flock atom property and then could maybe use that to find other repairable targets, but not necessary. Looks good otherwise |
[REWORK] [GAMEMODES] [UI] [WIKI]
About the PR
Replaces the finnicky flockdrone contextActions menu with a simpler context sensitive control ability.
Clicking on an allied flockdrone will now select it, giving you a targeting cursor that changes the flockdrone's AI task based on what you click on.
Why's this needed?
Turns out context action menus are far too slow and clunky for flockdrone control, and since it's easily possible to infer meaning from what you clicked on, we may as well do that instead.
Changelog