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

[MIRROR] Improves parapen feedback #1058

Merged
merged 1 commit into from
Sep 22, 2023
Merged

[MIRROR] Improves parapen feedback #1058

merged 1 commit into from
Sep 22, 2023

Conversation

SierraHelper
Copy link
Collaborator

Оригинальный PR: Baystation12#34176

A bug was reported that parapens weren't working. Turns out they were working, they just had HORRIBLE feedback. I suspect this is because the old attack() procs that were moved to use_weapon() used to handle feedback.

This was fixed. You now get feedback if you inject someone with any intent. If you inject with harm intent, it will play the regular use_weapon attack animation, sounds, and feedback while also injecting someone. If you inject with any other intent, it will give 'You prick X with the pen'/'you feel a tiny prick' feedback.

If the reagent pen is empty, the entire attack() proc is skipped and it will go through the rest of resolve_attackby. This fixes not being able to use an empty parapen offensively, in case you want to stab eyes out with it. (Which is a thing since the eyestab overhaul!)

@SuhEugene SuhEugene merged commit 7c563ed into dev-sierra Sep 22, 2023
8 checks passed
@SuhEugene SuhEugene deleted the upstream-pr-34176 branch September 22, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants