mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-08 00:39:30 +02:00
forgot to add
This commit is contained in:
parent
2543abbc72
commit
fe257962a5
@ -187,7 +187,7 @@ Public.send_near_biters_to_objective = function()
|
||||
if not global.locomotive_cargo3 then return end
|
||||
local targets = {global.locomotive, global.locomotive, global.locomotive_cargo, global.locomotive_cargo2, global.locomotive_cargo3}
|
||||
local random_target = targets[math_random(1, #targets)]
|
||||
if random_target.valid then return end
|
||||
if not random_target.valid then return end
|
||||
local surface = random_target.surface
|
||||
local pollution = surface.get_pollution(random_target.position)
|
||||
local success = false
|
||||
|
@ -393,9 +393,9 @@ end
|
||||
local function check_chronoprogress()
|
||||
local objective = global.objective
|
||||
--game.print(objective.chronotimer)
|
||||
if objective.chronotimer >= objective.chrononeeds - 180 and objective.chronotimer < objective.chrononeeds - 59 then
|
||||
if objective.chronotimer == objective.chrononeeds - 180 then
|
||||
game.print("Comfylatron: Acumulator charging disabled, 180 seconds countdown to jump!", {r=0.98, g=0.66, b=0.22})
|
||||
elseif objective.chronotimer >= objective.chrononeeds - 60 and objective.chronotimer < objective.chrononeeds - 59 then
|
||||
elseif objective.chronotimer == objective.chrononeeds - 60 then
|
||||
game.print("Comfylatron: ChronoTrain nearly charged! Grab what you can, we leaving in 60 seconds!", {r=0.98, g=0.66, b=0.22})
|
||||
elseif objective.chronotimer == objective.chrononeeds - 30 then
|
||||
game.print("Comfylatron: You better hurry up! 30 seconds remaining!", {r=0.98, g=0.66, b=0.22})
|
||||
|
Loading…
Reference in New Issue
Block a user