From: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> Date: Sun, 7 Sep 2025 15:10:39 +0000 (-0700) Subject: Atmos dP Guidebook Entry (#40194) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a93f6b8cdf5bdc4c0bf509e0706126eea500b531;p=space-station-14.git Atmos dP Guidebook Entry (#40194) * Add Atmos dP guidebook * Update Resources/ServerInfo/Guidebook/Engineering/DeltaPressure.xml --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --- diff --git a/Content.Server/Atmos/Components/DeltaPressureComponent.cs b/Content.Server/Atmos/Components/DeltaPressureComponent.cs index f90c133dea..8031cd876d 100644 --- a/Content.Server/Atmos/Components/DeltaPressureComponent.cs +++ b/Content.Server/Atmos/Components/DeltaPressureComponent.cs @@ -1,6 +1,7 @@ using Content.Server.Atmos.EntitySystems; using Content.Shared.Damage; using Content.Shared.FixedPoint; +using Content.Shared.Guidebook; namespace Content.Server.Atmos.Components; @@ -87,6 +88,7 @@ public sealed partial class DeltaPressureComponent : Component /// The minimum difference in pressure between any side required for the entity to start taking damage. /// [DataField] + [GuidebookData] public float MinPressureDelta = 7500; /// diff --git a/Resources/Locale/en-US/guidebook/guides.ftl b/Resources/Locale/en-US/guidebook/guides.ftl index b55193fef6..a148c3aba8 100644 --- a/Resources/Locale/en-US/guidebook/guides.ftl +++ b/Resources/Locale/en-US/guidebook/guides.ftl @@ -37,6 +37,7 @@ guide-entry-gasminingandstorage = Gas Mining and Storage guide-entry-atmosphericupsets = Atmospheric Upsets guide-entry-fires = Fires guide-entry-spacing = Spacing +guide-entry-deltapressure = Delta Pressure guide-entry-atmostools = Atmos Tools guide-entry-gasses = Gasses guide-entry-botany = Botany diff --git a/Resources/Prototypes/Guidebook/engineering.yml b/Resources/Prototypes/Guidebook/engineering.yml index 96e049a399..24dc623086 100644 --- a/Resources/Prototypes/Guidebook/engineering.yml +++ b/Resources/Prototypes/Guidebook/engineering.yml @@ -230,6 +230,7 @@ children: - Fires - Spacing + - DeltaPressure - type: guideEntry id: Fires @@ -241,6 +242,11 @@ name: guide-entry-spacing text: "/ServerInfo/Guidebook/Engineering/Spacing.xml" +- type: guideEntry + id: DeltaPressure + name: guide-entry-deltapressure + text: "/ServerInfo/Guidebook/Engineering/DeltaPressure.xml" + - type: guideEntry id: AtmosTools name: guide-entry-atmostools diff --git a/Resources/ServerInfo/Guidebook/Engineering/DeltaPressure.xml b/Resources/ServerInfo/Guidebook/Engineering/DeltaPressure.xml new file mode 100644 index 0000000000..777351245a --- /dev/null +++ b/Resources/ServerInfo/Guidebook/Engineering/DeltaPressure.xml @@ -0,0 +1,69 @@ + + # Delta Pressure + Delta Pressure, or ΔP, is the difference in pressure between two areas. + This difference in pressure can exert a force on objects between the two areas, dealing [bold]pressure damage[/bold] to some objects in its way. + + Various objects made out of glass, such as Windows, Windoors, and Shutters can experience pressure damage if the ΔP between the two sides is high enough. + This damage can cause these objects to shatter, allowing gas to flow freely between the two areas. + + Different types of objects have different thresholds for how much ΔP they can withstand before shattering. + Generally, the stronger the glass, the higher the threshold. Objects that are thin will also have lower thresholds. + + Objects like walls, airlocks, and firelocks are not affected by ΔP. + + ## Standard Glass and Objects + + + + + + + + + Standard full-size glass and other weak objects can withstand a ΔP of up to [color=orange][protodata="Window" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + Quarter-size glass, such as directional windows, can withstand a ΔP of up to [color=orange][protodata="WindowDirectional" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + ## Reinforced Glass and Objects + + + + + + + + Reinforced full-size glass can withstand a ΔP of up to [color=orange][protodata="ReinforcedWindow" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + Reinforced quarter-size glass can withstand a ΔP of up to [color=orange][protodata="WindowReinforcedDirectional" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + ## Plasma/Uranium Glass + + + + + + + + + + Plasma glass and uranium glass can withstand a ΔP of up to [color=orange][protodata="PlasmaWindow" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + Plasma and uranium quarter-size glass can withstand a ΔP of up to [color=orange][protodata="PlasmaWindowDirectional" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + ## Reinforced Plasma/Uranium Glass + + + + + + + + + + + + Reinforced plasma glass and uranium glass can withstand a ΔP of up to [color=orange][protodata="ReinforcedPlasmaWindow" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + + Reinforced plasma and uranium quarter-size glass can withstand a ΔP of up to [color=orange][protodata="PlasmaReinforcedWindowDirectional" comp="DeltaPressure" member="MinPressureDelta"/] kPa[/color] before starting to crack. + +