diff --git a/questhelper/map/map_renderer.py b/questhelper/map/map_renderer.py index 52a59a4..a14b79c 100644 --- a/questhelper/map/map_renderer.py +++ b/questhelper/map/map_renderer.py @@ -3,18 +3,18 @@ from map.quest_map import MapEncounter, QuestMap, EncounterType from typing import List, Dict, Optional _ICONS = { - EncounterType.BATTLE_REGULAR: 'noun_Battle_3647629.png', - EncounterType.BATTLE_ELITE: 'noun_Shield_3806325.png', - EncounterType.BATTLE_BOSS: 'noun_dragon_3820621.png', - EncounterType.TOWN_TAVERN: 'noun_Beer_3054928.png', - EncounterType.TOWN_DOCKS: 'noun_Caravel_2421659.png', - EncounterType.TOWN_MARKET: 'noun_Store_786819.png', - EncounterType.TOWN_LIBRARY: 'noun_Library_3820590.png', - EncounterType.TOWN_WORKSHOP: 'noun_cogs_442166.png', - EncounterType.TOWN_TOWN_HALL: 'noun_brussels town hall_3284349.png', - EncounterType.TOWN_TEMPLE: 'noun_temple_2382601.png', - EncounterType.TOWN_REST: 'noun_Tent_3814999.png', - EncounterType.TOWN_ROAD: 'noun_Hiking Trail_2686687.png', + EncounterType.BATTLE_REGULAR: 'noun_Battle_3647629_cropped.png', + EncounterType.BATTLE_ELITE: 'noun_Shield_3806325_cropped.png', + EncounterType.BATTLE_BOSS: 'noun_dragon_3820621_cropped.png', + EncounterType.TOWN_TAVERN: 'noun_Beer_3054928_cropped.png', + EncounterType.TOWN_DOCKS: 'noun_Caravel_2421659_cropped.png', + EncounterType.TOWN_MARKET: 'noun_Store_786819_cropped.png', + EncounterType.TOWN_LIBRARY: 'noun_Library_3820590_cropped.png', + EncounterType.TOWN_WORKSHOP: 'noun_cogs_442166_cropped.png', + EncounterType.TOWN_TOWN_HALL: 'noun_brussels town hall_3284349_cropped.png', + EncounterType.TOWN_TEMPLE: 'noun_temple_2382601_cropped.png', + EncounterType.TOWN_REST: 'noun_Tent_3814999_cropped.png', + EncounterType.TOWN_ROAD: 'noun_Hiking Trail_2686687_cropped.png', } @@ -36,10 +36,10 @@ def _render_encounter(r: int, c: int, encounter: MapEncounter) -> Optional[Dict] return None icon = f'map/{_ICONS[encounter.type]}' - x = 200 * c + x = 120 * c y = 100 * r - w = 90 - h = 90 + w = 40 + h = 40 return { 'description': encounter.description, 'src': icon, diff --git a/questhelper/map/static/map/noun_Battle_3647629_cropped.png b/questhelper/map/static/map/noun_Battle_3647629_cropped.png new file mode 100644 index 0000000..30f6d16 Binary files /dev/null and b/questhelper/map/static/map/noun_Battle_3647629_cropped.png differ diff --git a/questhelper/map/static/map/noun_Beer_3054928_cropped.png b/questhelper/map/static/map/noun_Beer_3054928_cropped.png new file mode 100644 index 0000000..b3d5c09 Binary files /dev/null and b/questhelper/map/static/map/noun_Beer_3054928_cropped.png differ diff --git a/questhelper/map/static/map/noun_Caravel_2421659_cropped.png b/questhelper/map/static/map/noun_Caravel_2421659_cropped.png new file mode 100644 index 0000000..da7734f Binary files /dev/null and b/questhelper/map/static/map/noun_Caravel_2421659_cropped.png differ diff --git a/questhelper/map/static/map/noun_Hiking Trail_2686687_cropped.png b/questhelper/map/static/map/noun_Hiking Trail_2686687_cropped.png new file mode 100644 index 0000000..3a6b5ed Binary files /dev/null and b/questhelper/map/static/map/noun_Hiking Trail_2686687_cropped.png differ diff --git a/questhelper/map/static/map/noun_Library_3820590_cropped.png b/questhelper/map/static/map/noun_Library_3820590_cropped.png new file mode 100644 index 0000000..223efc2 Binary files /dev/null and b/questhelper/map/static/map/noun_Library_3820590_cropped.png differ diff --git a/questhelper/map/static/map/noun_Shield_3806325_cropped.png b/questhelper/map/static/map/noun_Shield_3806325_cropped.png new file mode 100644 index 0000000..cd3f31e Binary files /dev/null and b/questhelper/map/static/map/noun_Shield_3806325_cropped.png differ diff --git a/questhelper/map/static/map/noun_Store_786819_cropped.png b/questhelper/map/static/map/noun_Store_786819_cropped.png new file mode 100644 index 0000000..e9aefcb Binary files /dev/null and b/questhelper/map/static/map/noun_Store_786819_cropped.png differ diff --git a/questhelper/map/static/map/noun_Tent_3814999_cropped.png b/questhelper/map/static/map/noun_Tent_3814999_cropped.png new file mode 100644 index 0000000..109c4e7 Binary files /dev/null and b/questhelper/map/static/map/noun_Tent_3814999_cropped.png differ diff --git a/questhelper/map/static/map/noun_brussels town hall_3284349_cropped.png b/questhelper/map/static/map/noun_brussels town hall_3284349_cropped.png new file mode 100644 index 0000000..dad05fe Binary files /dev/null and b/questhelper/map/static/map/noun_brussels town hall_3284349_cropped.png differ diff --git a/questhelper/map/static/map/noun_cogs_442166_cropped.png b/questhelper/map/static/map/noun_cogs_442166_cropped.png new file mode 100644 index 0000000..e7b9c7a Binary files /dev/null and b/questhelper/map/static/map/noun_cogs_442166_cropped.png differ diff --git a/questhelper/map/static/map/noun_dragon_3820621_cropped.png b/questhelper/map/static/map/noun_dragon_3820621_cropped.png new file mode 100644 index 0000000..e8daf82 Binary files /dev/null and b/questhelper/map/static/map/noun_dragon_3820621_cropped.png differ diff --git a/questhelper/map/static/map/noun_temple_2382601_cropped.png b/questhelper/map/static/map/noun_temple_2382601_cropped.png new file mode 100644 index 0000000..340ea30 Binary files /dev/null and b/questhelper/map/static/map/noun_temple_2382601_cropped.png differ