Skip to content

Commit

Permalink
Fixed indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkssr committed Jun 16, 2024
1 parent 9e97aa5 commit f80a324
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions WebHostLib/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit f80a324

Please sign in to comment.