Skip to content

Commit

Permalink
Migrated the internal name of the "railway-mk01" technology to "railw…
Browse files Browse the repository at this point in the history
…ay". Resolves pyanodon/pybugreports#453
notnotmelon committed Jan 22, 2025
1 parent e193bba commit 5dcc307
Showing 11 changed files with 47 additions and 42 deletions.
12 changes: 6 additions & 6 deletions cached-configs/pycoalprocessing+pyfusionenergy+pyindustry.lua
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ fix_tech("military",{order="000006",prerequisites={"fluid-processing-machines-1"
fix_tech("military-2",{order="000008",prerequisites={"military","logistic-science-pack"},unit={count=55,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("fast-inserter",{order="000003",prerequisites={"automation","steel-processing"},unit={count=33,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("logistics",{order="000002",prerequisites={},unit={count=20,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automated-rail-transportation",{order="000006",prerequisites={"railway-mk01"},unit={count=150,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automated-rail-transportation",{order="000006",prerequisites={"railway"},unit={count=150,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("rail-signals",{order="000007",prerequisites={"automated-rail-transportation"},unit={count=250,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automobilism",{order="000004",prerequisites={"engine"},unit={count=55,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("optics",{order="000002",prerequisites={},unit={count=20,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
@@ -107,8 +107,8 @@ fix_tech("land-mine",{order="000017",prerequisites={"explosives","military-scien
fix_tech("flamethrower",{order="000010",prerequisites={"military-science-pack","coal-processing-2","filtration"},unit={count=20,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=90}})
fix_tech("advanced-circuit",{order="000009",prerequisites={"plastics"},unit={count=100,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("processing-unit",{order="000016",prerequisites={"sulfur-processing"},unit={count=450,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("fluid-wagon",{order="000006",prerequisites={"railway-mk01","py-storage-tanks","engine"},unit={count=150,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("braking-force-1",{order="000014",prerequisites={"railway-mk01","chemical-science-pack"},unit={count=160,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("fluid-wagon",{order="000006",prerequisites={"railway","py-storage-tanks","engine"},unit={count=150,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("braking-force-1",{order="000014",prerequisites={"railway","chemical-science-pack"},unit={count=160,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("braking-force-2",{order="000015",prerequisites={"braking-force-1"},unit={count=275,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("braking-force-3",{order="000020",prerequisites={"braking-force-2","production-science-pack"},unit={count=450,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
fix_tech("braking-force-4",{order="000021",prerequisites={"braking-force-3"},unit={count=800,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
@@ -227,7 +227,7 @@ fix_tech("mukmoux",{order="000010",prerequisites={"coal-processing-2","advanced-
fix_tech("kevlar",{order="000011",prerequisites={"organic-solvent"},unit={count=275,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("creosote",{order="000004",prerequisites={"tar-processing"},unit={count=55,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("pyrrhic",{order="000028",prerequisites={"space-science-pack"},unit={count=3000,ingredients={{amount=20,name="automation-science-pack",type="item"},{amount=10,name="logistic-science-pack",type="item"},{amount=6,name="military-science-pack",type="item"},{amount=6,name="chemical-science-pack",type="item"},{amount=3,name="production-science-pack",type="item"},{amount=2,name="utility-science-pack",type="item"},{amount=1,name="space-science-pack",type="item"}},time=1200}})
fix_tech("artillery-2",{order="000019",prerequisites={"artillery","railway-mk01","processing-unit"},unit={count=2000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-2",{order="000019",prerequisites={"artillery","railway","processing-unit"},unit={count=2000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-shell-range-2",{order="000020",prerequisites={"artillery-shell-range-1"},unit={count=3600,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-shell-range-3",{order="000021",prerequisites={"artillery-shell-range-2"},unit={count=6000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=90}})
fix_tech("artillery-shell-range-4",{order="000022",prerequisites={"artillery-shell-range-3"},unit={count=10000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=90}})
@@ -270,8 +270,8 @@ fix_tech("py-storage-tanks",{order="000003",prerequisites={"steel-processing"},u
fix_tech("py-asphalt",{order="000009",prerequisites={"concrete"},unit={count=100,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("py-warehouse-research",{order="000003",prerequisites={"steel-processing"},unit={count=33,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("py-warehouse-logistics-research",{order="000014",prerequisites={"py-warehouse-research","logistic-system","chemical-science-pack"},unit={count=160,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("railway-mk01",{order="000005",prerequisites={"wood-processing","creosote"},unit={count=90,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("railway-mk02",{order="000012",prerequisites={"railway-mk01","niobium","nexelit","plastics"},unit={count=450,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("railway",{order="000005",prerequisites={"wood-processing","creosote"},unit={count=90,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("railway-mk02",{order="000012",prerequisites={"railway","niobium","nexelit","plastics"},unit={count=450,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("py-accumulator-mk01",{order="000018",prerequisites={"electric-energy-accumulators"},unit={count=1300,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("py-accumulator-mk02",{order="000020",prerequisites={"py-accumulator-mk01","production-science-pack","processing-unit","construction-robotics"},unit={count=450,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
fix_tech("radars-mk01",{order="000008",prerequisites={"logistic-science-pack","engine"},unit={count=55,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
12 changes: 6 additions & 6 deletions cached-configs/pycoalprocessing+pyindustry.lua
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ fix_tech("military",{order="000006",prerequisites={"fluid-processing-machines-1"
fix_tech("military-2",{order="000008",prerequisites={"military","logistic-science-pack"},unit={count=90,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("fast-inserter",{order="000003",prerequisites={"automation","steel-processing"},unit={count=33,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("logistics",{order="000002",prerequisites={},unit={count=20,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automated-rail-transportation",{order="000006",prerequisites={"railway-mk01"},unit={count=160,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automated-rail-transportation",{order="000006",prerequisites={"railway"},unit={count=160,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("rail-signals",{order="000007",prerequisites={"automated-rail-transportation"},unit={count=275,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("automobilism",{order="000004",prerequisites={"engine"},unit={count=55,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("optics",{order="000002",prerequisites={},unit={count=20,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
@@ -107,8 +107,8 @@ fix_tech("land-mine",{order="000017",prerequisites={"explosives","military-scien
fix_tech("flamethrower",{order="000010",prerequisites={"military-science-pack","coal-processing-2","filtration"},unit={count=50,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=90}})
fix_tech("advanced-circuit",{order="000009",prerequisites={"plastics"},unit={count=150,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("processing-unit",{order="000016",prerequisites={"sulfur-processing"},unit={count=1100,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("fluid-wagon",{order="000006",prerequisites={"railway-mk01","py-storage-tanks","engine"},unit={count=160,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("braking-force-1",{order="000014",prerequisites={"railway-mk01","chemical-science-pack"},unit={count=360,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("fluid-wagon",{order="000006",prerequisites={"railway","py-storage-tanks","engine"},unit={count=160,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("braking-force-1",{order="000014",prerequisites={"railway","chemical-science-pack"},unit={count=360,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("braking-force-2",{order="000015",prerequisites={"braking-force-1"},unit={count=650,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("braking-force-3",{order="000019",prerequisites={"braking-force-2","production-science-pack"},unit={count=1000,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
fix_tech("braking-force-4",{order="000020",prerequisites={"braking-force-3"},unit={count=1600,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
@@ -227,7 +227,7 @@ fix_tech("mukmoux",{order="000010",prerequisites={"coal-processing-2","advanced-
fix_tech("kevlar",{order="000011",prerequisites={"organic-solvent"},unit={count=400,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("creosote",{order="000004",prerequisites={"tar-processing"},unit={count=55,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("pyrrhic",{order="000024",prerequisites={"space-science-pack"},unit={count=3000,ingredients={{amount=20,name="automation-science-pack",type="item"},{amount=10,name="logistic-science-pack",type="item"},{amount=6,name="military-science-pack",type="item"},{amount=6,name="chemical-science-pack",type="item"},{amount=3,name="production-science-pack",type="item"},{amount=2,name="utility-science-pack",type="item"},{amount=1,name="space-science-pack",type="item"}},time=1200}})
fix_tech("artillery-2",{order="000019",prerequisites={"artillery","railway-mk01","processing-unit"},unit={count=5000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-2",{order="000019",prerequisites={"artillery","railway","processing-unit"},unit={count=5000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-shell-range-2",{order="000020",prerequisites={"artillery-shell-range-1"},unit={count=8000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"}},time=120}})
fix_tech("artillery-shell-range-3",{order="000021",prerequisites={"artillery-shell-range-2"},unit={count=14000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=90}})
fix_tech("artillery-shell-range-4",{order="000022",prerequisites={"artillery-shell-range-3"},unit={count=22500,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="military-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=90}})
@@ -245,8 +245,8 @@ fix_tech("py-storage-tanks",{order="000003",prerequisites={"steel-processing"},u
fix_tech("py-asphalt",{order="000009",prerequisites={"concrete"},unit={count=150,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("py-warehouse-research",{order="000003",prerequisites={"steel-processing"},unit={count=33,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("py-warehouse-logistics-research",{order="000014",prerequisites={"py-warehouse-research","logistic-system","chemical-science-pack"},unit={count=360,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("railway-mk01",{order="000005",prerequisites={"wood-processing","creosote"},unit={count=90,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("railway-mk02",{order="000012",prerequisites={"railway-mk01","niobium","nexelit","plastics"},unit={count=700,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("railway",{order="000005",prerequisites={"wood-processing","creosote"},unit={count=90,ingredients={{amount=1,name="automation-science-pack",type="item"}},time=30}})
fix_tech("railway-mk02",{order="000012",prerequisites={"railway","niobium","nexelit","plastics"},unit={count=700,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
fix_tech("py-accumulator-mk01",{order="000018",prerequisites={"electric-energy-accumulators"},unit={count=3000,ingredients={{amount=3,name="automation-science-pack",type="item"},{amount=2,name="logistic-science-pack",type="item"},{amount=1,name="chemical-science-pack",type="item"}},time=120}})
fix_tech("py-accumulator-mk02",{order="000019",prerequisites={"py-accumulator-mk01","production-science-pack","construction-robotics"},unit={count=1000,ingredients={{amount=6,name="automation-science-pack",type="item"},{amount=3,name="logistic-science-pack",type="item"},{amount=2,name="chemical-science-pack",type="item"},{amount=1,name="production-science-pack",type="item"}},time=300}})
fix_tech("radars-mk01",{order="000008",prerequisites={"logistic-science-pack","engine"},unit={count=90,ingredients={{amount=2,name="automation-science-pack",type="item"},{amount=1,name="logistic-science-pack",type="item"}},time=60}})
9 changes: 7 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
---------------------------------------------------------------------------------------------------
Version: 3.0.13
Date: ?
Changes:
- Migrated the internal name of the "railway-mk01" technology to "railway". Resolves https://github.com/pyanodon/pybugreports/issues/453
---------------------------------------------------------------------------------------------------
Version: 3.0.12
Date: 2024-1-20
Date: 2025-1-20
Changes:
- Greatly expanded the size of all armor equipment grids.
---------------------------------------------------------------------------------------------------
Version: 3.0.11
Date: 2024-1-20
Date: 2025-1-20
Changes:
- Split this mod into pyindustry and pyindustrygraphics.
- Compressed and optimized all py graphics via `spritter optimize . -r --lossy`
4 changes: 2 additions & 2 deletions locale/en/locale.cfg
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ py-burner=Burner
py-storage-tanks=Storage tanks
py-warehouse-logistics-research=Logistics warehousing
py-warehouse-research=Warehousing
railway-mk01=Trains & railway - Stage 1
railway=Trains & railway - Stage 1
railway-mk02=Trains & railway - Stage 2
railway-mk03=Trains & railway - Stage 3
railway-mk04=Trains & railway - Stage 4
@@ -192,7 +192,7 @@ radars-mk02=Radar - Stage 2
py-storage-tanks=Adds more sizes of storage tanks.
py-asphalt=Make new tiles.
py-burner=Unlock structures to destroy any unwanted solid material. Burning items will generate ash.
railway-mk01=Unlock trains and basic train logistic systems.
railway=Unlock trains and basic train logistic systems.
railway-mk02=Unlock advanced trains with a high breaking force.
railway-mk03=Unlock high-tech nexelit trains with a huge acceleration.
railway-mk04=Unlock quantum energy hypersonic space trains.
4 changes: 2 additions & 2 deletions locale/fr/locale.cfg
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ py-burner=Brûleur
py-storage-tanks=Réservoirs de stockage
py-warehouse-logistics-research=Stockage logistique
py-warehouse-research=Stockage
railway-mk01=Trains et chemins de fer - Étape 1
railway=Trains et chemins de fer - Étape 1
railway-mk02=Trains et chemins de fer - Étape 2
railway-mk03=Trains et chemins de fer - Étape 3
railway-mk04=Trains et chemins de fer - Étape 4
@@ -191,7 +191,7 @@ radars-mk02=Radar - Étape 2
py-storage-tanks=Ajoute plus de tailles de réservoirs de stockage.
py-asphalt=Faire de nouvelles tuiles.
py-burner=Déverrouiller les structures pour détruire tout matériau solide indésirable. Les objets brûlés généreront des cendres.
railway-mk01=Débloquer les trains et les systèmes logistiques de base.
railway=Débloquer les trains et les systèmes logistiques de base.
railway-mk02=Déverrouiller les trains avancés avec une force de rupture élevée.
railway-mk03=Débloquez des trains high-tech de nexelit avec une énorme accélération.
railway-mk04=Débloquer les trains spatiaux hypersoniques à énergie quantique.
4 changes: 2 additions & 2 deletions locale/ru/locale.cfg
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ py-burner=Сжигатель
py-storage-tanks=Резервуары для жидкостей
py-warehouse-logistics-research=Логистическое хранение
py-warehouse-research=Хранение
railway-mk01=Поезда и железная дорога - Этап 1
railway=Поезда и железная дорога - Этап 1
railway-mk02=Поезда и железная дорога - Этап 2
railway-mk03=Поезда и железная дорога - Этап 3
railway-mk04=Поезда и железная дорога - Этап 4
@@ -173,7 +173,7 @@ radars-mk02=Радар - Этап 2
py-asphalt=Позволяет создавать новые покрытия.
py-burner=Добавляет сжигатель.
py-storage-tanks=Добавляет разновидности резервуаров для хранения жидкостей и газов.
railway-mk01=Разблокирует поезда и основные системы логистики поездов.
railway=Разблокирует поезда и основные системы логистики поездов.
railway-mk02=Разблокирует продвинутые поезда с отличными тормозами.
railway-mk03=Разблокирует высокотехнологичные некселитовые поезда с огромным ускорением.
railway-mk04=Разблокирует сверхзвуковые космические поезда на квантовой энергии.
4 changes: 2 additions & 2 deletions locale/uk/locale.cfg
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ py-burner=Спалювач
py-storage-tanks=Резервуари для зберігання.
py-warehouse-logistics-research=Складська логістика
py-warehouse-research=Складування
railway-mk01=Поїзди та залізниця: 1 етап
railway=Поїзди та залізниця: 1 етап
railway-mk02=Поїзди та залізниця: 2 етап
railway-mk03=Поїзди та залізниця: 3 етап
railway-mk04=Поїзди та залізниця: 4 етап
@@ -191,7 +191,7 @@ radars-mk02=Радар: 2 етап
py-storage-tanks=Надає доступ до резервуарів більшої ємності.
py-asphalt=Виготовіть нові плитки.
py-burner=Розблокуйте механізми знищення будь-яких небажаних твердий матеріалів. Результатом спалювання предметів є попіл.
railway-mk01=Розблокуйте поїзди та основні системи залізничної логістики.
railway=Розблокуйте поїзди та основні системи залізничної логістики.
railway-mk02=Розблокуйте вдосконалені потяги з високою гальмівною силою.
railway-mk03=Розблокуйте високотехнологічні некселітові потяги із величезним прискоренням.
railway-mk04=Розблокуйте гіперзвукові космічні поїзди квантової енергії.
4 changes: 2 additions & 2 deletions locale/zh-CN/pyindustry.cfg
Original file line number Diff line number Diff line change
@@ -176,7 +176,7 @@ py-burner=燃烧器
py-storage-tanks=储液罐
py-warehouse-logistics-research=物流仓储
py-warehouse-research=仓储
railway-mk01=铁路 MK1
railway=铁路 MK1
railway-mk02=铁路 MK2
railway-mk03=铁路 MK3
railway-mk04=铁路 MK4
@@ -188,7 +188,7 @@ radars-mk02=雷达 MK2
py-storage-tanks=添加更多类型的储液罐。
py-asphalt=制作新型地砖。
py-burner=增加燃烧器。
railway-mk01=解锁火车和基本的火车物流系统。
railway=解锁火车和基本的火车物流系统。
railway-mk02=解锁更好的火车。

[tile-name]
8 changes: 8 additions & 0 deletions migrations/railway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"technology": [
[
"railway-mk01",
"railway"
]
]
}
11 changes: 6 additions & 5 deletions prototypes/technologies/railway.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
TECHNOLOGY {
type = "technology",
name = "railway-mk01",
name = "railway",
icon = "__pyindustrygraphics__/graphics/technology/railway-mk01.png",
icon_size = 128,
order = "c-a",
prerequisites = {"steel-processing"},
effects = {},
effects = data.raw.technology.railway.effects,
unit = {
count = 150,
ingredients = {
@@ -14,18 +14,19 @@ TECHNOLOGY {
time = 45
}
}
RECIPE("iron-stick"):remove_unlock("railway")

if mods["pycoalprocessing"] then
TECHNOLOGY("railway-mk01"):add_prereq("wood-processing"):remove_prereq("steel-processing")
TECHNOLOGY("railway"):add_prereq("wood-processing"):remove_prereq("steel-processing")

TECHNOLOGY {
type = "technology",
name = "railway-mk02",
icon = "__pyindustrygraphics__/graphics/technology/railway-mk02.png",
icon_size = 128,
order = "c-a",
prerequisites = {"railway-mk01", "niobium", "nexelit"},
dependencies = {"railway-mk01"},
prerequisites = {"railway", "niobium", "nexelit"},
dependencies = {"railway"},
effects = {},
unit = {
count = 250,
17 changes: 4 additions & 13 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
@@ -39,27 +39,18 @@ RECIPE("active-provider-chest"):remove_ingredient("advanced-circuit")
RECIPE("buffer-chest"):remove_ingredient("advanced-circuit")
RECIPE("requester-chest"):remove_ingredient("advanced-circuit")

--Move vanilla train to railway tech 1
RECIPE("locomotive"):remove_unlock("railway"):add_unlock("railway-mk01"):remove_ingredient("engine-unit"):add_ingredient {type = "item", name = "pipe", amount = 20}:add_ingredient {type = "item", name = "steam-engine", amount = 2}:add_ingredient {type = "item", name = "iron-gear-wheel", amount = 20}:subgroup_order("py-trains", "a")
RECIPE("cargo-wagon"):remove_unlock("railway"):add_unlock("railway-mk01"):subgroup_order("py-trains", "ab")
RECIPE("locomotive"):remove_ingredient("engine-unit"):add_ingredient {type = "item", name = "pipe", amount = 20}:add_ingredient {type = "item", name = "steam-engine", amount = 2}:add_ingredient {type = "item", name = "iron-gear-wheel", amount = 20}:subgroup_order("py-trains", "a")
RECIPE("cargo-wagon"):subgroup_order("py-trains", "ab")
RECIPE("fluid-wagon"):subgroup_order("py-trains", "ac")
RECIPE("rail"):remove_unlock("railway"):add_unlock("railway-mk01")

TECHNOLOGY("fluid-wagon"):remove_prereq("railway"):add_prereq("railway-mk01"):remove_pack("logistic-science-pack")
TECHNOLOGY("braking-force-1"):remove_prereq("railway"):add_prereq("railway-mk01")
TECHNOLOGY("automated-rail-transportation"):remove_prereq("railway"):add_prereq("railway-mk01"):remove_pack("logistic-science-pack")
TECHNOLOGY("railway"):set_fields {enabled = false}:set_fields {hidden = true}
TECHNOLOGY("fluid-wagon"):remove_pack("logistic-science-pack")
TECHNOLOGY("automated-rail-transportation"):remove_pack("logistic-science-pack")

RECIPE("accumulator"):add_ingredient {type = "item", name = "electronic-circuit", amount = 2}
RECIPE("rocket-silo"):replace_ingredient("pipe", "niobium-pipe")
TECHNOLOGY("electric-energy-accumulators"):set("icon", "__pyindustrygraphics__/graphics/technology/accumulator-mk01.png")
TECHNOLOGY("electric-energy-accumulators"):set("icon_size", 128)


if not mods["pycoalprocessing"] then
TECHNOLOGY("production-science-pack"):add_prereq("railway-mk01")
end

data.raw.pump["pump"].fluid_wagon_connector_alignment_tolerance = 1.0

-- Moved from prototypes/pipes/niobium-pipes.lua because AFH was incorrectly copying the property causing crashes

0 comments on commit 5dcc307

Please sign in to comment.