1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-13 13:49:33 +02:00

Merge pull request #28 from Gerkiz/patch-4

Update satellite_score.lua
This commit is contained in:
MewMew 2019-03-23 02:03:18 +01:00 committed by GitHub
commit 05fa59a01f
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()