Don't Starve

Don't Starve

135 Bewertungen
Better Console
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Dateigröße
Veröffentlicht
Aktualisiert
24.047 KB
29. Aug. 2013 um 4:38
13. Juli 2016 um 8:51
8 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Better Console

Beschreibung
A few improvements to the console.

Note: This mod is mostly intended for mod developers. For information about the console, see:
http://dont-starve-game.wikia.com/wiki/Console

Major features
  • Console log is scrollable
  • Console log no longer prints file/line number information (but log.txt still does)
  • Console keeps focus when you'd expect it to
  • Console doesn't close after each line entered
  • Added basic CTRL+A select all support (hitting backspace after CTRL+A will delete all the text)
  • Many general useability improvements, bugs that have been fixed, and small but useful tweaks

Minor features (the rest)
  • Console always runs the 'consolecommands' script when it is opened (no more having to do RunScript('consolecommands'))
  • Console log gets hidden whenever the console closes
  • Console history ignores consecutive duplicate lines
  • Console log has word wrap enabled
  • Fixed console history not properly resetting when you move up through the history and then back down to the start
  • Modified the c_select command so that it will set the debug entity to whatever is under the mouse if it is called with no parameter (default c_select requires a parameter)
  • Added c_nextday() command as a shortcut for GetClock():MakeNextDay()
  • Console will automatically print back the value of any variable you enter (for example, if you do 'test = 1' and then just 'test' it will print back '1')
  • If you use 'return' it will print back the value that is returned (for example, 'return GetPlayer()' would print something like '100009 - wilson'); basically return can be used as somewhat of an alias of print
  • Console prints back any command you give it
  • Console has a transparent black background
  • Console can print multiple return values
  • Console will auto-execute console commands (example: "c_nextday" would translate to "return c_nextday()")
  • If the first character of an inputted line is '=', then it will be translated to 'return ' (example: "=test" becomes "return test")
  • Better, more informative error handling for inputted lines

Things that are not currently possible with Lua:
  • Moving the text input cursor (for example, moving the cursor based on mouse clicks)
  • Any sort of real text selection
  • Copy/paste support

External Resources
47 Kommentare
Master Pi 12. Okt. 2023 um 19:53 
HOW DO I OPEN IT???
Kelso 28. Dez. 2021 um 6:55 
you guys should notice before posting that this hasnt been updated since 2016. Don't think posting in the comments is changing that.
Robie777 27. Dez. 2021 um 11:19 
console not showing suggestion keyword
ex: when type c_spawn(" <-- there is no suggestion show up
AidenZander 21. Sep. 2021 um 9:35 
`~
MonsterSlayer 6. Apr. 2020 um 15:14 
How do u open it
*Yuki* 29. Nov. 2016 um 2:57 
does it still work?
cez™ 15. Mai 2016 um 1:13 
Game crashes when trying to copy/paste something in.
Starving 9. Mai 2016 um 7:16 
How do you get back the last command you typed?
Moose 13. Apr. 2016 um 11:42 
Very glitchy when clicking shift+tab while on console :l
At996 25. März 2016 um 21:16 
Below me the update Sea the day it fixed shipwrecked being mixed with RoG