From f80a324eeccc031a3a2eaffd1ed1682fcd64133a Mon Sep 17 00:00:00 2001 From: Mrks Date: Sun, 16 Jun 2024 20:36:57 +0200 Subject: [PATCH] Fixed indentations --- WebHostLib/tracker.py | 106 +++++++++++++++++++++--------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/WebHostLib/tracker.py b/WebHostLib/tracker.py index 4f9ce1bf2b49..a8a8e22d34b1 100644 --- a/WebHostLib/tracker.py +++ b/WebHostLib/tracker.py @@ -2508,45 +2508,45 @@ def render_Starcraft2_tracker(tracker_data: TrackerData, team: int, player: int) # mapping table location_regions_table = { - f"{REGION_YOSHIS_ISLAND} 1" : REGION_YOSHIS_ISLAND, - f"{REGION_YOSHIS_ISLAND} 2" : REGION_YOSHIS_ISLAND, - f"{REGION_YOSHIS_ISLAND} 3" : REGION_YOSHIS_ISLAND, - f"{REGION_YOSHIS_ISLAND} 4" : REGION_YOSHIS_ISLAND, - "#1 Iggy's Castle" : REGION_YOSHIS_ISLAND, - "Yellow Switch Palace" : REGION_YOSHIS_ISLAND, - "Yoshi's House" : REGION_YOSHIS_ISLAND, - - f"{REGION_DONUT_PLAINS} 1" : REGION_DONUT_PLAINS, - f"{REGION_DONUT_PLAINS} 2" : REGION_DONUT_PLAINS, - f"{REGION_DONUT_PLAINS} 3" : REGION_DONUT_PLAINS, - f"{REGION_DONUT_PLAINS} 4" : REGION_DONUT_PLAINS, - "#2 Morton's Castle" : REGION_DONUT_PLAINS, - "Donut Ghost House" : REGION_DONUT_PLAINS, - "Donut Secret 1" : REGION_DONUT_PLAINS, - "Donut Secret 2" : REGION_DONUT_PLAINS, - "Donut Secret House" : REGION_DONUT_PLAINS, - "Green Switch Palace" : REGION_DONUT_PLAINS, - - f"{REGION_VANILLA_DOME} 1" : REGION_VANILLA_DOME, - f"{REGION_VANILLA_DOME} 2" : REGION_VANILLA_DOME, - f"{REGION_VANILLA_DOME} 3" : REGION_VANILLA_DOME, - f"{REGION_VANILLA_DOME} 4" : REGION_VANILLA_DOME, - "#3 Lemmy's Castle" : REGION_VANILLA_DOME, - "Vanilla Fortress" : REGION_VANILLA_DOME, - "Vanilla Ghost House" : REGION_VANILLA_DOME, - "Vanilla Secret 1" : REGION_VANILLA_DOME, - "Vanilla Secret 2" : REGION_VANILLA_DOME, - "Vanilla Secret 3" : REGION_VANILLA_DOME, - "Red Switch Palace" : REGION_VANILLA_DOME, - - "Butter Bridge 1" : REGION_TWIN_BRIDGES, - "Butter Bridge 2" : REGION_TWIN_BRIDGES, - "Cheese Bridge" : REGION_TWIN_BRIDGES, - "Cheese Bridge Area" : REGION_TWIN_BRIDGES, - "Cookie Mountain" : REGION_TWIN_BRIDGES, - "#4 Ludwig Castle" : REGION_TWIN_BRIDGES, - "#4 Ludwig's Castle" : REGION_TWIN_BRIDGES, - "Soda Lake" : REGION_TWIN_BRIDGES, + f"{REGION_YOSHIS_ISLAND} 1" : REGION_YOSHIS_ISLAND, + f"{REGION_YOSHIS_ISLAND} 2" : REGION_YOSHIS_ISLAND, + f"{REGION_YOSHIS_ISLAND} 3" : REGION_YOSHIS_ISLAND, + f"{REGION_YOSHIS_ISLAND} 4" : REGION_YOSHIS_ISLAND, + "#1 Iggy's Castle" : REGION_YOSHIS_ISLAND, + "Yellow Switch Palace" : REGION_YOSHIS_ISLAND, + "Yoshi's House" : REGION_YOSHIS_ISLAND, + + f"{REGION_DONUT_PLAINS} 1" : REGION_DONUT_PLAINS, + f"{REGION_DONUT_PLAINS} 2" : REGION_DONUT_PLAINS, + f"{REGION_DONUT_PLAINS} 3" : REGION_DONUT_PLAINS, + f"{REGION_DONUT_PLAINS} 4" : REGION_DONUT_PLAINS, + "#2 Morton's Castle" : REGION_DONUT_PLAINS, + "Donut Ghost House" : REGION_DONUT_PLAINS, + "Donut Secret 1" : REGION_DONUT_PLAINS, + "Donut Secret 2" : REGION_DONUT_PLAINS, + "Donut Secret House" : REGION_DONUT_PLAINS, + "Green Switch Palace" : REGION_DONUT_PLAINS, + + f"{REGION_VANILLA_DOME} 1" : REGION_VANILLA_DOME, + f"{REGION_VANILLA_DOME} 2" : REGION_VANILLA_DOME, + f"{REGION_VANILLA_DOME} 3" : REGION_VANILLA_DOME, + f"{REGION_VANILLA_DOME} 4" : REGION_VANILLA_DOME, + "#3 Lemmy's Castle" : REGION_VANILLA_DOME, + "Vanilla Fortress" : REGION_VANILLA_DOME, + "Vanilla Ghost House" : REGION_VANILLA_DOME, + "Vanilla Secret 1" : REGION_VANILLA_DOME, + "Vanilla Secret 2" : REGION_VANILLA_DOME, + "Vanilla Secret 3" : REGION_VANILLA_DOME, + "Red Switch Palace" : REGION_VANILLA_DOME, + + "Butter Bridge 1" : REGION_TWIN_BRIDGES, + "Butter Bridge 2" : REGION_TWIN_BRIDGES, + "Cheese Bridge" : REGION_TWIN_BRIDGES, + "Cheese Bridge Area" : REGION_TWIN_BRIDGES, + "Cookie Mountain" : REGION_TWIN_BRIDGES, + "#4 Ludwig Castle" : REGION_TWIN_BRIDGES, + "#4 Ludwig's Castle" : REGION_TWIN_BRIDGES, + "Soda Lake" : REGION_TWIN_BRIDGES, f"{REGION_FOREST_OF_ILLUSION} 1" : REGION_FOREST_OF_ILLUSION, f"{REGION_FOREST_OF_ILLUSION} 2" : REGION_FOREST_OF_ILLUSION, @@ -2580,20 +2580,20 @@ def render_Starcraft2_tracker(tracker_data: TrackerData, team: int, player: int) "Valley Ghost House" : REGION_VALLEY_OF_BOWSER, "Bowser" : REGION_VALLEY_OF_BOWSER, - f"{REGION_STAR_ROAD} 1" : REGION_STAR_ROAD, - f"{REGION_STAR_ROAD} 2" : REGION_STAR_ROAD, - f"{REGION_STAR_ROAD} 3" : REGION_STAR_ROAD, - f"{REGION_STAR_ROAD} 4" : REGION_STAR_ROAD, - f"{REGION_STAR_ROAD} 5" : REGION_STAR_ROAD, - - "Gnarly" : REGION_SPECIAL_ZONE, - "Tubular" : REGION_SPECIAL_ZONE, - "Way Cool" : REGION_SPECIAL_ZONE, - "Awesome" : REGION_SPECIAL_ZONE, - "Groovy" : REGION_SPECIAL_ZONE, - "Mondo" : REGION_SPECIAL_ZONE, - "Outrageous" : REGION_SPECIAL_ZONE, - "Funky" : REGION_SPECIAL_ZONE + f"{REGION_STAR_ROAD} 1" : REGION_STAR_ROAD, + f"{REGION_STAR_ROAD} 2" : REGION_STAR_ROAD, + f"{REGION_STAR_ROAD} 3" : REGION_STAR_ROAD, + f"{REGION_STAR_ROAD} 4" : REGION_STAR_ROAD, + f"{REGION_STAR_ROAD} 5" : REGION_STAR_ROAD, + + "Gnarly" : REGION_SPECIAL_ZONE, + "Tubular" : REGION_SPECIAL_ZONE, + "Way Cool" : REGION_SPECIAL_ZONE, + "Awesome" : REGION_SPECIAL_ZONE, + "Groovy" : REGION_SPECIAL_ZONE, + "Mondo" : REGION_SPECIAL_ZONE, + "Outrageous" : REGION_SPECIAL_ZONE, + "Funky" : REGION_SPECIAL_ZONE } def prepare_inventories(team: int, player: int, inventory: Counter[str], tracker_data: TrackerData):