1
Fork 0
mirror of https://github.com/Steffo99/lihzahrd.git synced 2024-11-21 15:44:24 +00:00

PEP8 changes so PyCharm doesn't complain

This commit is contained in:
Steffo 2020-06-04 22:36:41 +02:00
parent 8fd6fa2665
commit a204c1efd9

View file

@ -218,7 +218,7 @@ class World:
self.bestiary: Bestiary = bestiary self.bestiary: Bestiary = bestiary
"""Information about the bestiary, including sightings, kills and takling to NPCs.""" """Information about the bestiary, including sightings, kills and takling to NPCs."""
self.journey_powers: JourneyPowers= journey_powers self.journey_powers: JourneyPowers = journey_powers
"""Status of powers available in Journey mode.""" """Status of powers available in Journey mode."""
def __repr__(self): def __repr__(self):
@ -556,38 +556,42 @@ class World:
# Oasis and Graveyard probably got new backgrounds. # Oasis and Graveyard probably got new backgrounds.
new_bg_1 = f.int1() new_bg_1 = f.int1()
new_bg_2 = f.int1() new_bg_2 = f.int1()
new_bg_3 = f.int1() # Maybe oasis. new_bg_3 = f.int1() # Maybe oasis.
new_bg_4 = f.int1() new_bg_4 = f.int1()
new_bg_5 = f.int1() new_bg_5 = f.int1()
backgrounds = Backgrounds(bg_underground_snow=bg_underground_snow, backgrounds = Backgrounds(
bg_underground_jungle=bg_underground_jungle, bg_underground_snow=bg_underground_snow,
bg_hell=bg_hell, bg_underground_jungle=bg_underground_jungle,
bg_forest=bg_forest, bg_hell=bg_hell,
bg_corruption=bg_corruption, bg_forest=bg_forest,
bg_jungle=bg_jungle, bg_corruption=bg_corruption,
bg_snow=bg_snow, bg_jungle=bg_jungle,
bg_hallow=bg_hallow, bg_snow=bg_snow,
bg_crimson=bg_crimson, bg_hallow=bg_hallow,
bg_desert=bg_desert, bg_crimson=bg_crimson,
bg_ocean=bg_ocean, bg_desert=bg_desert,
new_bg_1=new_bg_1, bg_ocean=bg_ocean,
new_bg_2=new_bg_2, new_bg_1=new_bg_1,
new_bg_3=new_bg_3, new_bg_2=new_bg_2,
new_bg_4=new_bg_4, new_bg_3=new_bg_3,
new_bg_5=new_bg_5,) new_bg_4=new_bg_4,
new_bg_5=new_bg_5,
)
combat_book_used = f.bool() combat_book_used = f.bool()
saved_npcs = SavedNPCs(goblin_tinkerer=saved_goblin_tinkerer, saved_npcs = SavedNPCs(
wizard=saved_wizard, goblin_tinkerer=saved_goblin_tinkerer,
mechanic=saved_mechanic, wizard=saved_wizard,
angler=saved_angler, mechanic=saved_mechanic,
stylist=saved_stylist, angler=saved_angler,
tax_collector=saved_tax_collector, stylist=saved_stylist,
bartender=saved_bartender, tax_collector=saved_tax_collector,
golfer=saved_golfer, bartender=saved_bartender,
advanced_combat=combat_book_used) golfer=saved_golfer,
advanced_combat=combat_book_used
)
lantern_night = LanternEvent(f.int4(), f.bool(), f.bool(), f.bool()) lantern_night = LanternEvent(f.int4(), f.bool(), f.bool(), f.bool())