mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +02:00
changed mobius strip size
This commit is contained in:
parent
eed3229769
commit
b07b659372
@ -13,7 +13,7 @@ local line1 = rectangle_builder(77,16)
|
|||||||
line1 = rotate(line1, degrees(45))
|
line1 = rotate(line1, degrees(45))
|
||||||
line1 = translate(line1,66.5,12.6875)
|
line1 = translate(line1,66.5,12.6875)
|
||||||
|
|
||||||
local line2 = rectangle_builder(46, 16)
|
local line2 = rectangle_builder(45, 16)
|
||||||
local line2 = rotate(line2, degrees(-45))
|
local line2 = rotate(line2, degrees(-45))
|
||||||
line2 = translate(line2, 55.5,-23.6875)
|
line2 = translate(line2, 55.5,-23.6875)
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ local half = compound_or({ line2,line1,circle})
|
|||||||
half = translate(half, -79.1875, 0)
|
half = translate(half, -79.1875, 0)
|
||||||
local map = compound_or({ half, flip_xy(half) })
|
local map = compound_or({ half, flip_xy(half) })
|
||||||
|
|
||||||
map = scale(map, 16, 16)
|
map = scale(map, 11, 11)
|
||||||
|
|
||||||
|
|
||||||
local function research_finished(event)
|
local function research_finished(event)
|
||||||
@ -67,6 +67,8 @@ local function effect(x, y, world_x, world_y, tile, entity)
|
|||||||
e.minable = false
|
e.minable = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[
|
||||||
|
|
||||||
if max_axis_distance(world_x, world_y, -2144, 0) < safe_distance then
|
if max_axis_distance(world_x, world_y, -2144, 0) < safe_distance then
|
||||||
for _, e in ipairs(surface.find_entities_filtered({ force = "enemy", position = { world_x, world_y } } )) do
|
for _, e in ipairs(surface.find_entities_filtered({ force = "enemy", position = { world_x, world_y } } )) do
|
||||||
e.destroy()
|
e.destroy()
|
||||||
@ -100,6 +102,8 @@ local function effect(x, y, world_x, world_y, tile, entity)
|
|||||||
e.amount = amount
|
e.amount = amount
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--]]
|
||||||
|
|
||||||
return tile, entity
|
return tile, entity
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user