mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 15:55:54 +00:00
Loot Drops
This commit is contained in:
parent
9d0b399052
commit
b7d241bf11
16 changed files with 129 additions and 6 deletions
13
Scripts/Resources/Loot/LootDrop.cs
Normal file
13
Scripts/Resources/Loot/LootDrop.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Loot;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class LootDrop : Resource
|
||||
{
|
||||
[Export]
|
||||
public LootItem Item { get; private set; }
|
||||
|
||||
[Export(PropertyHint.None, "suffix:%")]
|
||||
public float Chance { get; private set; }
|
||||
}
|
||||
1
Scripts/Resources/Loot/LootDrop.cs.uid
Normal file
1
Scripts/Resources/Loot/LootDrop.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cq65aed620ijo
|
||||
Loading…
Add table
Add a link
Reference in a new issue