This commit is contained in:
2023-05-08 15:26:22 +09:00
parent bc50600fc4
commit e830a1d441
8 changed files with 39 additions and 21 deletions

View File

@@ -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

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-EQ",
"version": "1.1.11",
"version": "1.1.12",
"factorio_version": "1.1",
"date": "2023-04-20",
"date": "2023-05-08",
"title": "Phidias Equipment",
"author": "PHIDIAS0303",
"contributers": "",

View File

@@ -17,6 +17,15 @@ local function EE(source, tier)
item.energy_source.emissions_per_minute = item.energy_source.emissions_per_minute * (2 ^ (tier - source.min + 1))
end
if item.fluid_boxes ~= nil then
for k, _ in pairs(item.fluid_boxes) do
if item.fluid_boxes[k].production_type ~= nil then
item.fluid_boxes[k].base_area = item.fluid_boxes[k].base_area * 2
item.fluid_boxes[k].height = 2
end
end
end
item.energy_usage = tonumber(string.match(item.energy_usage, '%d+')) * (2 ^ (tier - source.min + 1)) .. 'kW'
-- item.animation.layers[1].filename = graphics_location .. source .. '-e.png'
-- item.animation.layers[1].hr_version.filename = graphics_location .. source ..'-eh.png'

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-MB",
"version": "1.0.10",
"version": "1.0.11",
"factorio_version": "1.1",
"date": "2023-05-07",
"date": "2023-05-08",
"title": "Phidias Megabase",
"author": "PHIDIAS0303",
"contributers": "",

View File

@@ -48,11 +48,16 @@ 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['pipe']['pipe'].fluid_box.height = 4
data.raw['pipe-to-ground']['pipe-to-ground'].fluid_box.height = 4
data.raw['pump']['pump'].fluid_box.height = 16
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-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'].pumping_speed = 800
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
data.raw['locomotive']['locomotive'].max_speed = 2
@@ -81,14 +86,14 @@ 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 = '10kJ'
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_payload_size = 3
data.raw['logistic-robot']['logistic-robot'].max_energy = '6MJ'
data.raw['logistic-robot']['logistic-robot'].speed = 0.12
data.raw['logistic-robot']['logistic-robot'].speed_multiplier_when_out_of_energy = 0.4
data.raw['logistic-robot']['logistic-robot'].energy_per_move = '10kJ'
data.raw['logistic-robot']['logistic-robot'].energy_per_move = '1kJ'
data.raw['roboport']['roboport'].max_health = 1000
data.raw['roboport']['roboport'].energy_usage = '100kW'
@@ -121,6 +126,10 @@ 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
entity.energy_source.type = 'electric'

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-MI",
"version": "1.0.7",
"version": "1.0.8",
"factorio_version": "1.1",
"date": "2023-05-07",
"date": "2023-05-08",
"title": "Phidias Megabase Item",
"author": "PHIDIAS0303",
"contributers": "",

View File

@@ -1,6 +1,6 @@
data.raw['offshore-pump']['offshore-pump'].pumping_speed = 100
data.raw['offshore-pump']['offshore-pump'].fluid_box.base_area = 5
data.raw['offshore-pump']['offshore-pump'].fluid_box.base_level = 5
data.raw['offshore-pump']['offshore-pump'].fluid_box.base_area = 2
data.raw['offshore-pump']['offshore-pump'].fluid_box.height = 2
data.raw['offshore-pump']['offshore-pump'].flags = {'placeable-neutral', 'player-creation'}
data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_box = {{-0.5, -0.25}, {0.5, 0.25}}
data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_test = {'ground-tile', 'water-tile', 'object-layer'}
@@ -9,8 +9,8 @@ data.raw['offshore-pump']['offshore-pump'].placeable_position_visualization = ni
if mods['angelsrefining'] then
data.raw['offshore-pump']['seafloor-pump'].pumping_speed = 25
data.raw['offshore-pump']['seafloor-pump'].fluid_box.base_area = 5
data.raw['offshore-pump']['seafloor-pump'].fluid_box.base_level = 5
data.raw['offshore-pump']['seafloor-pump'].fluid_box.base_area = 2
data.raw['offshore-pump']['seafloor-pump'].fluid_box.height = 2
data.raw['offshore-pump']['seafloor-pump'].flags = {'placeable-neutral', 'player-creation', 'filter-directions'}
data.raw['offshore-pump']['seafloor-pump'].adjacent_tile_collision_box = {{-2, -3}, {2, -2}}
data.raw['offshore-pump']['seafloor-pump'].adjacent_tile_collision_test = {'ground-tile', 'water-tile', 'object-layer'}

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-XW",
"version": "1.0.4",
"version": "1.0.5",
"factorio_version": "1.1",
"date": "2023-04-17",
"date": "2023-05-08",
"title": "Phidias Water Pump",
"author": "PHIDIAS0303",
"contributers": "",