Latest Posts

Changes in LuaScripting

Old Title


Editor Comment

Mention how to get at Lua docs in the Wiki


Revision Differences of Revision 1

Scripting Widelands using Lua ¶
============================= ¶

[Lua](http://www.lua.org/) is used for scripting in various parts of Widelands: ¶

* Scenarios: all scenario-specific events and messages to the player are controlled by Lua scripts ¶
* Starting conditions: set up of a player's initial building and wares at the start of a regular game ¶
* Win conditions: the rules that decide when a game is won ¶

Documentation of these aspects is available [outside the Wiki](http://wl.widelands.org/docs/lua/). This documentation is automatically generated from the source code. See the directory `src/scripting/doc` in the source distribution for details on how to modify and generate it yourself. ¶