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

@@ -0,0 +1,9 @@
namespace Content.Server.Vocalization.Components;
/// <summary>
/// Used in combination with <see cref="VocalizerComponent"/>.
/// Blocks any attempts to vocalize if the entity has an <see cref="ApcPowerReceiverComponent"/>
/// and is currently unpowered.
/// </summary>
[RegisterComponent]
public sealed partial class VocalizerRequiresPowerComponent : Component;