share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua
changeset 12582 e2b5c6e805e8
parent 12580 0c5ce463949b
child 12591 7510fe66bfbb
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua	Thu Sep 28 18:36:24 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert03.lua	Thu Sep 28 18:39:59 2017 +0200
@@ -18,7 +18,7 @@
 local dialog01 = {}
 -- mission objectives
 local goals = {
-	["init"] = {missionName, loc("Challenge objectives"), challengeObjectives, 1, 60000},
+	["init"] = {missionName, loc("Challenge objectives"), challengeObjectives, 1, 30000},
 }
 -- hogs
 local hero = {
@@ -62,6 +62,7 @@
 	GameFlags = gfOneClanMode
 	Seed = 1
 	TurnTime = -1
+	Ready = 30000
 	CaseFreq = 0
 	MinesNum = 0
 	MinesTime = 1
@@ -79,12 +80,10 @@
 
 	initCheckpoint("desert03")
 
-	AnimInit(true)
-	AnimationSetup()
+	AnimInit()
 end
 
 function onGameStart()
-	AnimWait(hero.gear, 3000)
 	FollowGear(hero.gear)
 	ShowMission(unpack(goals["init"]))
 
@@ -175,18 +174,6 @@
 	gameOver()
 end
 
--------------- ANIMATIONS ------------------
-
-function AnimationSetup()
-	-- DIALOG 01 - Start, game instructions
-	table.insert(dialog01, {func = AnimWait, args = {hero.gear, 3000}})
-	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("On the Desert Planet, Hog Solo found some time to play with his RC plane"), 3000}})
-	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("Each time you destroy all the targets on your current level you'll get teleported to the next level"), 5000}})
-	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("You'll have only one RC plane at the start of the mission"), 5000}})
-	table.insert(dialog01, {func = AnimCaption, args = {hero.gear, loc("During the game you can get new RC planes by collecting the weapon crates"), 5000}})
-	table.insert(dialog01, {func = AnimWait, args = {hero.gear, 500}})
-end
-
 ----------------- Other Functions -----------------
 
 function checkTargetsDestroyed()