diff -r 17fe62f4b3de -r 47ae63ffa3d5 LuaLibrarySimpleMission.wiki --- 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: + 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) +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.