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_usage = "1MW",
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 = {
{
property = has_oxygen and "oxygen" or "pressure",
@ -175,10 +182,10 @@ data:extend({
max_sounds_per_type = 2,
sound = { filename = "__space-age__/sound/entity/foundry/foundry.ogg", volume = 0.6 },
sound_accents = {
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-1.ogg", volume = 0.8, audible_distance_modifier = 0.5 }, frame = 26 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-fall.ogg", volume = 1.2, audible_distance_modifier = 0.5 }, frame = 42 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-2.ogg", volume = 0.8, audible_distance_modifier = 0.4 }, frame = 53 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-split.ogg", volume = 0.4, audible_distance_modifier = 0.3 }, frame = 62 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-1.ogg", volume = 0.8, audible_distance_modifier = 0.5 }, frame = 26 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-fall.ogg", volume = 1.2, audible_distance_modifier = 0.5 }, frame = 42 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-2.ogg", volume = 0.8, audible_distance_modifier = 0.4 }, frame = 53 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-split.ogg", volume = 0.4, audible_distance_modifier = 0.3 }, frame = 62 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 14 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 34 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 54 },

View file

@ -147,6 +147,17 @@ data:extend({
},
energy_usage = "1MW",
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 },
graphics_set = {
animation = {