mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 3.0.128
|
||||||
|
Date: 2025-10-12
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
- [GM] Fixed a crash related to the previous changes of proxy container.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.127
|
Version: 3.0.127
|
||||||
Date: 2025-10-05
|
Date: 2025-10-05
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ local function entity_build(event)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if event.entity.type == 'proxy-container' and event.entity.name == 'proxy-cargo-landing-chest' then
|
if event.entity.type == 'proxy-container' and event.entity.name == 'proxy-cargo-landing-chest' and prototypes.entity['cargo-landing-pad'] then
|
||||||
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
||||||
|
|
||||||
if not ec then
|
if not ec then
|
||||||
@@ -150,7 +150,7 @@ local function entity_build(event)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if event.entity.type == 'cargo-landing-pad' and event.entity.name == 'cargo-landing-pad' then
|
if event.entity.type == 'cargo-landing-pad' and event.entity.name == 'cargo-landing-pad' and prototypes.entity['proxy-cargo-landing-chest'] then
|
||||||
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
||||||
|
|
||||||
if #ec > 1 then
|
if #ec > 1 then
|
||||||
@@ -340,7 +340,7 @@ script.on_nth_tick(1800, function(_)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for _, s in pairs(game.surfaces) do
|
for _, s in pairs(game.surfaces) do
|
||||||
local c = s.find_entities_filtered{type = 'constant-combinator', name = 'super-combinator'}
|
local c = s.find_entities_filtered{type='constant-combinator', name='super-combinator'}
|
||||||
|
|
||||||
if c and #c > 0 then
|
if c and #c > 0 then
|
||||||
for _, sc in pairs(c) do
|
for _, sc in pairs(c) do
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-CL",
|
"name": "PHI-CL",
|
||||||
"version": "3.0.127",
|
"version": "3.0.128",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"date": "2025-10-05",
|
"date": "2025-10-12",
|
||||||
"title": "Phidias Collection",
|
"title": "Phidias Collection",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user