Make anchoring nukes require enough nearby floor (#18720)

* Make anchoring nukes require enough nearby floor

* Remove unused Anchorable event subscriptions

The nuke doesn't have Anchorable so this never comes up.
This commit is contained in:
Vordenburg
2023-08-05 17:28:06 -04:00
committed by GitHub
parent f4dbb4d24c
commit 7d08061304
3 changed files with 28 additions and 27 deletions

View File

@@ -175,5 +175,12 @@ namespace Content.Server.Nuke
public bool PlayedAlertSound = false;
public IPlayingAudioStream? AlertAudioStream = default;
/// <summary>
/// The radius from the nuke for which there must be floor tiles for it to be anchorable.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("requiredFloorRadius")]
public float RequiredFloorRadius = 7;
}
}