mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Revamped equipment init
This commit is contained in:
parent
5719738be9
commit
2a016fd30c
16 changed files with 76 additions and 81 deletions
|
|
@ -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))}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue