Bump to v1.6.1: Raxxla hint

This commit is contained in:
Luxferre
2024-01-22 22:07:11 +02:00
parent 2a5474522b
commit a981a3a310
2 changed files with 8 additions and 4 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
# awlite: POSIX AWK port of Text Elite
# Version 1.6.0
# Version 1.6.1
# Original high-level algorithms from Text Elite 1.5 by Ian Bell, 1999, 2015
# Porting, corrections, improvements and optimizations by Luxferre, 2024
#
@@ -18,6 +18,7 @@
# - market and local info tables are better aligned
# - the "cash" and "sneak" commands are removed since v1.6 (use saves to cheat)
# - state saving functionality since v1.6 with "save" and "load" commands
# - since 1.6.1, the game gives you a hint if you might have found Raxxla
# ... to be continued ...
# utility functions
@@ -309,6 +310,8 @@ function prisys(sinfo, compressed) {
printf("\nRadius: %u", sinfo["radius"])
printf("\nPopulation: %u billion\n", int(sinfo["population"]/8))
goat_soup("\217 is \227.", sinfo) # generate and print the description
if(match(sinfo["name"], /RA..LA/)) # found Raxxla?
printf("\n%s", "Wait a sec... Is this the legendary Raxxla?\nWe'll never know for sure...")
}
}
@@ -611,7 +614,7 @@ BEGIN {
split("", globalseeds) # init galaxy seeds
buildgalaxy(player["galaxynum"], globalseeds) # build the current galaxy
genmarket(0, economies[player["currentplanet"]]) # build local market
printf("\nWelcome to awlite 1.6.0\n")
printf("\nWelcome to awlite 1.6.1\n")
dohelp()
# start the REPL
printf("\n\nCash: %.1f> ", player["cash"]/10)