This commit is contained in:
2025-04-16 21:51:14 +09:00
parent fcda4a1401
commit 7e48113ab1
2 changed files with 1 additions and 17 deletions

View File

@@ -107,18 +107,6 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
gui['i_sub_direction'].selected_index = ((inserter_direction_reversed[inserter.direction] % 4 or 0) + ((inserter.mirroring and 2) or 0)) % 4 + 1
end
function space_white_science()
local surface = game.surfaces['space-platform']
if surface then
local hub_init = surface.can_place_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
if hub_init then
surface.create_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
end
end
end
script.on_init(function(_)
for _, player in pairs(game.players) do
gui_create(player)
@@ -133,14 +121,10 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
gui_update(player, player.opened.entity)
end
end
space_white_science()
end)
script.on_event(defines.events.on_player_created, function(e)
gui_create(game.players[e.player_index])
space_white_science()
end)
script.on_event(defines.events.on_gui_opened, function(e)

View File

@@ -780,7 +780,7 @@ if settings.startup['PHI-VP'].value then
end
data.raw.technology['rocket-silo'].effects = {{type = 'unlock-recipe', recipe = 'rocket-silo'}, {type = 'unlock-recipe', recipe = 'rocket-part'}, {type = 'unlock-recipe', recipe = 'cargo-landing-pad'}, {type = 'unlock-recipe', recipe = 'cargo-bay'}}
data.raw['rocket-silo']['rocket-silo'].launch_to_space_platforms = true
data.raw['rocket-silo']['rocket-silo'].launch_to_space_platforms = false
data.raw['rocket-silo']['rocket-silo'].rocket_parts_required = 100
data.raw['rocket-silo']['rocket-silo'].to_be_inserted_to_rocket_inventory_size = 1
data.raw['rocket-silo']['rocket-silo'].logistic_trash_inventory_size = 0