Maps docking airlocks onto saltern (#5279)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
docking-component-dock = dock
|
||||
docking-component-undock = undock
|
||||
docking-component-dock = Dock
|
||||
docking-component-undock = Undock
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
id: AirlockShuttle
|
||||
parent: BaseStructure
|
||||
name: airlock
|
||||
suffix: Docking
|
||||
description: Necessary for connecting two space craft together.
|
||||
components:
|
||||
- type: Docking
|
||||
|
||||
Reference in New Issue
Block a user