using Newtonsoft.Json; using System.ComponentModel; namespace NewHorizons.External.Modules.Props.Quantum; public class QuantumDetailInfo : DetailInfo { public QuantumDetailInfo() { } public QuantumDetailInfo(DetailInfo info) { JsonConvert.PopulateObject(JsonConvert.SerializeObject(info), this); } /// /// When used in a quantum socket this object will randomize its rotation around the local Y axis. /// [DefaultValue(true)] public bool randomizeYRotation = true; /// /// When used in a quantum socket this object will align to the nearest gravity volume. Else use the rotation of the quantum socket. /// [DefaultValue(true)] public bool alignWithGravity = true; }