From 104bca49c6e8aaf3d4310d5d645f3f82f29226f0 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 9 Oct 2025 18:37:01 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 9d230eb..d94f43d 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -273,7 +273,20 @@ script.on_init(function() end pf.surface.set_tiles(tiles) - pf.surface.create_entity{name='substation', position={-1, 6}} + + local entities = { + {name='substation', position={0, 6}}, + {name='substation', position={3, 5}}, + {name='substation', position={-3, 5}} + } + + for _, en in pairs(entities) do + local e = pf.surface.create_entity{name=en.name, position=en.position, force='player'} + e.destructible = false + e.minable = false + e.rotatable = false + e.operable = false + end if not storage.phi_cl.spaceship then storage.phi_cl.spaceship = pf