cubequest/questhelper/map/map_renderer.py
2021-03-27 22:48:42 -04:00

13 lines
351 B
Python

from map.quest_map import MapEncounter, QuestMap, EncounterType
_ICONS = {
EncounterType.BATTLE_REGULAR: 'noun_Battle_3647629.png'
}
def render_map(quest_map: QuestMap):
return [__render_encounter(MapEncounter(EncounterType.BATTLE_REGULAR))] * 3
def __render_encounter(encounter: MapEncounter):
return f'map/{_ICONS[encounter.type]}'