From 58959f1e821685d006ac38257cf1bb90019cb267 Mon Sep 17 00:00:00 2001 From: Jake Staberg Morgan <47102583+JStMorgan@users.noreply.github.com> Date: Tue, 21 May 2024 02:37:41 +0200 Subject: [PATCH 1/3] Added Sulphur Mine circuit connectivity (#87) --- changelog.txt | 4 ++++ prototypes/buildings/sulfur-mine.lua | 3 +++ prototypes/circuit-connector-definitions.lua | 11 +++++++++++ 3 files changed, 18 insertions(+) diff --git a/changelog.txt b/changelog.txt index b173b48e..69ad3933 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version: 2.1.16 +Date: When it's done + Changes: + - Added circuit connectivity to Sulfur Mine (credit: JStMorgan) --------------------------------------------------------------------------------------------------- Version: 2.1.15 Date: 2024-3-24 diff --git a/prototypes/buildings/sulfur-mine.lua b/prototypes/buildings/sulfur-mine.lua index 790a576c..35eee809 100644 --- a/prototypes/buildings/sulfur-mine.lua +++ b/prototypes/buildings/sulfur-mine.lua @@ -79,6 +79,9 @@ ENTITY { width = 12, height = 12 }, + circuit_wire_connection_points = circuit_connector_definitions["sulfur-mine"].points, + circuit_connector_sprites = circuit_connector_definitions["sulfur-mine"].sprites, + circuit_wire_max_distance = default_circuit_wire_max_distance, animations = { layers = { { diff --git a/prototypes/circuit-connector-definitions.lua b/prototypes/circuit-connector-definitions.lua index 1ef6a3e9..7c6084e8 100644 --- a/prototypes/circuit-connector-definitions.lua +++ b/prototypes/circuit-connector-definitions.lua @@ -67,6 +67,17 @@ circuit_connector_definitions["oil-sand-extractor-mkxx"] = circuit_connector_def } ) +circuit_connector_definitions["sulfur-mine"] = circuit_connector_definitions.create +( + universal_connector_template, + {--Directions are up, right, down, left. + { variation = 2, main_offset = util.by_pixel(90, 72), shadow_offset = util.by_pixel(84, 60), show_shadow = false }, + { variation = 2, main_offset = util.by_pixel(90, 72), shadow_offset = util.by_pixel(84, 60), show_shadow = false }, + { variation = 2, main_offset = util.by_pixel(90, 72), shadow_offset = util.by_pixel(84, 60), show_shadow = false }, + { variation = 2, main_offset = util.by_pixel(90, 72), shadow_offset = util.by_pixel(84, 60), show_shadow = false } + } +) + circuit_connector_definitions["tar-extractor-mkxx"] = circuit_connector_definitions.create ( universal_connector_template, From d7d7947261c970f5e262970f0e77d4beedf0a9d7 Mon Sep 17 00:00:00 2001 From: Shadow_Man <56026280+Astorin@users.noreply.github.com> Date: Mon, 27 May 2024 05:27:15 +0200 Subject: [PATCH 2/3] RU locale update for PyPH 2.1.15 (Guar) (#86) --- locale/ru/locale.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/locale/ru/locale.cfg b/locale/ru/locale.cfg index 6ffb9399..8fe95b5c 100644 --- a/locale/ru/locale.cfg +++ b/locale/ru/locale.cfg @@ -332,6 +332,7 @@ oil-distillation=Дистилляция масла tar-processing-mk01=Переработка смолы - Этап 1 tar-processing-mk02=Переработка смолы - Этап 2 tar-processing-mk03=Переработка смолы - Этап 3 +guar=Гуар [technology-description] oil-machines-mk01=Открывает первый уровень машин для нефтяной промышленности. From 3b2beff9a7bb1ba047ca32da670c91a80237da56 Mon Sep 17 00:00:00 2001 From: notnotmelon Date: Mon, 3 Jun 2024 23:01:43 -0500 Subject: [PATCH 3/3] Version and changelog --- changelog.txt | 3 ++- info.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 69ad3933..7e87404c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,6 @@ +--------------------------------------------------------------------------------------------------- Version: 2.1.16 -Date: When it's done +Date: 2024-6-3 Changes: - Added circuit connectivity to Sulfur Mine (credit: JStMorgan) --------------------------------------------------------------------------------------------------- diff --git a/info.json b/info.json index 9f960bac..7d767a94 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "pypetroleumhandling", - "version": "2.1.15", + "version": "2.1.16", "factorio_version": "1.1", "title": "Pyanodons Petroleum Handling", "author": "Pyanodon, Nexela, Kingarthur, notnotmelon, Mootykins, ShadowGlass, Archezekiel, Quintuple",