drilling rig circuit connections
This commit is contained in:
parent
65271a969f
commit
98ea14df52
3 changed files with 21 additions and 4 deletions
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.1.17
|
||||||
|
Date: 2024-03-15
|
||||||
|
Features:
|
||||||
|
- Drilling rigs can now be connected to circuit network, like pumpjacks.
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.1.16
|
Version: 0.1.16
|
||||||
Date: 2024-02-10
|
Date: 2024-02-10
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzgas",
|
"name": "bzgas",
|
||||||
"version": "0.1.16",
|
"version": "0.1.17",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Natural Gas",
|
"title": "Natural Gas",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
@ -19,6 +19,18 @@ elseif data.raw.item["silica"] and data.raw.technology["silica-processing"] then
|
||||||
ge_prereq = {"silica-processing"}
|
ge_prereq = {"silica-processing"}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
drilling_rig_circuit_connector_definitions = circuit_connector_definitions.create
|
||||||
|
(
|
||||||
|
universal_connector_template,
|
||||||
|
{
|
||||||
|
{ variation = 26, main_offset = futil.by_pixel(32, -3), shadow_offset = futil.by_pixel(32, -3), show_shadow = true },
|
||||||
|
{ variation = 26, main_offset = futil.by_pixel(32, -3), shadow_offset = futil.by_pixel(32, -3), show_shadow = true },
|
||||||
|
{ variation = 26, main_offset = futil.by_pixel(32, -3), shadow_offset = futil.by_pixel(32, -3), show_shadow = true },
|
||||||
|
{ variation = 26, main_offset = futil.by_pixel(32, -3), shadow_offset = futil.by_pixel(32, -3), show_shadow = true }
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "item",
|
type = "item",
|
||||||
|
@ -183,8 +195,8 @@ data:extend({
|
||||||
},
|
},
|
||||||
fast_replaceable_group = "pumpjack",
|
fast_replaceable_group = "pumpjack",
|
||||||
|
|
||||||
-- circuit_wire_connection_points = circuit_connector_definitions["pumpjack"].points,
|
circuit_wire_connection_points = drilling_rig_circuit_connector_definitions.points,
|
||||||
-- circuit_connector_sprites = circuit_connector_definitions["pumpjack"].sprites,
|
circuit_connector_sprites = drilling_rig_circuit_connector_definitions.sprites,
|
||||||
-- circuit_wire_max_distance = default_circuit_wire_max_distance
|
circuit_wire_max_distance = default_circuit_wire_max_distance
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue