18 lines
568 B
C#
18 lines
568 B
C#
using Godot;
|
|
|
|
[Tool]
|
|
public partial class EntityResource : Resource
|
|
{
|
|
[Export] public string NameKey;
|
|
[Export] public string DescriptionKey;
|
|
[Export] public float 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 CustomSeedpacketFrame CustomFrame;
|
|
[Export] public int Order = 0;
|
|
public string internal_id;
|
|
public string parsedDescription;
|
|
public bool isDescriptionParsed;
|
|
}
|