Files
factorio-mod-PHI-CL/PHI-CL/data/b/mi.lua
T
2026-06-30 20:48:14 +09:00

17 lines
654 B
Lua

-- MI C 2 BASE ENTITY
for _, t in pairs({'construction-robot', 'logistic-robot'}) do
if data.raw[t] then
for _, v in pairs(data.raw[t]) do
if settings.startup['PHI-MI-ROBOT-ENERGY'].value then
v.energy_per_tick = (v.energy_per_tick and '0J') or nil
v.energy_per_move = (v.energy_per_move and '0J') or nil
v.speed_multiplier_when_out_of_energy = (v.speed_multiplier_when_out_of_energy and 1) or nil
end
end
end
end
-- MI C 1 BASE UTILITY_CONSTANTS
data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value