Tips and option to disable them
Adds a more general way to handle gameplay tips, and adds a boolean option "tips", which can be used to disable all tips. Adds a helpful longer message when the game goes into the "farlook" mode. Also adds a lua binding to easily show multi-line text in a menu window. Breaks save compat.
This commit is contained in:
@@ -4529,6 +4529,9 @@ screen.
|
||||
uses a timer-based delay.
|
||||
The default is on if configured into the program.)
|
||||
Persistent.
|
||||
.lp "tips "
|
||||
Show some helpful tips during gameplay (default on).
|
||||
Persistent.
|
||||
.lp tombstone
|
||||
Draw a tombstone graphic upon your death (default on).
|
||||
Persistent.
|
||||
|
||||
@@ -4957,6 +4957,9 @@ screen. (Applies to ``tty'' and ``curses'' interfaces only; ``X11'' interface a
|
||||
uses a timer-based delay. The default is on if configured into the
|
||||
program.) Persistent.
|
||||
%.lp
|
||||
\item[\ib{tips}]
|
||||
Show some helpful tips during gameplay (default on). Persistent.
|
||||
%.lp
|
||||
\item[\ib{tombstone}]
|
||||
Draw a tombstone graphic upon your death (default on). Persistent.
|
||||
%.lp
|
||||
|
||||
@@ -1977,6 +1977,8 @@ have 'I u' mention whether there are any unpaid items on the floor (unusual
|
||||
but not impossible); it doesn't itemize them or show shop price
|
||||
add items given a Japanese name when playing as a Samurai to discoveries list
|
||||
make music improvisations more varied and interesting, as well as useful
|
||||
give a helpful tip when first entering "farlook" mode
|
||||
add a boolean option tips to disable all of the helpful tips
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
@@ -384,6 +384,15 @@ Example:
|
||||
nh.stop_timer_at({x=5,y=6}, "melt-ice");
|
||||
|
||||
|
||||
=== text
|
||||
|
||||
Show long texts in a menu window. Wordwraps automatically.
|
||||
|
||||
Example:
|
||||
|
||||
nh.text("long long long string\nwith newlines too.");
|
||||
|
||||
|
||||
=== variable
|
||||
|
||||
Set or get a global variable. These are persistent, saved and restored along with the game.
|
||||
|
||||
Reference in New Issue
Block a user