mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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.minable.result = 'passive-energy-void'
|
||||||
entity.energy_source.usage_priority = 'tertiary'
|
entity.energy_source.usage_priority = 'tertiary'
|
||||||
entity.energy_source.emissions_per_minute = {pollution = 0}
|
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.output_flow_limit = '0W'
|
||||||
|
entity.energy_source.buffer_capacity = '1PJ'
|
||||||
entity.energy_production = '0W'
|
entity.energy_production = '0W'
|
||||||
entity.energy_usage = '1TW'
|
entity.energy_usage = '1PW'
|
||||||
entity.gui_mode = 'none'
|
entity.gui_mode = 'none'
|
||||||
entity.localised_name = {'name.passive-energy-void'}
|
entity.localised_name = {'name.passive-energy-void'}
|
||||||
entity.localised_description = {'description.passive-energy-void'}
|
entity.localised_description = {'description.passive-energy-void'}
|
||||||
|
|||||||
@@ -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+')
|
item.energy_usage = tonumber(string.match(item.energy_usage, '[%d%.]+')) * (2 ^ (tier - source.min + 1)) .. string.match(item.energy_usage, '%a+')
|
||||||
end
|
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
|
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.damage_modifier = 2 ^ (tier - source.min + 1)
|
||||||
item.attack_parameters.range = item.attack_parameters.range + (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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if item.ingredient_to_weight_coefficient then
|
||||||
|
item.ingredient_to_weight_coefficient = nil
|
||||||
|
end
|
||||||
|
|
||||||
item.order = item.order .. tier
|
item.order = item.order .. tier
|
||||||
|
|
||||||
if tier > 1 then
|
if tier > 1 then
|
||||||
|
|||||||
Reference in New Issue
Block a user