-
Notifications
You must be signed in to change notification settings - Fork 566
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
Allows maintenance jack to be quick drawn #6275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All overrides to flags_atom need to be looked at.
For example /obj/item/weapon/gun/launcher/rocket
can normally go into your suit slot and you can press E to draw it, but since /obj/item/weapon/gun
overrides flags_atom it now no longer does so since you need the QUICK_DRAWABLE
flag, and it doesn't have it.
You may consider using ::
to |= existing flags in definitions; but honestly there aren't that many to fix. The regex to find all weapon definitions in this scenario is probably something like ^/obj/item/weapon/[\w/]*?$((.|\n)(?!^/))*?flags_atom ?=(?!^/)
About the pull request
Allows maintenance jack to be quick drawn as well as adding a flag that allows to replicate this behavior for other items.
Explain why it's good for the game
Quality of life, Requested by a player
Testing Photographs and Procedure
Screenshots & Videos
Put screenshots and videos here with an empty line between the screenshots and the
<details>
tags.Changelog
🆑
qol: Maintenance jack can now be quick drawn
code: Added a flag that allows items to be quick draw-able despite not being weapons.
/:cl: