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] [MODULAR] Anesthetic mask will give an error message when placed via mapping #638

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

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

About The Pull Request

These should cause CI to fail when placed via mapping. Now, they will! They will also self-delete if accidentally spawned via adminnery.

Also fixed a lot of bugs with the code. They were storing a hard ref in a weakref...fixed it so they actually use a real weakref, now, instead of trying to pretend the hardref was a weakref.

How This Contributes To The Skyrat Roleplay Experience

Fixes bugs, makes anesthetic machine work better. Players picking up NODROP items is bad.

Proof of Testing

Still works

dreamseeker_bSqpM4IvAb

dreamseeker_6uoxjJpISJ

The new runtimes

image

Changelog

🆑 vinylspiders
refactor: fixed hard dels associated with anesthetic machine, & the mask item will now cause ci to fail when placed via mapping
fix: you no longer have to violently beat the anesthetic machine to death with the anesthetic tank to load it
fix: fixed a bug that would cause the anesthetic machine to become unusable when a mask gets destroyed (e.g., in a fire or explosion)
/:cl:

…mapping (#24913)

* Anesthetic mask will give an error message when placed via mapping

It shouldn't be allowed to pass CI if it does.

* Don't let them spawn outside of a machine

* Update anesthetic_machine.dm

* Gets rid of remaining anesthetic masks
@Iajret Iajret merged commit 9fb3e69 into master Nov 15, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-24913 branch November 15, 2023 09:40
AnywayFarus added a commit that referenced this pull request Nov 15, 2023
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