summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions/ItemAction.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-24 21:25:15 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-24 21:25:15 -0300
commit639cd8cef403e9e66bf31e7888e786effac2b292 (patch)
treea1b3872a91ad599a71629d0d62c72125138c5c14 /scripts/Entities/Actions/ItemAction.cs
parent52c32a24044aa574c9e7bf7aa4e2499349cc36b2 (diff)
refactor: Sistema de itens reescrito
Em tese, este novo sistema é mais fácil de serializar. Descanse em paz pergaminhos, eu não quero reimplementá-los neste novo sistema.
Diffstat (limited to 'scripts/Entities/Actions/ItemAction.cs')
-rw-r--r--scripts/Entities/Actions/ItemAction.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Entities/Actions/ItemAction.cs b/scripts/Entities/Actions/ItemAction.cs
index a2ca1a2..a3197d4 100644
--- a/scripts/Entities/Actions/ItemAction.cs
+++ b/scripts/Entities/Actions/ItemAction.cs
@@ -5,9 +5,9 @@ namespace TheLegendOfGustav.Entities.Actions;
public partial class ItemAction : Action
{
- protected ConsumableItem item;
+ protected Item item;
- public ItemAction(Player player, ConsumableItem item) : base(player)
+ public ItemAction(Player player, Item item) : base(player)
{
this.item = item;
Player = player;