[Add] Use landing_sinister when landing on Eiroik for missions.

This commit is contained in:
Allanis 2014-06-05 20:53:37 +01:00
parent 756aac2bac
commit 6133a45210
3 changed files with 11 additions and 1 deletions

View File

@ -55,6 +55,11 @@ function land()
-- First mission part is landing on the planet.
if misn_stage == 0 and planet == misn_target then
-- Sinister music landing.
music.load("landing_sinister")
music.play()
-- Some text.
tk.msg(title[1], string.format(text[4], misn_target:name()))
misn_stage = 1
misn.setDesc(string.format(misn_desc[1], misn_base:name(), misn_base_sys:name()))

View File

@ -75,6 +75,11 @@ function land()
-- Just landing.
if misn_stage == 0 and planet == misn_target then
-- Sinister music landing.
music.load("landing_sinister")
music.play()
-- Some flavour text.
tk.msg(title[2], text[3])
misn_stage = 1
misn.setDesc(string.format(misn_desc[2], misn_base:name(), misn_base_sys:name()))

View File

@ -1409,7 +1409,7 @@ void land(Planet* p) {
/* Change the music. */
music_choose("land");
/* Run hooks. */
/* Run hooks, run after music in case hook wants to change music. */
hooks_run("land");
/* Generate mission computer stuff. */