renamed heavy snow to blizzard

This commit is contained in:
Sakimori 2021-03-04 15:16:03 -05:00
parent 56ffbc1888
commit 2c105ccc17

View file

@ -109,9 +109,9 @@ class Starlight(Weather):
state["update_text"] = f"The stars enjoy watching dragons play baseball, and allow {result['batter']} to hit a dinger! {game.last_update[1]} runs scored!" state["update_text"] = f"The stars enjoy watching dragons play baseball, and allow {result['batter']} to hit a dinger! {game.last_update[1]} runs scored!"
class HeavySnow(Weather): class Blizzard(Weather):
def __init__(self, game): def __init__(self, game):
self.name = "Heavy Snow" self.name = "Blizzard"
self.emoji = "" self.emoji = ""
self.counter_away = random.randint(0,len(game.teams['away'].lineup)-1) self.counter_away = random.randint(0,len(game.teams['away'].lineup)-1)
self.counter_home = random.randint(0,len(game.teams['home'].lineup)-1) self.counter_home = random.randint(0,len(game.teams['home'].lineup)-1)
@ -406,7 +406,7 @@ def all_weathers():
"Supernova" : Supernova, "Supernova" : Supernova,
"Midnight": Midnight, "Midnight": Midnight,
"Slight Tailwind": SlightTailwind, "Slight Tailwind": SlightTailwind,
"Heavy Snow": HeavySnow, "Blizzard": Blizzard,
"Twilight" : Twilight, "Twilight" : Twilight,
"Thinned Veil" : ThinnedVeil, "Thinned Veil" : ThinnedVeil,
"Heat Wave" : HeatWave, "Heat Wave" : HeatWave,
@ -420,3 +420,6 @@ def all_weathers():
} }
return weathers_dic return weathers_dic
class WeatherChains():
light = [SlightTailwind, Twilight, Breezy, Drizzle]
disaster = [Hurricane, Tornado, Downpour, Blizzard]