Add fixedsys exelscior (public domain) font for computer console. Add color coding where appropriate (red for failures/errors, green for success, blue for messages directed towards player)
This commit is contained in:
1 parent
baeb8c78ca
commit
bc8aa9c9e8
4 files changed
+55
-9
No files matched your search
+11
-4
@@ -17,17 +17,24 @@ func load_disk(disk_num: int) -> bool:
|
||||
disks_wanted.remove_at(disks_wanted.find(disk_num))
|
||||
|
||||
print("Loaded up disk ", disk_num)
|
||||
var memory_integrity = get_memory_integrity()
|
||||
var percent_color = "red"
|
||||
if memory_integrity > 90:
|
||||
percent_color = "green"
|
||||
elif memory_integrity > 35:
|
||||
percent_color = "orange"
|
||||
|
||||
printline(
|
||||
">> Loaded data disk %d (of %d). Memory integrity now at %d%%" %
|
||||
[disk_num, len(disks_wanted) + len(disks_loaded), get_memory_integrity()]
|
||||
">> Loaded data disk %d (of [color=green]%d[/color]). Memory integrity now at [color=%s]%d%%[/color]" %
|
||||
[disk_num, len(disks_wanted) + len(disks_loaded), percent_color, memory_integrity]
|
||||
)
|
||||
|
||||
if has_finished_initialization():
|
||||
printline(
|
||||
">> System initialization complete. Beginning reactivation sequence."
|
||||
">> [color=green]System initialization complete[/color]. Beginning reactivation sequence."
|
||||
)
|
||||
printline(
|
||||
">> Player: Press [E] or [Space] to return to the outside world."
|
||||
">> [color=#4278ff]Player[/color]: Press [color=#4278ff][E][/color] or [color=#4278ff][Space][/color] to return to the outside world."
|
||||
)
|
||||
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user