This commit is contained in:
2024-10-29 22:24:24 +09:00
parent 49807afb1f
commit 10a96353fd
2 changed files with 7 additions and 6 deletions

View File

@@ -104,10 +104,11 @@ if settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value th
entity.minable.result = 'passive-energy-void'
entity.energy_source.usage_priority = 'tertiary'
entity.energy_source.emissions_per_minute = {pollution = 0}
entity.energy_source.input_flow_limit = '1TW'
entity.energy_source.input_flow_limit = '1PW'
entity.energy_source.output_flow_limit = '0W'
entity.energy_source.buffer_capacity = '1PJ'
entity.energy_production = '0W'
entity.energy_usage = '1TW'
entity.energy_usage = '1PW'
entity.gui_mode = 'none'
entity.localised_name = {'name.passive-energy-void'}
entity.localised_description = {'description.passive-energy-void'}

View File

@@ -34,10 +34,6 @@ function main.EEE(source, tier)
item.energy_usage = tonumber(string.match(item.energy_usage, '[%d%.]+')) * (2 ^ (tier - source.min + 1)) .. string.match(item.energy_usage, '%a+')
end
if item.ingredient_to_weight_coefficient then
item.ingredient_to_weight_coefficient = nil
end
if (source.type == 'electric-turret') or (source.type == 'ammo-turret') or (source.type == 'fluid-turret') then
item.attack_parameters.damage_modifier = 2 ^ (tier - source.min + 1)
item.attack_parameters.range = item.attack_parameters.range + (2 * (tier - source.min + 1))
@@ -351,6 +347,10 @@ function main.EI(source, tier)
end
end
if item.ingredient_to_weight_coefficient then
item.ingredient_to_weight_coefficient = nil
end
item.order = item.order .. tier
if tier > 1 then