Loot drops provider

This commit is contained in:
Marco 2025-03-21 16:03:44 +01:00
commit cf4b11d157
9 changed files with 117 additions and 19 deletions

View file

@ -14,8 +14,8 @@ public partial class EnemyResource : Resource
[Export] public float MovementSpeed { get; private set; } = 20f;
[Export] public DamageResistance Resistances { get; private set; }
[Export] public WeaponResource Weapon { get; private set; }
[Export] public Array<LootDrop> LootDrops { get; private set; }
[Export] public Array<LootDrop> LootDrops { get; private set; } = [];
[ExportCategory("AI")] [Export] public float PlayerDetectionRange { get; private set; } = 90f;
[Export] public float ViewRange { get; private set; } = 120f;