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

Airtanks & Batteries #14

Merged
merged 5 commits into from
Jan 25, 2025

Conversation

Squird5
Copy link

@Squird5 Squird5 commented Jan 15, 2025

Real Gas Laws and Thermodynamics when????

Description

Emergency air tanks don't last long enough. Flashlights don't last long enough. Flashlights break when left on for too long and replacing their power cell doesn't fix them. Power dies on the station in as little as five minutes.

Now they work.

Tested on multiple maps, changes to the SMES, SS and APCs result in uninterrupted power for around 15 minutes before the Substations for Science and Medical start to fail, putting them on a APC power for a few minutes before going dark.

Emergency air tanks and tanks in general last longer. Emergency tanks start will a full capacity.

Flashlights last 8x longer and shut off without dimming or flashing when empty. They now work normally after replacing the cell.
The blinking fix was lazy after a few hours of not having any success in resetting the animation system. Instead I just commented it all out. Now your brightness is binary.


Changelog

🆑

  • tweak: Greatly improved APC, Substation and SMES capacities
  • tweak: Improved air tank capacities
  • tweak: Greatly improved flashlight duration
  • fix: Flashlights permanently blinking if they ever reached low power

@@ -202,7 +202,7 @@ public static class Atmospherics
/// <summary>
/// This is calculated to help prevent singlecap bombs (Overpowered tritium/oxygen single tank bombs)
/// </summary>
public const float MinimumTritiumOxyburnEnergy = 143000f;
public const float MinimumTritiumOxyburnEnergy = 429000f;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sneakycode to make bombs more powerful?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently that is correlated to the volume of the container or something, and there was a comment specifically to adjust that when adjusting tank volumes

@Eneocho Eneocho added Tweak I changed the thermostat from 70 degrees to 69 degrees. and removed Changes: YML Changes: C# labels Jan 17, 2025
@sleepyyapril
Copy link

y'all gotta upstream this fr

@Squird5
Copy link
Author

Squird5 commented Jan 20, 2025

y'all gotta upstream this fr

As in, you want EE main to have these as well?

@spess-empyrean
Copy link
Collaborator

Going to merge this now but we will need to fix the tests later.

@spess-empyrean spess-empyrean merged commit 47dc053 into vgstation-coders:master Jan 25, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes: YML Tweak I changed the thermostat from 70 degrees to 69 degrees.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants