move hot plate item placement stuff into its own system (#18923)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using Content.Shared.Whitelist;
|
||||
|
||||
namespace Content.Server.Chemistry.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
@@ -28,23 +26,4 @@ public sealed class SolutionHeaterComponent : Component
|
||||
/// </summary>
|
||||
[DataField("partRatingHeatMultiplier")]
|
||||
public float PartRatingHeatMultiplier = 1.5f;
|
||||
|
||||
/// <summary>
|
||||
/// The entities that are placed on the heater.
|
||||
/// <summary>
|
||||
[DataField("placedEntities")]
|
||||
public HashSet<EntityUid> PlacedEntities = new();
|
||||
|
||||
/// <summary>
|
||||
/// The max amount of entities that can be heated at the same time.
|
||||
/// </summary>
|
||||
[DataField("maxEntities")]
|
||||
public uint MaxEntities = 1;
|
||||
|
||||
/// <summary>
|
||||
/// Whitelist for entities that can be placed on the heater.
|
||||
/// </summary>
|
||||
[DataField("whitelist")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public EntityWhitelist? Whitelist;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user