mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-23 05:53:12 +09:00
.
This commit is contained in:
1 parent
da0e1f69d3
commit
df348356ab
1 file changed
+4
@@ -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