Replace AdvertiseComponent with DatasetVocalizerComponent (#38887)

* Replace AdvertiseComponent with DatasetVocalizerComponent

* No vocalizing while broken or without power

* Kill AdvertiseComponent/System

* This really shouldn't be here

* xmldoc for VocalizerRequiresPowerComponent

* TryIndex -> Index
This commit is contained in:
Tayrtahn
2025-07-10 14:12:24 -04:00
committed by GitHub
parent a97223bc70
commit ecbff409b6
14 changed files with 231 additions and 271 deletions

View File

@@ -27,4 +27,11 @@ public sealed partial class VocalizerComponent : Component
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
[AutoPausedField]
public TimeSpan NextVocalizeInterval = TimeSpan.Zero;
/// <summary>
/// If true, messages spoken by this vocalizer will not be logged in the chat window
/// and will only be shown as speech bubbles.
/// </summary>
[DataField]
public bool HideChat;
}