22 lines
552 B
C#
22 lines
552 B
C#
using Godot;
|
|
|
|
[Tool]
|
|
public partial class DisplayResource : Resource
|
|
{
|
|
[Export] public string name_key;
|
|
[Export] public string description_key;
|
|
[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 Layer = 1;
|
|
[Export] public int Order = 0;
|
|
public string internal_id;
|
|
}
|