Adds the Central Command outpost for Roundend and ERT to spawn at. (#9146)
* Adds Reach II * Updated Reach II to work after refactor * removing old map * Adding the Central Command outpost * Reachii isn't meant to be in here at all. * updated possible error in .yml * updating .yml * Updated CentComm, fixed some issues like lighting. * Imagine if we also docked at centcomm * a Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
5e316afe86
commit
6325a10a43
@@ -1,3 +1,4 @@
|
||||
using Content.Server.Doors.Components;
|
||||
using Content.Server.Doors.Systems;
|
||||
using Content.Server.Shuttles.Components;
|
||||
using Content.Server.Shuttles.Events;
|
||||
@@ -322,6 +323,16 @@ namespace Content.Server.Shuttles.Systems
|
||||
dockA.DockJoint = joint;
|
||||
dockB.DockJoint = joint;
|
||||
|
||||
if (TryComp<AirlockComponent>(dockA.Owner, out var airlockA))
|
||||
{
|
||||
airlockA.SetBoltsWithAudio(true);
|
||||
}
|
||||
|
||||
if (TryComp<AirlockComponent>(dockB.Owner, out var airlockB))
|
||||
{
|
||||
airlockB.SetBoltsWithAudio(true);
|
||||
}
|
||||
|
||||
if (TryComp(dockA.Owner, out DoorComponent? doorA))
|
||||
{
|
||||
doorA.ChangeAirtight = false;
|
||||
@@ -406,6 +417,16 @@ namespace Content.Server.Shuttles.Systems
|
||||
if (dock.DockedWith == null)
|
||||
return;
|
||||
|
||||
if (TryComp<AirlockComponent>(dock.Owner, out var airlockA))
|
||||
{
|
||||
airlockA.SetBoltsWithAudio(false);
|
||||
}
|
||||
|
||||
if (TryComp<AirlockComponent>(dock.DockedWith, out var airlockB))
|
||||
{
|
||||
airlockB.SetBoltsWithAudio(false);
|
||||
}
|
||||
|
||||
if (TryComp(dock.Owner, out DoorComponent? doorA))
|
||||
{
|
||||
doorA.ChangeAirtight = true;
|
||||
|
||||
Reference in New Issue
Block a user