Revamped equipment init

This commit is contained in:
Marco 2025-04-07 15:58:43 +02:00
commit 2a016fd30c
16 changed files with 76 additions and 81 deletions

View file

@ -11,8 +11,11 @@ public partial class MapStartDataResource : Resource
public int EggIndex { get; set; }
[Export]
public Array<LootItem> StartingEquipment { get; set; } = new Array<LootItem>();
public Array<LootItem> StartingEquipment { get; set; } = [];
[Export]
public Array<LootItem> RemoveEquipment { get; set; } = [];
public override string ToString()
{
return $"EggIndex: {EggIndex}, Equipment: {string.Join("," ,StartingEquipment.Select(x => x.ItemKey))}";