mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-29 06:43:23 +09:00
.
This commit is contained in:
@@ -15,7 +15,8 @@ for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- GM-SAP C 16 SPACE_AGE ENTITY
|
-- GM-SAP C 16 SPACE_AGE ENTITY
|
||||||
for _, asteroid in pairs(data.raw['asteroid']) do
|
if data.raw['asteroid'] then
|
||||||
|
for _, asteroid in pairs(data.raw['asteroid']) do
|
||||||
if asteroid.dying_trigger_effect then
|
if asteroid.dying_trigger_effect then
|
||||||
for _, trigger in pairs(asteroid.dying_trigger_effect) do
|
for _, trigger in pairs(asteroid.dying_trigger_effect) do
|
||||||
if trigger.type == 'create-asteroid-chunk' then
|
if trigger.type == 'create-asteroid-chunk' then
|
||||||
@@ -27,6 +28,7 @@ for _, asteroid in pairs(data.raw['asteroid']) do
|
|||||||
for _, r in pairs(asteroid.resistances) do
|
for _, r in pairs(asteroid.resistances) do
|
||||||
r.percent = (r.percent > 98 and 98) or r.percent
|
r.percent = (r.percent > 98 and 98) or r.percent
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- GM-SAP C 4 SPACE_AGE ENTITY
|
-- GM-SAP C 4 SPACE_AGE ENTITY
|
||||||
|
|||||||
Reference in New Issue
Block a user