LuaLibrarySimpleMission.wiki
changeset 1356 47ae63ffa3d5
parent 1355 17fe62f4b3de
child 1357 7cdf5df9dfc1
--- a/LuaLibrarySimpleMission.wiki	Wed May 02 23:08:29 2018 +0100
+++ b/LuaLibrarySimpleMission.wiki	Wed May 02 23:10:40 2018 +0100
@@ -20,6 +20,8 @@
 
 This function sets up the *entire* mission and needs one argument: params. The argument `params` is a table containing fields which describe the mission.
 
+This is the definition of the `params` field:
+
 <code>
 Mandatory fields:
 - teams:		Table of teams. There must be 1-8 teams.
@@ -179,5 +181,7 @@
 	- skips		Total number of water skips required at least (default: 1)
 </code>
 
+Source: https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Scripts/SimpleMission.lua
+
 === Examples ===
-A couple of scenarios are using `SimpleMission`. Look into `Data/Missions/Scenarios` of your Hedgears installation. Check out the source code of the mission “Bazooka Battlefield” for a typical mission created with this library.
+A couple of scenarios are using `SimpleMission`. Look into `Data/Missions/Scenarios` of your Hedgewars installation. Check out the [https://hg.hedgewars.org/hedgewars/raw-file/tip/share/hedgewars/Data/Missions/Scenario/Bazooka_Battlefield.lua source code of the mission “Bazooka Battlefield”] for a typical mission created with this library.