Version 1.6: less bitwise op deps, save/load functionality, no cheatmode anymore

This commit is contained in:
Luxferre
2024-01-22 21:39:01 +02:00
parent d050177507
commit dfc78807ab
2 changed files with 57 additions and 61 deletions
+15 -16
View File
@@ -9,7 +9,7 @@ numerous fixes, optimizations and further gameplay improvements.
The overall command for running awlite looks like this:
LC_ALL=C awk -f awlite.awk [-v NO_ALIEN_ITEMS=1] [-v CENSORED=1] [-v CHEAT=1]
LC_ALL=C awk -f awlite.awk [-v NO_ALIEN_ITEMS=1] [-v CENSORED=1]
You can replace "awk" with "nawk", "busybox awk", "gawk --posix",
"mawk -W posix" etc depending on which AWK implementation you have.
@@ -20,8 +20,7 @@ nawk and busybox awk might not need it.
Optionally, you can also supply these flags to change some game aspects:
* -v NO_ALIEN_ITEMS=1 forces "Alien Items" goods unavailability in the game;
* -v CENSORED=1 replaces "Slaves", "Narcotics" and "Liquors" goods names;
* -v CHEAT=1 enables "cash" and "sneak" commands in the REPL.
* -v CENSORED=1 replaces "Slaves", "Narcotics" and "Liquors" goods names.
Of course, awlite is fully scriptable, e.g. you can append < script.txt to the
basic game launch command.
@@ -43,16 +42,13 @@ From now on, the following commands are available (case-insensitive):
* mkt: show local planetary system market prices
* local: list planetary systems within 7 lightyears (your max fuel capacity)
* hold: expand your cargo bay to 35t for 400 credits (one-time upgrade only)
* save (name): save the gamestate in the current working directory
* load (name): load the gamestate from the current working directory
* help: display an in-game command help screen
* rand: toggle between the AWK's native PRNG (default) and a custom one
* quit: quit the game
The following commands are only available in the cheat mode (-v CHEAT=1):
* cash (number): add (number) to your cash balance
* sneak (planetname): fly to planetname without spending fuel
All commands except "hold", "cash" and "sneak" can be abbreviated by their
All commands except "hold", "save" and "load" can be abbreviated by their
first letter. In addition, trade goods names can be abbreviated too (by several
first letters). E.g. "b fo 5" is the same as "buy Food 5", and "q" is "quit".
@@ -60,11 +56,10 @@ Fuel price is fixed at 0.2 CR/LY, you can hold 7LY of fuel at most.
== Gameplay differences from the original TE 1.5 C version ==
As of the current version, 1.5.8:
As of the current version, 1.6:
* multiple typos corrected in text strings
* the "cash" and "sneak" commands are only available to the REPL if running
with -v CHEAT=1
* the "cash" and "sneak" commands were removed since v1.6
* galaxy jumps are no longer free and cost 5000 credits each
(like in classic Elite and Oolite)
* cargo hold expansion also is non-free (400 credits) and can only be
@@ -76,6 +71,7 @@ As of the current version, 1.5.8:
* the following goods have been renamed: "Robot Slaves" to "Robots",
"Liquor/Wines" to "Liquors", "Gem-Strones" to "Gem-stones"
* market and local info tables are better aligned
* state saving/loading functionality introduced with "save"/"load" commands
To be continued. This list is expected to grow in the future.
@@ -129,11 +125,14 @@ Because the current AWK gaming scene is rather poor (besides a handful of some
GAWK-specific games), and it is an interesting challenge to port such a title
to an environment requiring nothing except a bare kernel and BusyBox to play.
- Why did you keep the cheating commands present in the original?
- Why didn't you keep the cheating commands present in the original?
To preserve backward compatibilty with some trading scripts written for the
original Text Elite versions. Once it is proven the scripts won't work
correctly anyway, the cheat mode will be removed from awlite.
In version 1.5.8, the commands "sneak" and "cash" were there in a special
"cheat mode" to preserve backward compatibilty with some trading scripts
written for the original Text Elite versions. Once it was proven the scripts
won't work correctly anyway, the cheat mode was removed starting with awlite
1.6. You can manipulate the savefiles to achieve the same functionality if
you really need to cheat.
- Why don't the scripts give the same results as for the original TE.EXE?