Missions: Add mission type
authorWuzzy
Fri, 14 Dec 2018 01:43:02 +0000
changeset 1686 ad2641650d35
parent 1685 2e6f3bfcb26b
child 1687 425eb8f784a9
Missions: Add mission type
Missions.wiki
--- a/Missions.wiki	Fri Dec 14 01:37:47 2018 +0000
+++ b/Missions.wiki	Fri Dec 14 01:43:02 2018 +0000
@@ -12,7 +12,13 @@
 
 See [LuaGuide], [LuaAPI] and [LuaLibraries] for more information about scripting.
 
-This file needs to be saved in `Data/Missions/Training`. The file name must end with “`.lua`”. Remember the file name, you will need it for the other files.
+This file needs to be saved in `Data/Missions/<MISSION TYPE>`, with `<MISSION TYPE>` being one of `Training`, `Challenge` or `Scenario`. The file name must end with “`.lua`”. Remember the file name, you will need it for the other files.
+
+These are the mission types:
+
+ * Training: Tutorial-like mission that teaches the player a skill or is for practice. You can't lose
+ * Challenge: Player must master a particular skill in order to reach a high score
+ * Scenario: Player has to complete a predefined goal
 
 ==== Hints ====
 In mission scripting, some patterns appear often, so here are some hints for your convenience (Refer to [LuaAPI] for a full documentation):
@@ -31,7 +37,7 @@
 The preview image is displayed in the mission menu when you have selected the mission.
 It must be a PNG image of size 314px×260px.
 
-The file must be saved in `Data/Graphics/Missions/Training`. The file name must follow this pattern:
+The file must be saved in `Data/Graphics/Missions/<MISSION TYPE>`. The file name must follow this pattern:
 
 `<mission name>@2x.png`