mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Do not try catch anymore This would cause some addon devs to just ignore an error when they really shouldn't. Now it will show the body where this error occurs since the error gets handled higher up.
25 lines
654 B
C#
25 lines
654 B
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel;
|
|
|
|
namespace NewHorizons.External.Modules.Props.Remote
|
|
{
|
|
[JsonObject]
|
|
public class RemotePlatformInfo : GeneralPropInfo
|
|
{
|
|
/// <summary>
|
|
/// A ship log fact to reveal when the platform is connected to.
|
|
/// </summary>
|
|
[DefaultValue("")] public string reveals = "";
|
|
|
|
/// <summary>
|
|
/// Disable the structure, leaving only the pedestal.
|
|
/// </summary>
|
|
public bool disableStructure;
|
|
|
|
/// <summary>
|
|
/// Disable the pool that rises when you place a stone.
|
|
/// </summary>
|
|
public bool disablePool;
|
|
}
|
|
}
|