Add circuit connectors for lumber mill and quality assembler
This commit is contained in:
parent
c1a2f4b412
commit
829e32acd4
2 changed files with 22 additions and 4 deletions
|
|
@ -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",
|
||||||
|
|
@ -175,10 +182,10 @@ data:extend({
|
||||||
max_sounds_per_type = 2,
|
max_sounds_per_type = 2,
|
||||||
sound = { filename = "__space-age__/sound/entity/foundry/foundry.ogg", volume = 0.6 },
|
sound = { filename = "__space-age__/sound/entity/foundry/foundry.ogg", volume = 0.6 },
|
||||||
sound_accents = {
|
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-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-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-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-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 = 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 = 34 },
|
||||||
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 54 },
|
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 54 },
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue