Fandom

Don't Starve game Wiki

Lua

1,078pages on
this wiki
Add New Page
Comments5 Share

Lua is a lightweight scripting language that is used by the game engine which runs Don't Starve. The core game is written in C++, although all game prefabs and modifications for the game are written in Lua. Lua is free to download, and is released under the MIT license. To learn more about Lua, visit the official website at Lua.org. This typed scripting language is compact enough to fit on a variety of platforms. It supports only a small number of  data structures such as boolean values, numbers, and strings. Lua implements a small set of advanced features such as first-class functions, garbage collection, closures, proper tail calls, coercion (automatic conversion between string and number values at run time), coroutines (cooperative multitasking) and dynamic module loading.

Placeholder TriviaEdit

  • "Lua" is not an acronym; it is the Portuguese word for "moon".
  • Lua is used in other games for content creation such as Garry's Mod and Empire: Total War.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.