textadventures / quest

Create text adventure games
http://textadventures.co.uk/quest
MIT License
304 stars 69 forks source link

kv-3-log-rehab - Restore Log Window Functionality in Desktop Player #1191

Closed KVonGit closed 1 week ago

KVonGit commented 2 months ago

Log function once again uses the log window in the desktop player

The HTML (or "in-game") log functionality which was added to Quest 5.8 has been completely removed

If game.useconsolelog is set to true, the Log function will pass the text along via JS.console.log() -- (game.useconsolelog is false by default)

If game.writelogtofile is set to true, each log entry will be written/appended to a text document in "Documents\Quest Logs\" -- (game.writelogtofile is false by default)

Removed the log_cmd command and all of its templates from the language files. (NOTE: I only found it in Dansk, Deutsch, English, Greek, and Italiano)

Removed all log-related functions and code from "PlayerController\playercore.js", with the exception of getTimeAndDateForLog(), which is still used.

Closes #1025