public SoundSpecifier ShockNoises = new SoundCollectionSpecifier("sparks");
[DataField, AutoNetworkedField]
- public SoundPathSpecifier AirlockElectrifyDisabled = new("/Audio/Machines/airlock_electrify_on.ogg");
+ public SoundPathSpecifier AirlockElectrifyDisabled = new("/Audio/Machines/airlock_electrify_off.ogg");
[DataField, AutoNetworkedField]
- public SoundPathSpecifier AirlockElectrifyEnabled = new("/Audio/Machines/airlock_electrify_off.ogg");
+ public SoundPathSpecifier AirlockElectrifyEnabled = new("/Audio/Machines/airlock_electrify_on.ogg");
[DataField, AutoNetworkedField]
public bool PlaySoundOnShock = true;
{
_electrify.SetElectrified((args.Target.Value, eletrifiedComp), !eletrifiedComp.Enabled);
var soundToPlay = eletrifiedComp.Enabled
- ? eletrifiedComp.AirlockElectrifyDisabled
- : eletrifiedComp.AirlockElectrifyEnabled;
+ ? eletrifiedComp.AirlockElectrifyEnabled
+ : eletrifiedComp.AirlockElectrifyDisabled;
_audio.PlayLocal(soundToPlay, args.Target.Value, args.User);
_adminLogger.Add(LogType.Action,
LogImpact.Medium,
_adminLogger.Add(LogType.Action, $"{args.User} set electrified status on {ent} to [{args.Electrified}] using the Station AI radial.");
_electrify.SetElectrified((ent, component), args.Electrified);
var soundToPlay = component.Enabled
- ? component.AirlockElectrifyDisabled
- : component.AirlockElectrifyEnabled;
+ ? component.AirlockElectrifyEnabled
+ : component.AirlockElectrifyDisabled;
_audio.PlayLocal(soundToPlay, ent, args.User);
}
}