wyrt_dungeons
v1.0.0Gameplay
Room-graph dungeon system with encounters, checkpoints, and speed run medals
Features
- Room-graph based dungeon progression
- Multiple room types (combat, treasure, rest, event, boss)
- Party dungeon support with checkpoints
- Speed run medals and timing
- Death/wipe handling with revives
- Game-specific encounter and loot generation via hooks
- Event system with branching choices
Quick Start
const dungeonsModule = context.getModule('wyrt_dungeons');
const dungeonManager = dungeonsModule.createDungeonManager({
gameId: 'mygame',
generateEncounter: (params) => ({
type: 'normal',
enemies: [{ enemyId: 'goblin', level: params.partyLevel }]
}),
generateLoot: (params) => ({
currency: 100,
experience: 50,
items: [{ itemId: 'gold_coin', quantity: 10 }]
})
});
// Register and start dungeons
dungeonManager.registerDungeonType({ id: 'cave', name: 'Cave', floorCount: 3 });
const run = dungeonManager.startDungeon('cave', partyId);Exports
DungeonManagerManages dungeon runs and progression