Add NPC system scaffold, loot-table gold drops, and remove stash VIP gate
This commit is contained in:
@@ -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
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user