-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Combine vehicle + mech + storage air #32082
base: master
Are you sure you want to change the base?
Conversation
ripley mk2 real 100% no fake |
It does not seem to do anything.
H.O.N.K air-tight when? |
wyci |
Content.Server/Atmos/Piping/Unary/EntitySystems/GasCanisterSystem.cs
Outdated
Show resolved
Hide resolved
Honestly quite incredible that there has not been a merge conflict yet. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
you coming back to this? |
Yes, I want to, just been busy. Will get to this after work today. |
Actually, I don't have the energy or motivation to look into that failed test right now. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
About the PR
This unifies the air previously stored in
MechAirComponent
s,EntityStorageComponent
s,DisposalUnitComponent
s,DisposalHolderComponent
s andCryoPodComponent
s into a single, newInternalAirComponent
.This fixes #19692 and is part of #28412.
Why / Balance
I would like vehicles to return.
Technical details
Same as above.
The new component is pretty much just a holder for internal air, the other systems still need to do a lot of the specifics manually. (containers need to take in air when opened, for example)
Furthermore, this removes the need for
EntityStorageComponent
s andDisposalUnitComponent
s to be split between the client and server. They both have been reduced to a single, identical component in Shared. (The only difference before was that the Air was store server-side only, which is now handled by theInternalAirComponent
being in Server.)Media
Nothing visible has changed, really. The game still behaves the same.
Technically, the amount of air in crates and lockers and stuff has gone from 200 down to 100 and the air in mechs has gone up from 70 to 100.
The exact numbers here don't really matter so I didn't write them all out in the yml files.
The numbers for the gas tanks remain identical to what they used to be though.
Requirements
Breaking changes
"many such cases"
What broke?
Most components that used to have an
Air
property now no longer do.The
Air
property has been moved to a newInternalAirComponent
.How to fix it?
Add this new component to any broken entity that needs it and update code to reference it instead of the now non-existent
Air
property on the other component.Changelog
I would love to tease the return of vehicles here but, knowing my motivation, that's probably a bad idea.