equal
deleted
inserted
replaced
1 #summary Overview of libraries for writing Lua scripts in Hedgewars |
1 #summary Overview of libraries for writing Lua scripts in Hedgewars |
2 |
2 |
3 = Lua libraries documentation = |
3 = Lua libraries = |
4 |
4 |
5 == Introduction == |
5 == Introduction == |
6 Libraries in scripts in Hedgewars are Lua files that are used by many scripts to add a common function, as an example the `Locale` library that allows scripts to translate text. The variables in these files are not exposed to the script using it but all the functions can be called. |
6 Libraries in scripts in Hedgewars are Lua files that are used by many scripts to add a common function, as an example the `Locale` library that allows scripts to translate text. The variables in these files are not exposed to the script using it but all the functions can be called. |
7 |
7 |
8 == Usage == |
8 == Usage == |