mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-29 03:36:38 +09:00
Update
This commit is contained in:
@@ -149,7 +149,7 @@ local function EE(source, tier)
|
||||
item['energy_source'] = {type = 'electric', usage_priority = 'secondary-input', buffer_capacity = (250 * (2 ^ (tier - 1))) .. 'kJ'}
|
||||
-- item['source_direction_count'] = 64
|
||||
-- item['source_offset'] = {0, -3.423489 / 4}
|
||||
item['attack_parameters'] = {type = 'beam', cooldown = 60, range = (18 + tier), damage_modifier = (source.base * (2 ^ (tier - 1))), ammo_type = {category = 'laser', energy_consumption = (50 * (2 ^ (tier - 1))) .. 'kJ', action = {type = 'direct', action_delivery = {type = 'beam', beam = 'laser-beam', max_length = (18 + tier), duration = 60, source_offset = {0, -1.31439}}}}}
|
||||
item['attack_parameters'] = {type = 'beam', cooldown = 45, range = (18 + tier), damage_modifier = (source.base * (2 ^ (tier - 1))), ammo_type = {category = 'laser', energy_consumption = (50 * (2 ^ (tier - 1))) .. 'kJ', action = {type = 'direct', action_delivery = {type = 'beam', beam = 'laser-beam', max_length = (18 + tier), duration = 60, source_offset = {0, -1.31439}}}}}
|
||||
item['automatic'] = true
|
||||
elseif (source.type == 'energy-shield') then
|
||||
w = 2
|
||||
@@ -222,13 +222,13 @@ end
|
||||
|
||||
-- recipe
|
||||
local function ER(source, tier)
|
||||
na = source.name
|
||||
local na = source.name
|
||||
|
||||
if source.min == tier then
|
||||
if (tier == 1) then
|
||||
na = source.base_name .. '-equipment'
|
||||
elseif (tier == 2) then
|
||||
na = source.name .. '-equipment'
|
||||
elseif (tier >= 3) then
|
||||
else
|
||||
na = source.name .. '-mk' .. (tier - 1) .. '-equipment'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user