ASA: Display how to skip cut scene in 1st mission
authorWuzzy <Wuzzy2@mail.ru>
Fri, 10 May 2019 23:51:24 +0200
changeset 14931 29a111397496
parent 14930 6582e3f69ba0
child 14932 938e67bc08ac
ASA: Display how to skip cut scene in 1st mission
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Fri May 10 23:51:05 2019 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Fri May 10 23:51:24 2019 +0200
@@ -103,6 +103,11 @@
 		-- Disable walking as long we're stuck on the moon
 		EnableGameFlags(gfArtillery)
 	end
+	if checkPointReached <= 4 and INTERFACE ~= "touch" then
+		-- FIXME: Precise key is not available in Touch
+		goals["init"][3] = goals["init"][3] .. "|" .. loc("Hint: Cinematics can be skipped with the [Precise] key.")
+	end
+
 	TurnTime = 20000
 	CaseFreq = 0
 	MinesNum = 0