Don't Starve
135 valoraciones
Better Console
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
24.047 KB
29 AGO 2013 a las 4:38 a. m.
13 JUL 2016 a las 8:51 a. m.
8 notas sobre cambios ( ver )

Suscríbete para descargar
Better Console

Descripción
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 comentarios
Master Pi 12 OCT 2023 a las 7:53 p. m. 
HOW DO I OPEN IT???
Kelso 28 DIC 2021 a las 6:55 a. m. 
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 DIC 2021 a las 11:19 a. m. 
console not showing suggestion keyword
ex: when type c_spawn(" <-- there is no suggestion show up
AidenZander 21 SEP 2021 a las 9:35 a. m. 
`~
MonsterSlayer 6 ABR 2020 a las 3:14 p. m. 
How do u open it
*Yuki* 29 NOV 2016 a las 2:57 a. m. 
does it still work?
cez™ 15 MAY 2016 a las 1:13 a. m. 
Game crashes when trying to copy/paste something in.
Starving 9 MAY 2016 a las 7:16 a. m. 
How do you get back the last command you typed?
Moose 13 ABR 2016 a las 11:42 a. m. 
Very glitchy when clicking shift+tab while on console :l
At996 25 MAR 2016 a las 9:16 p. m. 
Below me the update Sea the day it fixed shipwrecked being mixed with RoG