Ejemplo n.º 1
0
def test_sewer():
    layout = MockDungeonLayout()
    layout.purpose = 'temple'
    manager = MockDungeonManager()
    state = Random()
    template = InfestedSewerTemplate(1, dungeon_manager=manager)
    template.alter_dungeon(layout)
Ejemplo n.º 2
0
def test_populator_uses_treasure_source():
    layout = MockDungeonLayout()
    layout.purpose = 'temple'
    state = Random()
    manager = MockDungeonManager()
    template = GuardedTreasureVaultTemplate(1, dungeon_manager=manager)
    template.alter_dungeon(layout)
Ejemplo n.º 3
0
def test_dungeon_templates():
    layout = MockDungeonLayout()
    layout.purpose = 'temple'
    manager = MockDungeonManager()
    state = Random()
    template = HauntedTemplate(1, dungeon_manager=manager)
    template.alter_dungeon(layout)
Ejemplo n.º 4
0
def test_integration_from_encounter_manager_to_populator():
    layout = MockDungeonLayout()
    layout.purpose = 'temple'
    with DungeonManager(1, layout) as manager:
        template = AncientRemnantsTempleTemplate(4, dungeon_manager=manager)
        template.alter_dungeon(layout)