newlon/scripts/resources/PlantResource.cs
2025-07-01 17:31:12 +05:00

24 lines
580 B
C#

using Godot;
namespace Newlon;
[GlobalClass]
public partial class PlantResource : Resource
{
[Export] public string display_name;
[Export(PropertyHint.MultilineText)] public string display_description;
[Export]
public int Cost;
[Export]
public PackedScene Scene;
[Export]
public float ReloadTime;
[Export(PropertyHint.Range, "0,1,0.01")]
public float ReloadProgress;
[Export]
public Texture2D Preview;
[Export] public int Layer = 1;
[Export] public CustomSeedpacketFrame customFrame;
public string internal_id;
}