Maps docking airlocks onto saltern (#5279)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
mirrorcult
2021-11-12 18:46:27 -07:00
committed by GitHub
parent 08aeb2d101
commit a731e545a9
4 changed files with 7 additions and 23 deletions

View File

@@ -52,19 +52,6 @@ namespace Content.Server.Shuttles
SubscribeLocalEvent<DockingComponent, GetInteractionVerbsEvent>(OnVerb);
SubscribeLocalEvent<DockingComponent, BeforeDoorAutoCloseEvent>(OnAutoClose);
SubscribeLocalEvent<DockingComponent, DoorOpenAttemptEvent>(OnDoorOpenAttempt);
SubscribeLocalEvent<DockingComponent, DoorCloseAttemptEvent>(OnDoorCloseAttempt);
}
// Won't allow users to override door controls
private void OnDoorOpenAttempt(EntityUid uid, DockingComponent component, DoorOpenAttemptEvent args)
{
args.Cancel();
}
private void OnDoorCloseAttempt(EntityUid uid, DockingComponent component, DoorCloseAttemptEvent args)
{
args.Cancel();
}
private void OnAutoClose(EntityUid uid, DockingComponent component, BeforeDoorAutoCloseEvent args)

View File

@@ -1,2 +1,2 @@
docking-component-dock = dock
docking-component-undock = undock
docking-component-dock = Dock
docking-component-undock = Undock

View File

@@ -6984,11 +6984,9 @@ entities:
ents: []
type: ContainerContainer
- uid: 656
type: AirlockExternalLocked
type: AirlockShuttle
components:
- name: Escape Shuttle Dock
type: MetaData
- rot: 4.371139006309477E-08 rad
- rot: -1.5707963267948966 rad
pos: -41.5,8.5
parent: 853
type: Transform
@@ -7037,11 +7035,9 @@ entities:
ents: []
type: ContainerContainer
- uid: 661
type: AirlockExternalLocked
type: AirlockShuttle
components:
- name: Escape Shuttle Dock
type: MetaData
- rot: 4.371139006309477E-08 rad
- rot: -1.5707963267948966 rad
pos: -41.5,4.5
parent: 853
type: Transform

View File

@@ -2,6 +2,7 @@
id: AirlockShuttle
parent: BaseStructure
name: airlock
suffix: Docking
description: Necessary for connecting two space craft together.
components:
- type: Docking