Imagine if artifacts fucking killed you (#17746)

This commit is contained in:
Nemanja
2023-06-30 15:25:33 -04:00
committed by GitHub
parent 9b711d4344
commit b4fb089e00
12 changed files with 234 additions and 121 deletions

View File

@@ -74,6 +74,13 @@ public sealed class ExplosiveComponent : Component
[DataField("canCreateVacuum")]
public bool CanCreateVacuum = true;
/// <summary>
/// An override for whether or not the entity should be deleted after it explodes.
/// If null, the system calling the explode method handles it.
/// </summary>
[DataField("deleteAfterExplosion")]
public bool? DeleteAfterExplosion;
/// <summary>
/// Avoid somehow double-triggering this explosion (e.g. by damaging this entity from its own explosion.
/// </summary>