* Cleanup
* Forgot about yml
public bool IsTelephonePowered(Entity<TelephoneComponent> entity)
{
- return this.IsPowered(entity, EntityManager) || !entity.Comp.RequiresPower;
+ return this.IsPowered(entity, EntityManager);
}
}
[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>
acts: [ "Destruction" ]
- type: ApcPowerReceiver
powerLoad: 1000
+ needsPower: false
- type: StationAiCore
- type: StationAiVision
- type: InteractionOutline
listeningRange: 0
speakerVolume: Speak
unlistedNumber: true
- requiresPower: false
- type: Holopad
- type: StationAiWhitelist
- type: UserInterface