[Add] Use landing_sinister when landing on Eiroik for missions.
This commit is contained in:
parent
756aac2bac
commit
6133a45210
@ -55,6 +55,11 @@ function land()
|
|||||||
|
|
||||||
-- First mission part is landing on the planet.
|
-- First mission part is landing on the planet.
|
||||||
if misn_stage == 0 and planet == misn_target then
|
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()))
|
tk.msg(title[1], string.format(text[4], misn_target:name()))
|
||||||
misn_stage = 1
|
misn_stage = 1
|
||||||
misn.setDesc(string.format(misn_desc[1], misn_base:name(), misn_base_sys:name()))
|
misn.setDesc(string.format(misn_desc[1], misn_base:name(), misn_base_sys:name()))
|
||||||
|
@ -75,6 +75,11 @@ function land()
|
|||||||
|
|
||||||
-- Just landing.
|
-- Just landing.
|
||||||
if misn_stage == 0 and planet == misn_target then
|
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])
|
tk.msg(title[2], text[3])
|
||||||
misn_stage = 1
|
misn_stage = 1
|
||||||
misn.setDesc(string.format(misn_desc[2], misn_base:name(), misn_base_sys:name()))
|
misn.setDesc(string.format(misn_desc[2], misn_base:name(), misn_base_sys:name()))
|
||||||
|
@ -1409,7 +1409,7 @@ void land(Planet* p) {
|
|||||||
/* Change the music. */
|
/* Change the music. */
|
||||||
music_choose("land");
|
music_choose("land");
|
||||||
|
|
||||||
/* Run hooks. */
|
/* Run hooks, run after music in case hook wants to change music. */
|
||||||
hooks_run("land");
|
hooks_run("land");
|
||||||
|
|
||||||
/* Generate mission computer stuff. */
|
/* Generate mission computer stuff. */
|
||||||
|
Loading…
Reference in New Issue
Block a user