8 lines
235 B
Luau
8 lines
235 B
Luau
--!strict
|
|
local Rules = {LIFETIME = 42, FLASH_SECONDS = 8, MAX_DROPS = 60}
|
|
function Rules.canMerge(a: Vector3, b: Vector3): boolean
|
|
local d = a - b
|
|
return math.abs(d.Y) < 3 and d.X*d.X+d.Z*d.Z <= 3.5^2
|
|
end
|
|
return table.freeze(Rules)
|