[Add] Added another stage for when deffering escape and utter failure.
This commit is contained in:
parent
e224366ce6
commit
afb05bf6f4
@ -16,6 +16,7 @@
|
||||
-- 0) Get to the trinity.
|
||||
-- 1) Trinity combat.
|
||||
-- 2) Trinity dead/run.
|
||||
-- 3) Ran away.
|
||||
--
|
||||
-- Not too happy with the text (it chews it all up for you), but then again,
|
||||
-- I'm no writer. ;P
|
||||
@ -132,6 +133,7 @@ function jump()
|
||||
|
||||
-- Player ran away from combat - big disgrace..
|
||||
elseif misn_stage == 1 then
|
||||
misn_stage = 3
|
||||
player.msg(talk[6])
|
||||
end
|
||||
end
|
||||
@ -219,8 +221,8 @@ function land()
|
||||
local planet = space.getPlanet()
|
||||
|
||||
-- Just landing.
|
||||
if misn_stage == 2 and planet == misn_base then
|
||||
if trinity_alive then
|
||||
if(misn_stage == 2 or misn_stage == 3) and planet == misn_base then
|
||||
if trinity_alive or misn_stage == 3 then
|
||||
-- Failed to kill.
|
||||
tk.msg(title[5], text[7])
|
||||
var.push("trinity", true)
|
||||
|
Loading…
Reference in New Issue
Block a user