author Wuzzy Sun, 08 Jul 2018 00:24:04 +0100 changeset 1426 2a4793897bb1 parent 1425 640e28c5c860 child 1427 7325e47d2e2f
LuaAPI: fix typos
 LuaAPI.wiki file | annotate | diff | comparison | revisions
```--- a/LuaAPI.wiki	Sun Jul 08 00:23:35 2018 +0100
+++ b/LuaAPI.wiki	Sun Jul 08 00:24:04 2018 +0100
@@ -6,7 +6,7 @@
== Introduction ==

Version 0.9.13 of Hedgewars introduced the ability to use Lua scripts to modify Hedgewars behaviour for different maps without having to recompile the whole game. The till then used triggers (only appeared in training maps) were removed.
-f
+
Lua is an easy to learn scripting language that’s implemented using open source libraries. If you’d like to learn more about Lua, have a look at [http://www.lua.org Lua's official homepage]. Even though its easy to learn syntax this wiki page won't explain all basics of using Lua, e.g. declaring variables or using control structures. There are tons of step-by-step tutorials and documentation available on the internet. Just throw “Lua” into your favourite search engine and give it a try.

@@ -1067,11 +1067,11 @@

Parameters:

-* `ammoType`: Ammo type to be set
-* `count`: Initial ammo count. 9 = infinite
-* `probability`: Crate probability. Max. value is 9. 0 = never
-* `delay`: Number of rounds this ammo is delayed
-* `numberInCrate`: Amount of ammo in a crate
+ * `ammoType`: Ammo type to be set
+ * `count`: Initial ammo count. 9 = infinite
+ * `probability`: Crate probability. Max. value is 9. 0 = never
+ * `delay`: Number of rounds this ammo is delayed
+ * `numberInCrate`: Amount of ammo in a crate

Example:
```