Add NPC system scaffold, loot-table gold drops, and remove stash VIP gate

This commit is contained in:
dingo
2026-02-14 00:37:56 -05:00
parent d4f467656d
commit b4affac203
19 changed files with 1448 additions and 89 deletions
+10
View File
@@ -25,6 +25,7 @@ public class DungeonLayout
public List<DungeonMobSpawn> MobSpawns { get; set; } = new();
public List<DungeonChestSpawn> ChestSpawns { get; set; } = new();
public List<DungeonNpcSpawn> NpcSpawns { get; set; } = new();
public int TotalMobs { get; set; }
public int TotalChests { get; set; }
@@ -134,6 +135,15 @@ public class DungeonLayout
id = c.Id, x = c.X, y = c.Y,
type = c.ChestType.ToString(),
roomIndex = c.RoomIndex
}),
npcs = NpcSpawns.Select(n => new
{
id = n.Id,
x = n.X,
y = n.Y,
npcDefinitionId = n.NpcDefinitionId,
npcName = n.NpcName,
roomIndex = n.RoomIndex
})
});
}