mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
.
This commit is contained in:
+9
-10
@@ -1,44 +1,44 @@
|
||||
local items = require 'config'
|
||||
|
||||
-- MIGS C 1 BASE ARMOR_EQUIPMENT
|
||||
-- MIG C 1 BASE ARMOR_EQUIPMENT
|
||||
data.raw['active-defense-equipment']['discharge-defense-equipment'].automatic = true
|
||||
|
||||
-- MIGS C 3 BASE ENTITY
|
||||
-- MIG C 3 BASE ENTITY
|
||||
data.raw['inserter']['burner-inserter'].allow_burner_leech = true
|
||||
data.raw['programmable-speaker']['programmable-speaker'].energy_source.usage_priority = 'primary-input'
|
||||
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'sulfuric-acid', damage_modifier = 1.2})
|
||||
|
||||
-- MIGS C 3 BASE ENTITY
|
||||
-- MIG C 3 BASE ENTITY
|
||||
for _, v in pairs(data.raw['container']) do
|
||||
v.inventory_type = 'with_filters_and_bar'
|
||||
end
|
||||
|
||||
-- MIGS C 5 BASE ENTITY
|
||||
-- MIG C 5 BASE ENTITY
|
||||
for _, v in pairs(data.raw['logistic-container']) do
|
||||
v.inventory_type = 'with_filters_and_bar'
|
||||
end
|
||||
|
||||
-- MIGS C 1 BASE ENTITY
|
||||
-- MIG C 1 BASE ENTITY
|
||||
for _, v in pairs(data.raw['reactor']) do
|
||||
v.scale_energy_usage = (v.fast_replaceable_group and v.fast_replaceable_group == 'reactor')
|
||||
end
|
||||
|
||||
-- MIGS C 1 BASE ENTITY
|
||||
-- MIG C 1 BASE ENTITY
|
||||
for _, v in pairs(data.raw['pump']) do
|
||||
v.pumping_speed = math.max(50, v.pumping_speed) * settings.startup['PHI-MI-PIPE'].value / 10
|
||||
end
|
||||
|
||||
-- MIGS C 2 BASE ENTITY
|
||||
-- MIG C 2 BASE ENTITY
|
||||
for _, v in pairs(data.raw['mining-drill']) do
|
||||
v.filter_count = 5
|
||||
end
|
||||
|
||||
-- MIGS C 3 BASE MODULE
|
||||
-- MIG C 3 BASE MODULE
|
||||
data.raw['module']['efficiency-module'].effect.consumption = math.min(-0.3, data.raw['module']['efficiency-module'].effect.consumption)
|
||||
data.raw['module']['efficiency-module-2'].effect.consumption = math.min(-0.6, data.raw['module']['efficiency-module'].effect.consumption)
|
||||
data.raw['module']['efficiency-module-3'].effect.consumption = math.min(-0.9, data.raw['module']['efficiency-module'].effect.consumption)
|
||||
|
||||
-- MIGS C 2 BASE RECIPE
|
||||
-- MIG C 2 BASE RECIPE
|
||||
data.raw.recipe['landfill'].ingredients[1].amount = math.min(20, data.raw.recipe['landfill'].ingredients[1].amount)
|
||||
data.raw.recipe['selector-combinator'].ingredients = {{type = 'item', name = 'advanced-circuit', amount = 5}, {type = 'item', name = 'decider-combinator', amount = 2}}
|
||||
|
||||
@@ -46,7 +46,6 @@ data.raw.recipe['selector-combinator'].ingredients = {{type = 'item', name = 'ad
|
||||
data:extend({{type='recipe-category', name='fluid'}})
|
||||
|
||||
for _, v in pairs(data.raw['valve']) do
|
||||
v.flow_rate = math.max(50, v.flow_rate) * settings.startup['PHI-MI-PIPE'].value / 10
|
||||
v.hidden = false
|
||||
data.raw.item[v.name].hidden = false
|
||||
data.raw.item[v.name].subgroup = 'energy-pipe-distribution'
|
||||
|
||||
Reference in New Issue
Block a user