mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-10 00:43:27 +02:00
Update satellite_score.lua
This commit is contained in:
parent
c20dd7468c
commit
804e81ca6f
@ -83,6 +83,10 @@ local function on_rocket_launched(event)
|
|||||||
end
|
end
|
||||||
global.satellite_score[i].achieved = true
|
global.satellite_score[i].achieved = true
|
||||||
end
|
end
|
||||||
|
if (c < 10) or ((c < 50) and ((c % 5) == 0)) or ((c % 25) == 0) then
|
||||||
|
local message = 'A satellite has been launched! Total count: ' .. c
|
||||||
|
server_commands.to_discord_embed(message)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function init()
|
local function init()
|
||||||
|
Loading…
Reference in New Issue
Block a user