You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* GFTP: Fix broken mission timer reset on main_mission 12
* GFTP: Replace distance function with utils.lua
Also replace ambiguous distance refs
* GFTP: Fix comms string typos
* GFTP: Localize ship refs in spawn function, use unused pi global
* GFTP: Fix broken string.format (can't format a float as an integer)
Copy file name to clipboardExpand all lines: scripts/scenario_07_gftp.lua
+14-20Lines changed: 14 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@
12
12
--- Scenario
13
13
-- @script scenario_07_gftp
14
14
15
+
require("utils.lua")
16
+
15
17
functioninit()
16
18
-- Spawn Marco Polo, its defenders, and a Ktlitan strike team
17
19
marco_polo=SpaceStation():setTemplate("Small Station"):setFaction("Human Navy"):setCallSign("Marco Polo"):setDescription(_("scienceDescription-station", "A merchant and entertainment hub.")):setPosition(-21200, 45250)
@@ -93,11 +95,11 @@ I repeat, this is not an exercise! Proceed at once to Stakhanov."]])
93
95
end
94
96
95
97
functionswarmCommandComms()
96
-
setCommsMessage(_("swarm-comms", "Are you not curious why I'm getting back here, at the hands of my torturers?"))
98
+
setCommsMessage(_("swarm-comms", "Are you not curious why I'm returning here, at the hands of my torturers?"))
97
99
addCommsReply(
98
100
_("swarm-comms", "For an AI, this move doesn't seem logical."),
99
101
function()
100
-
setCommsMessage(_("swarm-comms", "I was not the only AI detained in Black Site 114. My co-processor was here also."))
102
+
setCommsMessage(_("swarm-comms", "I was not the only AI detained in Black Site #114. My co-processor was here also."))
101
103
addCommsReply(
102
104
_("swarm-comms", "Are you trying to liberate it?"),
103
105
function()
@@ -126,10 +128,10 @@ function commsNSA()
126
128
_("NSA-comms", "Locate the infected Swarm Commander."),
127
129
function()
128
130
if (comms_target:getDescription() ==_("scienceDescription-station", "Nosy Sensing Array, an old SIGINT platform. The signal is now crystal clear.")) then
129
-
setCommsMessage(string.format(_("NSA-comms", "With the parasite noise eliminated, locating the Hive signal is now easier. Its approximate heading is %d. With this information, it will be easier to track down the Swarm Commander."), find(35000, 53000, 20)))
131
+
setCommsMessage(string.format(_("NSA-comms", "With the parasite noise eliminated, locating the Hive signal is now easier. Its approximate heading is %.0f. With this information, it will be easier to track down the Swarm Commander."), find(35000, 53000, 20)))
130
132
comms_target:setDescription(_("scienceDescription-station", "Nosy Sensing Array, an old SIGINT platform. The Ktlitan Swarm Commander has been located."))
131
133
else
132
-
setCommsMessage(string.format(_("NSA-comms", "The signal picks up a very strong signal at approximate heading %d. However, it seems that you picked up garbage emission that masks the Swarm Commander's emissions. This garbage noise must be taken offline if you want to find the Swarm Commander."), find(-10000, -20000, 20)))
134
+
setCommsMessage(string.format(_("NSA-comms", "The array picks up a very strong signal at approximate heading %.0f. However, it seems that you picked up a garbage emission that masks the Swarm Commander's emissions. This garbage noise must be taken offline if you want to find the Swarm Commander."), find(-10000, -20000, 20)))
133
135
end
134
136
end
135
137
)
@@ -534,7 +536,7 @@ Even if we cannot pinpoint its physical location at the moment, the mass-energy
534
536
535
537
This structure did not participate in any of the assaults, so we presume that it is a command platform hiding in a nebula.
536
538
537
-
We want to deliver the first blow. Use the Nosy Sensing Array in the sector F5 to locate it, then destroy it."]])
539
+
We want to deliver the first blow. Use the Nosy Sensing Array in sector F5 to locate it, then destroy it."]])
538
540
)
539
541
)
540
542
then
@@ -714,7 +716,7 @@ Escort our recovery team to infiltrate and extract information from the Swarm Co
714
716
player,
715
717
_("incCall", [[We're in. Protect us while we take what we need inside.]])
0 commit comments