mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 00:15:53 +00:00
Ammo UI system
This commit is contained in:
parent
70c514f1a9
commit
5eb7b578bc
22 changed files with 238 additions and 87 deletions
|
|
@ -8,6 +8,7 @@ public partial class LootItem : Resource
|
|||
[Export] public string ItemName { get; set; }
|
||||
[Export] public string ItemKey { get; set; }
|
||||
[Export] public ItemTypes Item;
|
||||
[Export] public WeaponResource WeaponData { get; set; }
|
||||
[Export] public int Amount;
|
||||
[Export] public int Max;
|
||||
[Export] public bool PickupIfMaxed;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ public partial class WeaponResource : Resource
|
|||
|
||||
#region Bullet spawn data
|
||||
|
||||
[Export] public string AmmoKey;
|
||||
[Export] public float BulletSpeed = 100f;
|
||||
[Export] public float BulletDamage = 1;
|
||||
[Export] private float _rotationOffset = 0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue