Allow pacifists to use disabling modes of energy magnum and energy shotgun (#41029)

Pacifists can stun with emagnum and eshotgun
This commit is contained in:
SnappingOpossum
2025-10-31 06:19:36 +11:00
committed by GitHub
parent a181063eaf
commit 1cc726a609
3 changed files with 13 additions and 0 deletions

View File

@@ -42,6 +42,12 @@ public sealed partial class BatteryWeaponFireMode
/// </summary>
[DataField]
public float FireCost = 100;
/// <summary>
/// Wether or not this fire mode can be used by pacifists
/// </summary>
[DataField]
public bool PacifismAllowedMode = false;
}
[Serializable, NetSerializable]