Move Rondel.lua to PolicePatrol

master
WKFO 2020-12-28 19:39:46 +03:00 committed by Webster Sheets
parent c0ed9447ee
commit 1166078a4a
1 changed files with 2 additions and 2 deletions

View File

@ -92,10 +92,10 @@ local onEnterSystem = function (player)
Game.SetTimeAcceleration("1x")
Timer:CallAt(Game.time + 2, function ()
Comms.ImportantMessage(string.interp(l_rondel.RONDEL_RESTRICTED_ZONE, {seconds = tostring(120*tolerance), playerShipLabel = Game.player:GetLabel()}), ship.label)
Comms.ImportantMessage(string.interp(l_rondel.RONDEL_RESTRICTED_ZONE, {seconds = tostring(600*tolerance), playerShipLabel = Game.player:GetLabel()}), ship.label)
end)
Timer:CallAt(Game.time + 120*tolerance, function()
Timer:CallAt(Game.time + 600*tolerance, function()
attackShip(player)
Comms.ImportantMessage(l_rondel.HOSTILE_ACTION_REPORTED, ship.label)
end)