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, GetInteractionVerbsEvent>(OnVerb);
|
||||||
SubscribeLocalEvent<DockingComponent, BeforeDoorAutoCloseEvent>(OnAutoClose);
|
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)
|
private void OnAutoClose(EntityUid uid, DockingComponent component, BeforeDoorAutoCloseEvent args)
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
docking-component-dock = dock
|
docking-component-dock = Dock
|
||||||
docking-component-undock = undock
|
docking-component-undock = Undock
|
||||||
|
|||||||
@@ -6984,11 +6984,9 @@ entities:
|
|||||||
ents: []
|
ents: []
|
||||||
type: ContainerContainer
|
type: ContainerContainer
|
||||||
- uid: 656
|
- uid: 656
|
||||||
type: AirlockExternalLocked
|
type: AirlockShuttle
|
||||||
components:
|
components:
|
||||||
- name: Escape Shuttle Dock
|
- rot: -1.5707963267948966 rad
|
||||||
type: MetaData
|
|
||||||
- rot: 4.371139006309477E-08 rad
|
|
||||||
pos: -41.5,8.5
|
pos: -41.5,8.5
|
||||||
parent: 853
|
parent: 853
|
||||||
type: Transform
|
type: Transform
|
||||||
@@ -7037,11 +7035,9 @@ entities:
|
|||||||
ents: []
|
ents: []
|
||||||
type: ContainerContainer
|
type: ContainerContainer
|
||||||
- uid: 661
|
- uid: 661
|
||||||
type: AirlockExternalLocked
|
type: AirlockShuttle
|
||||||
components:
|
components:
|
||||||
- name: Escape Shuttle Dock
|
- rot: -1.5707963267948966 rad
|
||||||
type: MetaData
|
|
||||||
- rot: 4.371139006309477E-08 rad
|
|
||||||
pos: -41.5,4.5
|
pos: -41.5,4.5
|
||||||
parent: 853
|
parent: 853
|
||||||
type: Transform
|
type: Transform
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
id: AirlockShuttle
|
id: AirlockShuttle
|
||||||
parent: BaseStructure
|
parent: BaseStructure
|
||||||
name: airlock
|
name: airlock
|
||||||
|
suffix: Docking
|
||||||
description: Necessary for connecting two space craft together.
|
description: Necessary for connecting two space craft together.
|
||||||
components:
|
components:
|
||||||
- type: Docking
|
- type: Docking
|
||||||
|
|||||||
Reference in New Issue
Block a user