using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Modules.Volumes.VolumeInfos
{
[JsonObject]
public class ConditionTriggerVolumeInfo : VolumeInfo
{
///
/// The name of the dialogue condition or persistent condition to set when entering the volume.
///
public string condition;
///
/// If true, the condition will persist across all future loops until unset.
///
public bool persistent;
///
/// Whether to unset the condition when existing the volume.
///
public bool reversible;
///
/// Whether to set the condition when the player enters this volume. Defaults to true.
///
[DefaultValue(true)] public bool player = true;
///
/// Whether to set the condition when the scout probe enters this volume.
///
public bool probe;
///
/// Whether to set the condition when the ship enters this volume.
///
public bool ship;
}
}