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] The synth brain surgery now targets the chest and only applies for synths #875

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Original PR: Skyrat-SS13/Skyrat-tg#25308

About The Pull Request

It is a synth positronic brain surgery. The synth brain is defined with zone = BODY_ZONE_CHEST yet the surgery targets the head. It also doesn't even check for only synths, as the name might imply.

Well now it does

How This Contributes To The Skyrat Roleplay Experience

The surgery target should be on the place where the organ is, to avoid confusion between one and the other.

Proof of Testing

Screenshots/Videos Here it is appearing on a synth ![image](https://github.com/Skyrat-SS13/Skyrat-tg/assets/49160555/f5f63093-9374-49e0-a82b-786d76236c23)

Here it is not appearing on john doe
image

Changelog

🆑 Majkl-J
qol: Synth brain surgery now actually targets the synth brain location
/:cl:

…nths (#25308)

* It's a synth surgery

* This might be a bit better

* organising
@Iajret Iajret merged commit ff081d2 into master Nov 29, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-25308 branch November 29, 2023 09:14
AnywayFarus added a commit that referenced this pull request Nov 29, 2023
Iajret pushed a commit that referenced this pull request Feb 9, 2024
* Fixes screwdriver cocktail not being a screwdriver. (#81030)

## About The Pull Request

Alternative title: The screwdriver cocktail is now the world's worst
screwdriver (for real this time).

As mentioned in my writeup in the related issue (#81017), as far as I
know, it has never actually worked.
Tl;dr: It requires `on_transfer` to be called with the method as
ingestion, but in no way does transferring into a drinking glass ever
use that method, and most ways don't even specify a method and thus
`on_transfer` doesn't even get called in the first place.
Then I went back to the original pr and tried it, and it didn't work.

Then for resolving it, it feels unwieldy to do all this trickery on the
reagent to change a value on the drinking glass when the drinking glass
already has the perfect procs for this: the `on_cup_change` and
`on_cup_reset` callbacks.
Instead of using `on_transfer` and registering a hell of a lot of
signals to re-check the master reagent every time the contents get
changed, we just check whether the style we changed into is that of a
screwdriver cocktail.
This actually works.

Oh, and I also added use sounds because it didn't have them, which I
believe only actually get used when using it as a tool and thus only
when it's a screwdriver.
## Why It's Good For The Game

Fixes #81017.
## Changelog
:cl:
fix: As they should've for a while, screwdrivers (cocktail) actually
work as screwdrivers (tool).
sound: The screwdriver cocktail also actually plays the screwdriver
sound when used.
/:cl:

---------

Co-authored-by: Ghom <[email protected]>

* Fixes screwdriver cocktail not being a screwdriver.

---------

Co-authored-by: _0Steven <[email protected]>
Co-authored-by: Ghom <[email protected]>
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