display resource renamed to entity resource
This commit is contained in:
parent
d5573db251
commit
cea648f0ff
8 changed files with 13 additions and 13 deletions
22
scripts/resources/EntityResource.cs
Normal file
22
scripts/resources/EntityResource.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using Godot;
|
||||
|
||||
[Tool]
|
||||
public partial class EntityResource : 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue