Files
wwdpublic/Content.Server/Atmos/Components/IgniteOnCollideComponent.cs
Arendian 0bb967bcfd Incendiary projectiles and lava firestack reduction (#23479)
* Firestack reduction and FireStackOnHit added

* Slight lava tweak

* Remove component and tweaked incendiary pellets

* Incendiary grenade tweak

* Now ignites on projectile fixture or ignition fixture + incendiary grenade tweak

* flare shells now  ignite entities again

* Comment

* undo flare gun ignite

(cherry picked from commit 6bf699429818c15a72ea5bb073a98ca0559b59a7)
2024-01-26 22:11:45 +01:00

21 lines
592 B
C#

using Content.Server.Atmos.EntitySystems;
namespace Content.Server.Atmos.Components;
[RegisterComponent, Access(typeof(FlammableSystem))]
public sealed partial class IgniteOnCollideComponent : Component
{
/// <summary>
/// How many more times the ignition can be applied.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("count")]
public int Count = 1;
[ViewVariables(VVAccess.ReadWrite), DataField("fireStacks")]
public float FireStacks;
[ViewVariables(VVAccess.ReadWrite), DataField("fixtureId")]
public string FixtureId = "ignition";
}