-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Adds the thermo-electric generator #18840
Conversation
Connects via node group.
Make it work properly when mapped.
Now uses a fixed supplier with a custom ramping system.
Removed separate Enabled bool from the component that always matched the power receiver's state. This enables adding a PowerSwitch component to give us alt click/verb menu.
RSI Diff Bot; head commit 12e5a68 merging into 61bf951 Resources/Textures/Structures/Power/Generation/teg.rsi
|
for real tegheads only |
conflicts slightly with #18831 probably |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change to this file looks like it can be merg now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make separate pr for it or something (we need this now!!!!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went insane while starting my TEG every time on my test map so that's why it's here. Can't be arsed to cherry pick it. In fact, more coming up...
/// Last amount of energy added/removed from the attached pipe network | ||
/// </summary> | ||
[DataField("lastEnergyDelta")] | ||
[ViewVariables(VVAccess.ReadWrite)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be RW? It looks like it should be read-only since it's written to only in the ThermoMachineSystem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RW should be default for components IMO. Sure it's not useful, but having to pick and choose is meh.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Content.Server/Atmos/Piping/Unary/EntitySystems/GasThermoMachineSystem.cs
Outdated
Show resolved
Hide resolved
/// <summary> | ||
/// A value in the range 0-1. | ||
/// </summary> | ||
/* L + */ Ratio, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
funny crash when deleting/deconstructing things linked to a sensor monitor console
|
That wouldn't be a good fix. Best I can do is a TODO. That said you reminded me there's similar bugs with the TEG itself. Crap. |
FYI @deltanedas the sensor monitoring console would still need a ton of work to make it... actually mappable. There's a reason it's so short-sighted, half-assed and filled with TODOs. I'm not intending to finish it in this PR. |
even if it shouldnt be mapped its possible an admeme might spawn it, letting someone easily crash server is bad |
if an admin is dumb enough to spawn it we can just yell at them |
Opening it would shit up the server's network connection in its current state. |
Use TimedDespawn instead. The "no show in right-click menuu" goes into a new general-purpose component. Thanks Julian.
Wait that was also sensor monitoring. My bad. |
Fixed rotation on GuideEntityEmbed not working correctly. Added Margin property to GuideEntityEmbed
So it doesn't appear in the guidebook and spawn menu.
This reverts commit a242af5.
About the PR
Holy fuck it real.
Media
Content.Client_ldp8qd6RlI.mp4
Changelog
🆑