@@ -36,7 +36,7 @@ namespace Content.Server.Atmos.Piping.Trinary.EntitySystems
|
|||||||
SubscribeLocalEvent<GasFilterComponent, ComponentInit>(OnInit);
|
SubscribeLocalEvent<GasFilterComponent, ComponentInit>(OnInit);
|
||||||
SubscribeLocalEvent<GasFilterComponent, AtmosDeviceUpdateEvent>(OnFilterUpdated);
|
SubscribeLocalEvent<GasFilterComponent, AtmosDeviceUpdateEvent>(OnFilterUpdated);
|
||||||
SubscribeLocalEvent<GasFilterComponent, AtmosDeviceDisabledEvent>(OnFilterLeaveAtmosphere);
|
SubscribeLocalEvent<GasFilterComponent, AtmosDeviceDisabledEvent>(OnFilterLeaveAtmosphere);
|
||||||
SubscribeLocalEvent<GasFilterComponent, InteractHandEvent>(OnFilterInteractHand);
|
SubscribeLocalEvent<GasFilterComponent, ActivateInWorldEvent>(OnFilterActivate);
|
||||||
SubscribeLocalEvent<GasFilterComponent, GasAnalyzerScanEvent>(OnFilterAnalyzed);
|
SubscribeLocalEvent<GasFilterComponent, GasAnalyzerScanEvent>(OnFilterAnalyzed);
|
||||||
// Bound UI subscriptions
|
// Bound UI subscriptions
|
||||||
SubscribeLocalEvent<GasFilterComponent, GasFilterChangeRateMessage>(OnTransferRateChangeMessage);
|
SubscribeLocalEvent<GasFilterComponent, GasFilterChangeRateMessage>(OnTransferRateChangeMessage);
|
||||||
@@ -101,7 +101,7 @@ namespace Content.Server.Atmos.Piping.Trinary.EntitySystems
|
|||||||
_userInterfaceSystem.TryCloseAll(uid, GasFilterUiKey.Key);
|
_userInterfaceSystem.TryCloseAll(uid, GasFilterUiKey.Key);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnFilterInteractHand(EntityUid uid, GasFilterComponent filter, InteractHandEvent args)
|
private void OnFilterActivate(EntityUid uid, GasFilterComponent filter, ActivateInWorldEvent args)
|
||||||
{
|
{
|
||||||
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace Content.Server.Atmos.Piping.Trinary.EntitySystems
|
|||||||
|
|
||||||
SubscribeLocalEvent<GasMixerComponent, ComponentInit>(OnInit);
|
SubscribeLocalEvent<GasMixerComponent, ComponentInit>(OnInit);
|
||||||
SubscribeLocalEvent<GasMixerComponent, AtmosDeviceUpdateEvent>(OnMixerUpdated);
|
SubscribeLocalEvent<GasMixerComponent, AtmosDeviceUpdateEvent>(OnMixerUpdated);
|
||||||
SubscribeLocalEvent<GasMixerComponent, InteractHandEvent>(OnMixerInteractHand);
|
SubscribeLocalEvent<GasMixerComponent, ActivateInWorldEvent>(OnMixerActivate);
|
||||||
SubscribeLocalEvent<GasMixerComponent, GasAnalyzerScanEvent>(OnMixerAnalyzed);
|
SubscribeLocalEvent<GasMixerComponent, GasAnalyzerScanEvent>(OnMixerAnalyzed);
|
||||||
// Bound UI subscriptions
|
// Bound UI subscriptions
|
||||||
SubscribeLocalEvent<GasMixerComponent, GasMixerChangeOutputPressureMessage>(OnOutputPressureChangeMessage);
|
SubscribeLocalEvent<GasMixerComponent, GasMixerChangeOutputPressureMessage>(OnOutputPressureChangeMessage);
|
||||||
@@ -147,7 +147,7 @@ namespace Content.Server.Atmos.Piping.Trinary.EntitySystems
|
|||||||
_userInterfaceSystem.TryCloseAll(uid, GasFilterUiKey.Key);
|
_userInterfaceSystem.TryCloseAll(uid, GasFilterUiKey.Key);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnMixerInteractHand(EntityUid uid, GasMixerComponent mixer, InteractHandEvent args)
|
private void OnMixerActivate(EntityUid uid, GasMixerComponent mixer, ActivateInWorldEvent args)
|
||||||
{
|
{
|
||||||
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
if (!EntityManager.TryGetComponent(args.User, out ActorComponent? actor))
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -200,6 +200,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- ShoesRequiredStepTriggerImmune
|
- ShoesRequiredStepTriggerImmune
|
||||||
- DoorBumpOpener
|
- DoorBumpOpener
|
||||||
|
- CanPilot
|
||||||
- type: Emoting
|
- type: Emoting
|
||||||
- type: GuideHelp
|
- type: GuideHelp
|
||||||
guides:
|
guides:
|
||||||
|
|||||||
Reference in New Issue
Block a user