using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NewHorizons.External.Modules.Props.EchoesOfTheEye { [JsonObject] public class GrappleTotemInfo : GeneralPropInfo { /// /// The minimum distance that the player must be from the grapple totem for it to activate. /// [DefaultValue(10f)] public float minDistance = 10f; /// /// The distance from the grapple totem that the player will stop at when it activates. /// [DefaultValue(4f)] public float arrivalDistance = 4f; /// /// The maximum angle in degrees allowed between the grapple totem's face and the player's lantern in order to activate the totem. /// [DefaultValue(45f)] public float maxAngle = 45f; /// /// The maximum distance allowed between the grapple totem's face and the player's lantern in order to activate the totem. /// [DefaultValue(29f)] public float maxDistance = 29f; } }