summaryrefslogtreecommitdiff
path: root/scripts/Entities/Items/ItemResource.cs
blob: 47ea64d7a02d21210bb45dd0c0a23edc7c921b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Godot;

namespace TheLegendOfGustav.Entities.Items;

/// <summary>
///  Esta classe só existe para agrupar seus descendentes.
/// </summary>
[GlobalClass]
public partial class ItemResource : Resource
{
	[Export]
	public string DisplayName { get; set; } = "Unnamed item";
	[Export]
	public Texture2D Icon { get; set; }
	[Export]
	public int MaxUses { get; set; } = 1;
	[Export]
	public string Description { get; set; } = "";

	[Export]
	public ItemActivation Activation { get; set; }
}