Skip to content

Instantly share code, notes, and snippets.

@cpw
Created July 9, 2016 20:27
Show Gist options
  • Save cpw/b603aebec4d2a37a8436c444359fb608 to your computer and use it in GitHub Desktop.
Save cpw/b603aebec4d2a37a8436c444359fb608 to your computer and use it in GitHub Desktop.
Patch for circuit networks on logistics chests
--- /home/cpw/factorio/mods/boblogistics_0.13.3/prototypes/entity/roboport.lua
+++ /home/cpw/factorio/mods/boblogistics_0.13.3.mine/prototypes/entity/roboport.lua
@@ -129,6 +129,19 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.17188, 1.98438},
+ green = {1.04688, 2.04688}
+ },
+ wire =
+ {
+ red = {0.78125, 1.375},
+ green = {0.78125, 1.53125}
+ }
+ },
circuit_connector_sprites = get_circuit_connector_sprites({0.59375, 1.3125}, nil, 18),
circuit_wire_max_distance = 10,
default_available_logistic_output_signal = "signal-X",
@@ -258,6 +271,19 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.17188, 1.98438},
+ green = {1.04688, 2.04688}
+ },
+ wire =
+ {
+ red = {0.78125, 1.375},
+ green = {0.78125, 1.53125}
+ }
+ },
circuit_connector_sprites = get_circuit_connector_sprites({0.59375, 1.3125}, nil, 18),
circuit_wire_max_distance = 12.5,
default_available_logistic_output_signal = "signal-X",
@@ -386,6 +412,19 @@
type = "play-sound",
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
+ },
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.17188, 1.98438},
+ green = {1.04688, 2.04688}
+ },
+ wire =
+ {
+ red = {0.78125, 1.375},
+ green = {0.78125, 1.53125}
+ }
},
circuit_connector_sprites = get_circuit_connector_sprites({0.59375, 1.3125}, nil, 18),
circuit_wire_max_distance = 15,
@@ -512,6 +551,25 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.319375, 1.105775},
+ green = {1.038125, 1.012025}
+ },
+ wire =
+ {
+ red = {0.99125, 0.71515},
+ green = {0.99125, 0.8714}
+ }
+ },
+ circuit_connector_sprites = get_circuit_connector_sprites({0.7725, 0.65625}, nil, 18),
+ circuit_wire_max_distance = 7.5,
+ default_available_logistic_output_signal = "signal-X",
+ default_total_logistic_output_signal = "signal-Y",
+ default_available_construction_output_signal = "signal-Z",
+ default_total_construction_output_signal = "signal-T",
},
{
@@ -626,6 +684,25 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.319375, 1.105775},
+ green = {1.038125, 1.012025}
+ },
+ wire =
+ {
+ red = {0.99125, 0.71515},
+ green = {0.99125, 0.8714}
+ }
+ },
+ circuit_connector_sprites = get_circuit_connector_sprites({0.7725, 0.65625}, nil, 18),
+ circuit_wire_max_distance = 10,
+ default_available_logistic_output_signal = "signal-X",
+ default_total_logistic_output_signal = "signal-Y",
+ default_available_construction_output_signal = "signal-Z",
+ default_total_construction_output_signal = "signal-T",
},
{
type = "roboport",
@@ -739,6 +816,25 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.319375, 1.105775},
+ green = {1.038125, 1.012025}
+ },
+ wire =
+ {
+ red = {0.99125, 0.71515},
+ green = {0.99125, 0.8714}
+ }
+ },
+ circuit_connector_sprites = get_circuit_connector_sprites({0.7725, 0.65625}, nil, 18),
+ circuit_wire_max_distance = 12.5,
+ default_available_logistic_output_signal = "signal-X",
+ default_total_logistic_output_signal = "signal-Y",
+ default_available_construction_output_signal = "signal-Z",
+ default_total_construction_output_signal = "signal-T",
},
{
type = "roboport",
@@ -852,6 +948,25 @@
sound = { filename = "__base__/sound/roboport-door.ogg", volume = 0.75 }
},
},
+ circuit_wire_connection_point =
+ {
+ shadow =
+ {
+ red = {1.319375, 1.105775},
+ green = {1.038125, 1.012025}
+ },
+ wire =
+ {
+ red = {0.99125, 0.71515},
+ green = {0.99125, 0.8714}
+ }
+ },
+ circuit_connector_sprites = get_circuit_connector_sprites({0.7725, 0.65625}, nil, 18),
+ circuit_wire_max_distance = 15,
+ default_available_logistic_output_signal = "signal-X",
+ default_total_logistic_output_signal = "signal-Y",
+ default_available_construction_output_signal = "signal-Z",
+ default_total_construction_output_signal = "signal-T",
},
}
)
@@ -889,10 +1004,6 @@
robot_slots_count = 0,
material_slots_count = 0,
-- stationing_offset = {0, 0},
- charging_offsets =
- {
- {0, -1.7},
- },
base =
{
filename = "__boblogistics__/graphics/entity/roboport/logistic-zone-expander.png",
@@ -987,10 +1098,6 @@
robot_slots_count = 0,
material_slots_count = 0,
-- stationing_offset = {0, 0},
- charging_offsets =
- {
- {0, -1.7},
- },
base =
{
filename = "__boblogistics__/graphics/entity/roboport/logistic-zone-expander-2.png",
@@ -1085,10 +1192,6 @@
robot_slots_count = 0,
material_slots_count = 0,
-- stationing_offset = {0, 0},
- charging_offsets =
- {
- {0, -1.7},
- },
base =
{
filename = "__boblogistics__/graphics/entity/roboport/logistic-zone-expander-3.png",
@@ -1183,10 +1286,6 @@
robot_slots_count = 0,
material_slots_count = 0,
-- stationing_offset = {0, 0},
- charging_offsets =
- {
- {0, -1.7},
- },
base =
{
filename = "__boblogistics__/graphics/entity/roboport/logistic-zone-expander-4.png",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment