mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -3,7 +3,7 @@ Version: 3.0.125
|
|||||||
Date: 2025-08-17
|
Date: 2025-08-17
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- [GM] Fixed an issue that it will crash on existing game, as of no init of code.
|
- [GM] Changes on the init and the calculation period.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.124
|
Version: 3.0.124
|
||||||
|
|||||||
@@ -200,19 +200,24 @@ script.on_configuration_changed(function()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
storage.phi_cl = {
|
if storage.phi_cl then
|
||||||
cargo_landing_pad_storage = {},
|
if not storage.phi_cl.cargo_landing_pad_storage then
|
||||||
combinator = {
|
storage.phi_cl.cargo_landing_pad_storage = {}
|
||||||
research_set_combinator_count = 0,
|
end
|
||||||
research_queue = {},
|
|
||||||
research_queue_set = {},
|
if not storage.phi_cl.combinator then
|
||||||
research_progress = 0
|
storage.phi_cl.combinator = {
|
||||||
}
|
research_set_combinator_count = 0,
|
||||||
}
|
research_queue = {},
|
||||||
|
research_queue_set = {},
|
||||||
|
research_progress = 0
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP' then
|
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP' then
|
||||||
script.on_nth_tick(3600, function(_)
|
script.on_nth_tick(1800, function(_)
|
||||||
--
|
--
|
||||||
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
||||||
local ec_count = #ec
|
local ec_count = #ec
|
||||||
|
|||||||
Reference in New Issue
Block a user