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

Machete self-use will stab yourself instead of cutting flora. #6369

Closed
3 tasks done
blackdragonTOW opened this issue Jun 3, 2024 · 3 comments
Closed
3 tasks done
Labels
Bug Admin events aren't bugs

Comments

@blackdragonTOW
Copy link
Contributor

Testmerges

#6188: 'Research xenomorph "dissections"' by kiVts at commit 7bfa02d #6071: '[V] Sorokyne Strata: fixes and changes .' by Venuska1117 at commit 77b1ffb #6304: 'STEEL DIVISON (Re-introduces 200 pop locked tank) [CODE BOUNTY]' by Red-byte3D at commit b51bd40 #6039: 'Project ARES TM Holder (v5)' by realforest2001 at commit c00cb62 #5513: 'M5 Camera Gear' by realforest2001 at commit 60fc8bd #6358: 'bump rustg version' by harryob at commit cf4f60d #6355: 'ID Mod computer biometrics' by realforest2001 at commit bd4cb15 #6359: 'Adds CKey to ASRS order staff logs.' by realforest2001 at commit 17886e5

Round ID

22482

Description of the bug

Using your machete on self when next to flora and on help intent stabs yourself. (Tested this with both Hurt Yourself preferences)

What's the difference with what should have happened?

/obj/item/weapon/sword/machete/attack_self(mob/user) implies that if you use it on self it will clear flora much like how knives can be used to remove shrap.

How do we reproduce this bug?

  1. Create a human next to any flora object
  2. Create a /obj/item/weapon/sword/machete/
  3. Make sure you're on help intent
  4. Use the machete on self
  5. --> You will try to stab yourself instead of removing the flora
    ...

Issue Bingo

@blackdragonTOW blackdragonTOW added the Bug Admin events aren't bugs label Jun 3, 2024
@JackieEstegado
Copy link
Contributor

Cant replicate, can you show in a video how you are doing it?

@Tyranicranger4
Copy link
Contributor

Tyranicranger4 commented Jun 7, 2024

Dumb question, but you are using the machete on itself, not yourself, right?

@blackdragonTOW
Copy link
Contributor Author

A fantastic question actually! I am very dumb, when I was reading through the code I assumed that the self refereed to implied the human rather than the self on the machete. After further testing this does work as intended and I just completely misunderstood the intended use function both in code and in game!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Admin events aren't bugs
Projects
None yet
Development

No branches or pull requests

3 participants