2022-11-27 23:24:35 +13:00
|
|
|
using Robust.Client.Graphics;
|
2023-09-11 19:18:06 +10:00
|
|
|
using Robust.Shared.Graphics;
|
2022-11-27 23:24:35 +13:00
|
|
|
|
|
|
|
|
namespace Content.Client.Explosion;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ExplosionVisualsTexturesComponent : Component
|
2022-11-27 23:24:35 +13:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-02-03 00:48:53 +13:00
|
|
|
/// Uid of the client-side point light entity for this explosion.
|
2022-11-27 23:24:35 +13:00
|
|
|
/// </summary>
|
2023-02-03 00:48:53 +13:00
|
|
|
public EntityUid LightEntity;
|
2022-11-27 23:24:35 +13:00
|
|
|
|
2023-02-03 00:48:53 +13:00
|
|
|
/// <summary>
|
|
|
|
|
/// How intense an explosion needs to be at a given tile in order to progress to the next fire-intensity RSI state. See also <see cref="FireFrames"/>
|
|
|
|
|
/// </summary>
|
2022-11-27 23:24:35 +13:00
|
|
|
public float IntensityPerState;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The textures used for the explosion fire effect. Each fire-state is associated with an explosion
|
|
|
|
|
/// intensity range, and each stat itself has several textures.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<Texture[]> FireFrames = new();
|
|
|
|
|
|
|
|
|
|
public Color? FireColor;
|
|
|
|
|
}
|