using Content.Shared.Chemistry.Reagent; using Content.Shared.Whitelist; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary; namespace Content.Server.Power.Generator; /// /// This is used for chemical fuel input into generators. /// [RegisterComponent, Access(typeof(GeneratorSystem))] public sealed class ChemicalFuelGeneratorAdapterComponent : Component { /// /// The acceptable list of input entities. /// [DataField("whitelist")] public EntityWhitelist? Whitelist; /// /// The conversion factor for different chems you can put in. /// [DataField("chemConversionFactors", required: true, customTypeSerializer:typeof(PrototypeIdDictionarySerializer))] public Dictionary ChemConversionFactors = default!; }