Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed Aug 13, 2024
1 parent 05ad2af commit 16699e6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions worlds/kh1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ def generate_early(self):
new_report_settings = [self.options.required_reports_eotw.value, self.options.required_reports_door.value, self.options.reports_in_pool.value]
for i in range(3):
if initial_report_settings[i] != new_report_settings[i]:
logging.info(f"{self.multiworld.get_file_safe_player_name(self.player)}'s value {initial_report_settings[i]} for {value_names[i]} was invalid\n"
f"Setting {value_names[i]} value to {new_report_settings[i]}")
logging.info(f"{self.player_name}'s value {initial_report_settings[i]} for \"{value_names[i]}\" was invalid\n"
f"Setting \"{value_names[i]}\" value to {new_report_settings[i]}")

def change_numbers_of_reports_to_consider(self) -> None:
if self.options.end_of_the_world_unlock == "reports" and self.options.final_rest_door == "reports":
Expand All @@ -287,8 +287,7 @@ def change_numbers_of_reports_to_consider(self) -> None:
def determine_reports_in_pool(self) -> int:
if self.options.end_of_the_world_unlock == "reports" or self.options.final_rest_door == "reports":
return self.options.reports_in_pool.value
else:
return 0
return 0

def determine_reports_required_to_open_end_of_the_world(self) -> int:
if self.options.end_of_the_world_unlock == "reports":
Expand Down

0 comments on commit 16699e6

Please sign in to comment.