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:
@@ -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