mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 00:55:55 +00:00
Implemented vending machine
This commit is contained in:
parent
d78daf4e18
commit
e5ffb0cf94
32 changed files with 3074 additions and 1992 deletions
12
Scripts/Resources/VendingShopEntry.cs
Normal file
12
Scripts/Resources/VendingShopEntry.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources;
|
||||
|
||||
[GlobalClass]
|
||||
[Tool]
|
||||
public partial class VendingShopEntry : Resource
|
||||
{
|
||||
[Export] public LootItem Item { get; set; }
|
||||
[Export] public bool Unlimited { get; set; } = true;
|
||||
[Export] public int StartingQuantity { get; set; } = 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue