namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components; // TODO: This should probably be generalized for cold temperature too, // but right now there is no sane way to make a freezer. /// /// Triggers artifact if its in hot environment or /// has contacted with a hot object (lit welder, lighter, etc). /// [RegisterComponent] public sealed partial class ArtifactHeatTriggerComponent : Component { /// /// Minimal surrounding gas temperature to trigger artifact. /// Around 100 degrees celsius by default. /// Doesn't affect hot items temperature. /// [DataField("activationTemperature")] [ViewVariables(VVAccess.ReadWrite)] public float ActivationTemperature = 373; /// /// Should artifact be activated by hot items (welders, lighter, etc)? /// [DataField("activateHot")] [ViewVariables(VVAccess.ReadWrite)] public bool ActivateHotItems = true; }