--- 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.
=== About this wiki page ===
@@ -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: