Skip to content

Commit

Permalink
Adjust rules for system flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Apr 27, 2024
1 parent ef93596 commit 3c846a9
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,15 +997,14 @@ def format_body(body_name: str) -> str:
text += ' (H)'
if this.is_nav_beacon:
text += ' (N)'
if system_status.fully_scanned:
if all_belts_found:
if this.system_was_mapped and not this.system_was_scanned:
text += ' (B)'
if not this.system_has_undiscovered:
if this.system_was_scanned:
text += ' (S)'
else:
text += ' (S+)'
if this.system_was_mapped and not this.system_was_scanned:
text += ' (B)'
if system_status.fully_scanned and len(this.bodies) + 1 >= this.system.body_count:
if all_belts_found and not this.system_has_undiscovered:
if this.system_was_scanned:
text += ' (S)'
else:
text += ' (S+)'
if this.planet_count > 0 and this.planet_count == this.map_count:
if this.system_was_mapped:
text += ' (M)'
Expand Down

0 comments on commit 3c846a9

Please sign in to comment.