Opened 7 days ago
STARK: No dedicated "listKnowledges" command
|Reported by:||aquadran||Owned by:|
|Game:||The Longest Journey|
Since the PR #1456 fixed the most important bugs in the debug console, I'll be posting few more lesser issues I found related to the debug console, most of which are minor quality of life improvements, so hopefully they can be tackled in the spare time.
Currently the changeKnowledge command is suggesting using dumpKnowledge to obtain ids. However, the dumpKnowledge command only print the knowledge of the current level, and prints it to stdout, just like other dump commands do (which is fine for its purpose). I haven't tested knowledges much, so I don't know whether or not you can set the knowledges for other levels, but is seems that dumpGlobal command prints more knowledges to stdout among other things.
Either way, I think there should be a dedicated listKnowledges command that will print the ids (and values) to the debug console in a friendly manner, similar to what listInventoryItems, listLocations and listScripts does.