Cult stuff (#348)

* - add: Cult buff protects against spacing.

* - add: Predict RunicDoor.

* - add: Loc.

* - fix: Missing includes.

* - add: Revive rune popups.

* - tweak: Buff rune.

* - fix: Buff rune.
This commit is contained in:
Aviu00
2024-06-12 16:00:45 +00:00
committed by GitHub
parent 2f74b76052
commit af99df5ae0
15 changed files with 47 additions and 27 deletions

View File

@@ -1,6 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using Content.Server.Administration.Logs;
using Content.Server.Atmos.Components;
using Content.Shared._White.Cult.Components;
using Content.Shared.Alert;
using Content.Shared.Atmos;
using Content.Shared.Damage;
@@ -262,7 +263,7 @@ public sealed class BarotraumaSystem : EntitySystem
voidAdaptation.ChemMultiplier = 0.75f;
ActNormalPressure(uid, barotrauma, pressure);
break;
case <= Atmospherics.HazardLowPressure:
case <= Atmospherics.HazardLowPressure when !HasComp<CultBuffComponent>(uid): // WD EDIT
ActLowPressure(uid, barotrauma);
break;
case >= Atmospherics.HazardHighPressure:
@@ -333,4 +334,4 @@ public sealed class BarotraumaSystem : EntitySystem
break;
}
}
}
}