In progress changes for saving enemy defeated data

This commit is contained in:
2026-06-06 10:52:08 -07:00
parent bb46f0dcd9
commit 0f849f11dc
8 changed files with 41 additions and 2 deletions
@@ -21,6 +21,10 @@ namespace Zennysoft.Ma.Adapter.Entity
public void OnMorph();
public void IncrementDefeatCount();
public int GetDefeatCount(IEnemy enemyType);
public IDungeonRoom GetCurrentRoom(ImmutableList<IDungeonRoom> dungeonRooms);
public void MoveEnemyToNewRoom(IDungeonRoom newRoom);
@@ -34,3 +34,10 @@ public partial record NpcData
[Save("stele_list")]
public required List<int> SteleDiscovered { get; set; }
}
[Meta, Id("stat_data")]
public partial record StatData
{
[Save("sproingy_defeated")]
public int SproingyDefeated { get; set; } = 0;
}