mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
a558979cef
14
config.lua
14
config.lua
@ -15,7 +15,19 @@ Event.register(-1, function()
|
||||
rorror = "",
|
||||
Medival3 = "",
|
||||
dpoba = "",
|
||||
settdigger = ""
|
||||
settdigger = "",
|
||||
Cheeselicker = "",
|
||||
cpaca0 = "",
|
||||
UTIDI = "",
|
||||
JokerOfTheZ = "",
|
||||
saltlands = "",
|
||||
Maniah = "",
|
||||
COOL = "",
|
||||
boail = "",
|
||||
hunter117x = "",
|
||||
TonyTroll = "",
|
||||
rorror = "",
|
||||
HighInFiberOptics = ""
|
||||
}
|
||||
global.scenario.variables.player_positions = {}
|
||||
global.scenario.variables.player_walk_distances = {}
|
||||
|
@ -40,7 +40,7 @@ end
|
||||
local function distance(player_1, player_2)
|
||||
local d_x = player_1.position.x - player_2.position.x
|
||||
local d_y = player_1.position.y - player_2.position.y
|
||||
return math.sqrt(d_x*d_x + d_y + d_y)
|
||||
return math.sqrt(d_x*d_x + d_y * d_y)
|
||||
end
|
||||
function walk_on_tick()
|
||||
if global.follows.n_entries > 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user