Station event component and system tweaks (#28331)
* Make anomaly, artifact and gifts events announcement sound optional * Requested changes + Added new "GameRuleAfterAddedEvent" for StationEventSystem We need to call "Add" in "StationEventSystem" after others GameRule's in case if we need to change StationEventComponent variables. * Fix margins * Makes use of GameRuleComponent.Delay and remove station system handling of delays plus small cleanup * Fix merge --------- Co-authored-by: AJCM <AJCM@tutanota.com>
This commit is contained in:
@@ -16,10 +16,10 @@ public sealed class SurveillanceCameraMicrophoneSystem : EntitySystem
|
||||
SubscribeLocalEvent<SurveillanceCameraMicrophoneComponent, ComponentInit>(OnInit);
|
||||
SubscribeLocalEvent<SurveillanceCameraMicrophoneComponent, ListenEvent>(RelayEntityMessage);
|
||||
SubscribeLocalEvent<SurveillanceCameraMicrophoneComponent, ListenAttemptEvent>(CanListen);
|
||||
SubscribeLocalEvent<ExpandICChatRecipientstEvent>(OnExpandRecipients);
|
||||
SubscribeLocalEvent<ExpandICChatRecipientsEvent>(OnExpandRecipients);
|
||||
}
|
||||
|
||||
private void OnExpandRecipients(ExpandICChatRecipientstEvent ev)
|
||||
private void OnExpandRecipients(ExpandICChatRecipientsEvent ev)
|
||||
{
|
||||
var xformQuery = GetEntityQuery<TransformComponent>();
|
||||
var sourceXform = Transform(ev.Source);
|
||||
|
||||
Reference in New Issue
Block a user