mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -562,6 +562,10 @@ for _, w in pairs({'roboport', 'roboport-equipment'}) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if data.raw['roboport-equipment'] and data.raw['roboport-equipment']['personal-roboport-equipment'] then
|
||||||
|
data.raw['roboport-equipment']['personal-roboport-equipment'].charging_energy = tostring(tonumber(string.match(data.raw['roboport-equipment']['personal-roboport-equipment'].charging_energy, '[%d%.]+')) / 2) .. string.match(data.raw['roboport-equipment']['personal-roboport-equipment'].charging_energy, '%a+')
|
||||||
|
end
|
||||||
|
|
||||||
-- MIG C 1 SPAGE_AGE ENTITY
|
-- MIG C 1 SPAGE_AGE ENTITY
|
||||||
if data.raw['thruster'] and data.raw['thruster']['thruster'] then
|
if data.raw['thruster'] and data.raw['thruster']['thruster'] then
|
||||||
if data.raw['thruster']['thruster'].fuel_fluid_box then
|
if data.raw['thruster']['thruster'].fuel_fluid_box then
|
||||||
|
|||||||
Reference in New Issue
Block a user