using Babushka.scripts.CSharp.GameEntity.Entities; using Babushka.scripts.CSharp.GameEntity.Management; using Godot; namespace Babushka.scripts.CSharp.Common.Inventory; public partial class InventoryTestScript : Node { [Export(PropertyHint.ArrayType)] private ItemResource[] _testItemsToCreate; public override void _Ready() { foreach (var itemResource in _testItemsToCreate) { InventoryManager.Instance.CreateItem(itemResource, EntityManager.Instance.GetUniqueEntity().inventory); } } }