1
0
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:
Gerkiz 2019-03-22 23:44:38 +01:00 committed by GitHub
parent c20dd7468c
commit 804e81ca6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,10 @@ local function on_rocket_launched(event)
end
global.satellite_score[i].achieved = true
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
local function init()