mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 12:11:40 +09:00
Update
This commit is contained in:
@@ -1,3 +1,38 @@
|
||||
-- electric boiler
|
||||
data.raw['boiler']['boiler'].fast_replaceable_group = 'boiler'
|
||||
data.raw['boiler']['electric-boiler'].fast_replaceable_group = data.raw['boiler']['electric-boiler'].fast_replaceable_group
|
||||
|
||||
for k, _ in pairs(data.raw) do
|
||||
if data.raw[k] ~= nil then
|
||||
if data.raw[k].fluid_box ~= nil then
|
||||
if data.raw[k].fluid_box.height < 4 then
|
||||
data.raw[k].fluid_box.height = 4
|
||||
end
|
||||
if data.raw[k].fluid_box.base_level < 5 then
|
||||
data.raw[k].fluid_box.base_level = 5
|
||||
end
|
||||
end
|
||||
if data.raw[k].output_fluid_box ~= nil then
|
||||
if data.raw[k].output_fluid_box.height < 4 then
|
||||
data.raw[k].output_fluid_box.height = 4
|
||||
end
|
||||
if data.raw[k].output_fluid_box.base_level > -5 then
|
||||
data.raw[k].output_fluid_box.base_level = -5
|
||||
end
|
||||
end
|
||||
|
||||
if data.raw[k].fluid_boxes ~= nil then
|
||||
for k1, _ in pairs(data.raw[k].fluid_boxes) do
|
||||
if data.raw[k].fluid_boxes[k1] ~= false and data.raw[k].fluid_boxes[k1] ~= true then
|
||||
if data.raw[k].fluid_boxes[k1].production_type ~= nil then
|
||||
data.raw[k].fluid_boxes[k1].height = 4
|
||||
|
||||
if data.raw[k].fluid_boxes[k1].base_level ~= nil then
|
||||
data.raw[k].fluid_boxes[k1].base_level = data.raw[k].fluid_boxes[k1].base_level * 4
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -47,16 +47,15 @@ data.raw['module']['effectivity-module-3'].effect = {consumption = {bonus = -1.5
|
||||
|
||||
data.raw['arithmetic-combinator']['arithmetic-combinator'].energy_source.usage_priority = 'primary-input'
|
||||
data.raw['decider-combinator']['decider-combinator'].energy_source.usage_priority = 'primary-input'
|
||||
data.raw['repair-tool']['repair-pack'].speed = 4
|
||||
data.raw['repair-tool']['repair-pack'].durability = 600
|
||||
|
||||
data.raw['pipe']['pipe'].fluid_box.base_area = 2
|
||||
data.raw['pipe']['pipe'].fluid_box.height = 2
|
||||
data.raw['pipe-to-ground']['pipe-to-ground'].fluid_box.base_area = 2
|
||||
data.raw['pipe-to-ground']['pipe-to-ground'].fluid_box.height = 2
|
||||
data.raw['pipe']['pipe'].fluid_box.height = 4
|
||||
data.raw['pipe-to-ground']['pipe-to-ground'].fluid_box.height = 4
|
||||
data.raw['pipe-to-ground']['pipe-to-ground'].fluid_box.pipe_connections = {{position = {0, -1}}, {position = {0, 1}, max_underground_distance = 20}}
|
||||
data.raw['pump']['pump'].fluid_box.base_area = 2
|
||||
data.raw['pump']['pump'].fluid_box.height = 8
|
||||
data.raw['pump']['pump'].fluid_box.height = 16
|
||||
data.raw['pump']['pump'].pumping_speed = 800
|
||||
data.raw['storage-tank']['storage-tank'].fluid_box.base_area = 500
|
||||
-- data.raw['storage-tank']['storage-tank'].fluid_box.base_area = 500
|
||||
data.raw['storage-tank']['storage-tank'].fluid_box.height = 2
|
||||
|
||||
data.raw['locomotive']['locomotive'].max_health = 2000
|
||||
@@ -81,14 +80,14 @@ data.raw['fluid-wagon']['fluid-wagon'].braking_force = 5
|
||||
data.raw['fluid-wagon']['fluid-wagon'].friction_force = 0.25
|
||||
data.raw['fluid-wagon']['fluid-wagon'].air_resistance = 0.005
|
||||
|
||||
data.raw['construction-robot']['construction-robot'].max_health = 400
|
||||
data.raw['construction-robot']['construction-robot'].max_health = 600
|
||||
data.raw['construction-robot']['construction-robot'].max_payload_size = 3
|
||||
data.raw['construction-robot']['construction-robot'].max_energy = '6MJ'
|
||||
data.raw['construction-robot']['construction-robot'].speed = 0.12
|
||||
data.raw['construction-robot']['construction-robot'].speed_multiplier_when_out_of_energy = 0.4
|
||||
data.raw['construction-robot']['construction-robot'].energy_per_move = '1kJ'
|
||||
|
||||
data.raw['logistic-robot']['logistic-robot'].max_health = 400
|
||||
data.raw['logistic-robot']['logistic-robot'].max_health = 600
|
||||
data.raw['logistic-robot']['logistic-robot'].max_payload_size = 3
|
||||
data.raw['logistic-robot']['logistic-robot'].max_energy = '6MJ'
|
||||
data.raw['logistic-robot']['logistic-robot'].speed = 0.12
|
||||
@@ -126,9 +125,7 @@ local entity = table.deepcopy(data.raw['boiler']['boiler'])
|
||||
entity.name = 'electric-boiler'
|
||||
entity.energy_consumption = '7200kW'
|
||||
entity.target_temperature = 165
|
||||
entity.fluid_box.base_area = 2
|
||||
entity.fluid_box.height = 4
|
||||
entity.output_fluid_box.base_area = 2
|
||||
entity.output_fluid_box.height = 4
|
||||
entity.minable = {hardness = 0.2, mining_time = 0.5, result = 'electric-boiler'}
|
||||
entity.emissions_per_minute = 0
|
||||
|
||||
Reference in New Issue
Block a user