From d018e0dcdf56799b7e5e0c6c53d4c4a754efd9e5 Mon Sep 17 00:00:00 2001 From: PreLeyZero Date: Wed, 1 Jun 2022 19:40:06 +0200 Subject: [PATCH] added circuit to roboport + buff charging --- prototypes/fission/fi_robo.lua | 59 +++++++++++++++++++++++++++++---- ressources/64x64_empty.png | Bin 0 -> 592 bytes 2 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 ressources/64x64_empty.png diff --git a/prototypes/fission/fi_robo.lua b/prototypes/fission/fi_robo.lua index 5bef01b..a9893ac 100644 --- a/prototypes/fission/fi_robo.lua +++ b/prototypes/fission/fi_robo.lua @@ -58,9 +58,9 @@ data:extend({ }, energy_usage = '4MW', charge_approach_distance = 2, - charging_energy = '2MW', + charging_energy = '4MW', recharge_minimum = '1MW', - charging_station_count = 4, + charging_station_count = 8, construction_radius = 70, logistics_radius = 70, material_slots_count = 10, @@ -122,8 +122,55 @@ data:extend({ scale = 1.5, animation_speed = 0.5 }, - - + + circuit_wire_connection_point = { + wire = { + copper = {0, 0}, + green = {0, 0}, + red = {0, 0} + }, + shadow = { + copper = {0, 0}, + green = {0, 0}, + red = {0, 0} + } + }, + circuit_connector_sprites = { + led_red = { + filename = "__248k__/ressources/64x64_empty.png", + width = 64, + height = 64, + shift = {0, 0}, + intensity = 0.3, + size = 1 + }, + led_green = { + filename = "__248k__/ressources/64x64_empty.png", + width = 64, + height = 64, + shift = {0, 0}, + intensity = 0.3, + size = 1 + }, + led_blue = { + filename = "__248k__/ressources/64x64_empty.png", + width = 64, + height = 64, + shift = {0, 0}, + intensity = 0.3, + size = 1 + }, + led_light = { + filename = "__248k__/ressources/64x64_empty.png", + width = 64, + height = 64, + shift = {0, 0}, + intensity = 0.3, + size = 1, + blend_mode = "additive", + }, + }, + circuit_wire_max_distance = 20, }, --charger { @@ -149,9 +196,9 @@ data:extend({ }, energy_usage = '4MW', charge_approach_distance = 2, - charging_energy = '6MW', + charging_energy = '12MW', recharge_minimum = '1MW', - charging_station_count = 6, + charging_station_count = 12, construction_radius = 1, logistics_radius = 1, material_slots_count = 0, diff --git a/ressources/64x64_empty.png b/ressources/64x64_empty.png new file mode 100644 index 0000000000000000000000000000000000000000..472a1cf0e0aa3e0c0fab1d5b69c7e0e0bef8de7c GIT binary patch literal 592 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7T#lEU~J8Fb`J1#c2+1T%1_J8No8Qr zm{>c}*5h!1NUMMF(jYCqGJ(Jo0dsXax=N;Ki5+yx)ZX$c;nOAij7t-i?6BZk$I4zW zwwh1x+%BsfTul%7J0>rlyr_FhMSM_(;N#Zgzb)R+J6!#p(P{Ikkj?2r0j8%t)E_13 z?bl+96Kr9SPm-8AW2L%rcVxx2>$asqcU>!|mEWI#b-joW+YgsVmdm8YKC*p$vutVc zJ$1g#o0bU77xtGZaeU;y?zGG=8Y^jv6h;djz)`DBL#@eI?P-@k8ci&k&=FS+BA)xRj= zj@n80USv#EPDqg6vEyCFC%J;1%sjR)Cn;J^nm;W-hv|L#7vIW+4`Lkab{1#PfBc2< z#HBUU@*A3+6ZW{=d@c9>-RpU`_uIbx`In*YR?(WkcWvgtcwtNOc6R~NK=9LfcRi5e zEbxddW?;}$24TjErS@e&LG}_)Usv`gTuh8sjGwM7KL!+%EOCt}an8@pP0cG|a4t$s zEJ;mKD9