Add ability to burn papers +Flammable tweaks. (#18955)

This commit is contained in:
mhamster
2023-08-15 02:45:55 +07:00
committed by GitHub
parent da62b05f4b
commit 5ce47fbb03
3 changed files with 74 additions and 7 deletions

View File

@@ -35,5 +35,26 @@ namespace Content.Server.Atmos.Components
/// </summary>
[DataField("flammableCollisionShape")]
public IPhysShape FlammableCollisionShape = new PhysShapeCircle(0.35f);
/// <summary>
/// Should the component be set on fire by interactions with isHot entities
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("alwaysCombustible")]
public bool AlwaysCombustible = false;
/// <summary>
/// Can the component anyhow lose its FireStacks?
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("canExtinguish")]
public bool CanExtinguish = true;
/// <summary>
/// How many firestacks should be applied to component when being set on fire?
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("firestacksOnIgnite")]
public float FirestacksOnIgnite = 2.0f;
}
}