mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -264,6 +264,17 @@ script.on_init(function()
|
|||||||
game.surfaces[1].delete_chunk({c.x, c.y})
|
game.surfaces[1].delete_chunk({c.x, c.y})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local tiles = {}
|
||||||
|
|
||||||
|
for x = -10, 10 do
|
||||||
|
for y = -10, 20 do
|
||||||
|
table.insert(tiles, {name = 'space-platform-foundation', position = {x, y}})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
pf.surface.set_tiles{tiles, remove_colliding_entities=false}
|
||||||
|
pf.surface.create_entity{name='substation', position={-1, 6}}
|
||||||
|
|
||||||
if not storage.phi_cl.spaceship then
|
if not storage.phi_cl.spaceship then
|
||||||
storage.phi_cl.spaceship = pf
|
storage.phi_cl.spaceship = pf
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user