Rename SmokeDissipateSpawnComponent to SpawnOnDespawnComponent (#20782)

This commit is contained in:
deltanedas
2023-10-11 07:34:51 +01:00
committed by GitHub
parent d4667477a5
commit e911c9e516
5 changed files with 42 additions and 29 deletions

View File

@@ -1,16 +0,0 @@
using Content.Server.Fluids.EntitySystems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Chemistry.Components;
/// <summary>
/// When a <see cref="SmokeComponent"/> despawns this will spawn another entity in its place.
/// </summary>
[RegisterComponent, Access(typeof(SmokeSystem))]
public sealed partial class SmokeDissipateSpawnComponent : Component
{
[DataField("prototype", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string Prototype = string.Empty;
}