Add circuit connectors for lumber mill and quality assembler

This commit is contained in:
Simon Brodtmann 2025-12-30 13:31:30 +01:00
parent c1a2f4b412
commit 829e32acd4
2 changed files with 22 additions and 4 deletions

View file

@ -59,6 +59,13 @@ data:extend({
energy_source = energy_source, energy_source = energy_source,
energy_usage = "1MW", energy_usage = "1MW",
effect_receiver = { base_effect = { productivity = 0.5 } }, effect_receiver = { base_effect = { productivity = 0.5 } },
circuit_wire_max_distance = assembling_machine_circuit_wire_max_distance,
circuit_connector = circuit_connector_definitions.create_vector(universal_connector_template, {
{ variation = 30, main_offset = util.by_pixel(94, 112), shadow_offset = util.by_pixel(94, 120), show_shadow = true },
{ variation = 30, main_offset = util.by_pixel(94, 112), shadow_offset = util.by_pixel(94, 120), show_shadow = true },
{ variation = 30, main_offset = util.by_pixel(94, 112), shadow_offset = util.by_pixel(94, 120), show_shadow = true },
{ variation = 30, main_offset = util.by_pixel(94, 112), shadow_offset = util.by_pixel(94, 120), show_shadow = true },
}),
surface_conditions = { surface_conditions = {
{ {
property = has_oxygen and "oxygen" or "pressure", property = has_oxygen and "oxygen" or "pressure",

View file

@ -147,6 +147,17 @@ data:extend({
}, },
energy_usage = "1MW", energy_usage = "1MW",
heating_energy = "200kW", heating_energy = "200kW",
circuit_wire_max_distance = assembling_machine_circuit_wire_max_distance,
circuit_connector = circuit_connector_definitions.create_vector
(
universal_connector_template,
{
{ variation = 17, main_offset = util.by_pixel(-42, -9), shadow_offset = util.by_pixel(-33, -7), show_shadow = true },
{ variation = 17, main_offset = util.by_pixel(-42, -9), shadow_offset = util.by_pixel(-33, -7), show_shadow = true },
{ variation = 17, main_offset = util.by_pixel(-42, -9), shadow_offset = util.by_pixel(-33, -7), show_shadow = true },
{ variation = 17, main_offset = util.by_pixel(-42, -9), shadow_offset = util.by_pixel(-33, -7), show_shadow = true }
}
),
perceived_performance = { minimum = 0.25, performance_to_activity_rate = 0.25, maximum = 4 }, perceived_performance = { minimum = 0.25, performance_to_activity_rate = 0.25, maximum = 4 },
graphics_set = { graphics_set = {
animation = { animation = {