mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 02:15:54 +00:00
Tiered weapons
This commit is contained in:
parent
692c33c939
commit
f3a701d3f9
42 changed files with 700 additions and 16 deletions
|
|
@ -13,6 +13,7 @@ public partial class LootItem : Resource
|
|||
[Export] public StringName ItemDescription { get; set; }
|
||||
[Export] public StringName ItemKey { get; set; }
|
||||
[Export] public ItemTypes Item;
|
||||
[Export] public int Tier { get; set; } = 0;
|
||||
[Export] public int Price { get; set; }
|
||||
[Export] public ItemEffectResource ItemEffect { get; private set; }
|
||||
[Export] public WeaponResource WeaponData { get; set; }
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ public partial class WeaponResource : Resource
|
|||
//public PackedScene BulletScene { get; set; }
|
||||
|
||||
//[Export] public PackedScene DestructionParticlesScene { get; set; }
|
||||
[Export] public int Priority { get; set; } = 0;
|
||||
|
||||
[Export] public double RateOfFire = 0.4f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue