mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-30 20:01:40 +09:00
.
This commit is contained in:
@@ -335,11 +335,11 @@ if settings.startup['PHI-MI'].value then
|
|||||||
|
|
||||||
if settings.startup['PHI-MI-PRODUCTIVITY'].value then
|
if settings.startup['PHI-MI-PRODUCTIVITY'].value then
|
||||||
for k, v in pairs(items.item_productivity) do
|
for k, v in pairs(items.item_productivity) do
|
||||||
if data.raw.technology[v] then
|
if data.raw.recipe[k] and data.raw.technology[v] then
|
||||||
data:extend({{
|
data:extend({{
|
||||||
type = 'technology',
|
type = 'technology',
|
||||||
name = k .. '-productivity',
|
name = k .. '-productivity',
|
||||||
prerequisites = tech,
|
prerequisites = v,
|
||||||
effects = {
|
effects = {
|
||||||
{
|
{
|
||||||
type = 'change-recipe-productivity',
|
type = 'change-recipe-productivity',
|
||||||
|
|||||||
Reference in New Issue
Block a user