Atmos Ops: dP Guidebook Entry (#4906)

Atmos dP Guidebook Entry (#40194)

* Add Atmos dP guidebook

* Update Resources/ServerInfo/Guidebook/Engineering/DeltaPressure.xml

---------


(cherry picked from commit a93f6b8cdf5bdc4c0bf509e0706126eea500b531)

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
zelezniciar1 2025-12-08 00:03:46 +00:00 committed by GitHub
parent d86ae4278e
commit 5060736956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 78 additions and 0 deletions

View File

@ -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;
@ -82,6 +83,7 @@ public sealed partial class DeltaPressureComponent : Component
/// The minimum difference in pressure between any side required for the entity to start taking damage.
/// </summary>
[DataField]
[GuidebookData]
public float MinPressureDelta = 7500;
/// <summary>

View File

@ -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

View File

@ -231,6 +231,7 @@
children:
- Fires
- Spacing
- DeltaPressure
- type: guideEntry
id: Fires
@ -242,6 +243,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

View File

@ -0,0 +1,69 @@
<Document>
# 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
<Box>
<GuideEntityEmbed Entity="Window" Caption=""/>
<GuideEntityEmbed Entity="WindowDirectional" Caption=""/>
<GuideEntityEmbed Entity="Windoor" Caption=""/>
<GuideEntityEmbed Entity="ShuttersWindow" Caption=""/>
<GuideEntityEmbed Entity="InflatableWall" Caption=""/>
</Box>
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
<Box>
<GuideEntityEmbed Entity="ReinforcedWindow" Caption=""/>
<GuideEntityEmbed Entity="WindowReinforcedDirectional" Caption=""/>
<GuideEntityEmbed Entity="WindoorSecure" Caption=""/>
<GuideEntityEmbed Entity="ShuttleWindow" Caption=""/>
</Box>
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
<Box>
<GuideEntityEmbed Entity="PlasmaWindow" Caption=""/>
<GuideEntityEmbed Entity="PlasmaWindowDirectional" Caption=""/>
<GuideEntityEmbed Entity="WindoorPlasma" Caption=""/>
<GuideEntityEmbed Entity="UraniumWindow" Caption=""/>
<GuideEntityEmbed Entity="UraniumWindowDirectional" Caption=""/>
<GuideEntityEmbed Entity="WindoorUranium" Caption=""/>
</Box>
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
<Box>
<GuideEntityEmbed Entity="ReinforcedPlasmaWindow" Caption=""/>
<GuideEntityEmbed Entity="PlasmaReinforcedWindowDirectional" Caption=""/>
<GuideEntityEmbed Entity="WindoorSecurePlasma" Caption=""/>
<GuideEntityEmbed Entity="ReinforcedUraniumWindow" Caption=""/>
<GuideEntityEmbed Entity="UraniumReinforcedWindowDirectional" Caption=""/>
<GuideEntityEmbed Entity="WindoorSecureUranium" Caption=""/>
</Box>
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.
</Document>