using System.Linq; using Godot; using Godot.Collections; namespace Cirno.Scripts.Resources; [GlobalClass] public partial class MapStartDataResource : Resource { [Export] public int EggIndex { get; set; } [Export] public Array StartingEquipment { get; set; } = []; [Export] public Array RemoveEquipment { get; set; } = []; public override string ToString() { return $"EggIndex: {EggIndex}, Equipment: {string.Join("," ,StartingEquipment.Select(x => x.ItemKey))}"; } }