Cleanup: Remove `TelephoneComponent.RequiresPower` (#38823)
* Cleanup * Forgot about yml
This commit is contained in:
@@ -490,6 +490,6 @@ public sealed class TelephoneSystem : SharedTelephoneSystem
|
||||
|
||||
public bool IsTelephonePowered(Entity<TelephoneComponent> entity)
|
||||
{
|
||||
return this.IsPowered(entity, EntityManager) || !entity.Comp.RequiresPower;
|
||||
return this.IsPowered(entity, EntityManager);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,12 +81,6 @@ public sealed partial class TelephoneComponent : Component
|
||||
[DataField]
|
||||
public float ListeningRange = 2;
|
||||
|
||||
/// <summary>
|
||||
/// Specifies whether this telephone require power to fucntion
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool RequiresPower = true;
|
||||
|
||||
/// <summary>
|
||||
/// This telephone should not appear on public telephone directories
|
||||
/// </summary>
|
||||
|
||||
@@ -190,6 +190,7 @@
|
||||
acts: [ "Destruction" ]
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 1000
|
||||
needsPower: false
|
||||
- type: StationAiCore
|
||||
- type: StationAiVision
|
||||
- type: InteractionOutline
|
||||
@@ -218,7 +219,6 @@
|
||||
listeningRange: 0
|
||||
speakerVolume: Speak
|
||||
unlistedNumber: true
|
||||
requiresPower: false
|
||||
- type: Holopad
|
||||
- type: StationAiWhitelist
|
||||
- type: UserInterface
|
||||
|
||||
Reference in New Issue
Block a user