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

Cryo Tube Rework #6058

Merged
merged 14 commits into from
Apr 6, 2024
Merged

Cryo Tube Rework #6058

merged 14 commits into from
Apr 6, 2024

Conversation

Drulikar
Copy link
Contributor

@Drulikar Drulikar commented Mar 31, 2024

About the pull request

This PR reworks the cryotubes. The effect of diluting or multiplying chemicals is no longer possible, but now the use of cryoxadone or clonexadone in a cryotube can allow chemicals to process in the dead. Ultimately usage of the cryo chemicals will be much higher, and you need to be careful not to introduce too many chemicals into your patient because the dosage is 5u whenever cryoxadone or clonexadone is available and can be administered.

Cryotubes also now actually require power, update their icon if they lose power, and use the two-ping sfx for warnings (such as now warnings as the patient's revive timer is running out). For the critical messages, it will make an alert if the patient is dead, then once they hit the 50% mark (2.5 mins), then at the 1 minute mark.

See testing for a demonstration.

Explain why it's good for the game

Cryotubes in general are very underused with the exception of exploiting how it can multiply chemicals. This should give them a unique feature to medbay.

It is likely that this may prove to be too powerful, but it puts more demand on chemistry to provide the cryoxadone or clonexadone in order to do so.

Testing Photographs and Procedure

Screenshots & Videos

Initial testing:
https://youtu.be/PA43YvzDRVM

Critical (dead state) alert testing:
https://youtu.be/PLjQxzv28l8

Notification changes:
release

Power fixes:
power

Changelog

🆑 Drathek
balance: Cryotubes no longer multiply chemicals.
balance: Cryotubes can now allow chemicals to process in dead if cryoxadone or clonexadone is present.
fix: Fixed cryotubes not actually updating their icons/power usage when they become unpowered.
fix: Fixed cryotubes healing despite inoperable.
fix: The cryotube Eject Occupant verb now works for people other than the occupant (useful if inoperable)
ui: Cryotubes can optionally announce again on the medical channel.
/:cl:

@github-actions github-actions bot added the Balance You need to be a professional veteran game maintainer to comprehend what is being done here. label Mar 31, 2024
@Drulikar Drulikar added Fix Fix one bug, make ten more Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. labels Mar 31, 2024
@Drulikar Drulikar added the UI deletes nanoui/html label Apr 1, 2024
@Drulikar Drulikar added the Refactor Make the code harder to read label Apr 1, 2024
@harryob harryob added this pull request to the merge queue Apr 6, 2024
Merged via the queue into cmss13-devs:master with commit f923f9f Apr 6, 2024
26 checks passed
@Drulikar Drulikar deleted the Cryo_Tube_Rework branch April 6, 2024 11:03
cm13-github added a commit that referenced this pull request Apr 6, 2024
github-merge-queue bot pushed a commit that referenced this pull request Apr 12, 2024
# About the pull request

This PR is a follow up to #6058 where it was brought to my attention
that chemicals were still duplicating from cryotube beakers. This is
because the cryotube was trying to simulate the patient being immersed
in the reagents, but with a 50% permeability that doesn't even consume
the reacted reagents, it easily gets out of control if large volumes are
involved and or the ratio of cryo meds is small in the mixture causing
frequent reapplications of reagents.

# Explain why it's good for the game

It was intended to remove chemical duplication via cyropods. This shores
up another source of chemical duplication.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>


![cryo](https://github.com/cmss13-devs/cmss13/assets/76988376/26b19859-9d86-48e4-8800-be34089cf1d8)

After rework 200 bicaradine and 20 cryoxadone:


![image](https://github.com/cmss13-devs/cmss13/assets/76988376/3551f146-f874-4700-bf67-c7a9f2aebb87)

</details>


# Changelog
:cl: Drathek
fix: Fixed cryotubes still duplicating chemicals because of touch
reactions
/:cl:
github-merge-queue bot pushed a commit that referenced this pull request Apr 22, 2024
# About the pull request

This PR is sort of a follow up to #6058 expanding on the bleeding stop
effect for cryotubes allowing them to also seal external bleeding.

Since internal bleeding did not cap the reduction in blood loss, it
could underflow resulting in blood being added for the last tick. This
is now fixed.

# Explain why it's good for the game

Cryotubes already cure IB when cryo chemicals are used because of the
patient reaching low temperatures, so I see little reason why the effect
wouldn't also occur for external bleeding if you're in a cryotube.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>


https://github.com/cmss13-devs/cmss13/assets/76988376/7dffed9b-051c-4cfc-9c01-7314766d5d15

</details>


# Changelog
:cl:
balance: Cryotubes now also cure external bleeding
fix: Fixed internal bleeding granting blood on its last tick
/:cl:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Fix Fix one bug, make ten more Refactor Make the code harder to read UI deletes nanoui/html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants