mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -245,8 +245,8 @@ script.on_init(function()
|
|||||||
}
|
}
|
||||||
|
|
||||||
local pf = game.forces['player'].create_space_platform({name = 'spaceship', planet = 'nauvis', starter_pack = 'space-platform-starter-pack'})
|
local pf = game.forces['player'].create_space_platform({name = 'spaceship', planet = 'nauvis', starter_pack = 'space-platform-starter-pack'})
|
||||||
local sp = game.create_surface('spaceship_power', mgs)
|
local sp = game.create_surface('spaceship_fl_1', mgs)
|
||||||
local sm = game.create_surface('spaceship_manufacture', mgs)
|
local sm = game.create_surface('spaceship_fl_2', mgs)
|
||||||
|
|
||||||
if not pf then
|
if not pf then
|
||||||
return
|
return
|
||||||
@@ -324,8 +324,8 @@ script.on_init(function()
|
|||||||
if not storage.phi_cl.spaceship then
|
if not storage.phi_cl.spaceship then
|
||||||
storage.phi_cl.spaceship = {
|
storage.phi_cl.spaceship = {
|
||||||
deck = pf,
|
deck = pf,
|
||||||
power = sp,
|
fl_1 = sp,
|
||||||
manufacture = sm
|
fl_2 = sm
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user