Developer Cheerio Posted October 11, 2013 Developer Share Posted October 11, 2013 Here's a couple of tips for getting the most out of your Don't Starve scripting experience . Please reply with your favorite tips and tricks . Tip #1: ForceEnableModForceEnableMod is a function you can call in 'modsettings.lua' which forces your mod to be loaded even if your mod crashed the game. This means you don't have to keep going to the mods menu and enabling your mod. Tip #2: DebugKeysDon't Starve has a ton of debug keys which are shortcuts to help development. Two of the most useful keys are 'CTRL+R' which reloads all lua scripts and jumps to the main menu and 'Right Shift' which jumps from the main menu right into game. Debug keys can be enabled by adding the following lines to your 'modmain.lua' or by subscribing to this mod. GLOBAL.CHEATS_ENABLED = true GLOBAL.require( 'debugkeys' ) Tip #3: Use a good text editorIt doesn't matter if you use Visual Studio or Vim or Sublime, just please don't use notepad. It was not meant to be used for scripting. There are a ton of text editors which will save you a ton of time. If you've never used any fancy text editors, you can follow this guide to get started with Sublime. Tip #4: DebugSpawnYou can spawn any item/creature in the game by using the DebugSpawn command. When in game, bring up the debug console by pressing the '`' key. Then try typing 'DebugSpawn(bat)'. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.