mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
@@ -1,7 +1,7 @@
|
|||||||
local recipe_multiplier = {settings.startup['PHI-RS-RECIPE-1'].value, settings.startup['PHI-RS-RECIPE-2'].value}
|
local recipe_multiplier = {settings.startup['PHI-RS-RECIPE-1'].value, settings.startup['PHI-RS-RECIPE-2'].value}
|
||||||
local items = require 'config'
|
local items = require 'config'
|
||||||
|
|
||||||
data.raw['utility-constants'].default.dynamic_recipe_overload_factor = string.format('%.2f', settings.startup['PHI-RS-RECIPE-DROF'].value / 117)
|
data.raw['utility-constants'].default.dynamic_recipe_overload_factor = settings.startup['PHI-RS-RECIPE-DROF'].value
|
||||||
|
|
||||||
if settings.startup['PHI-RS-MODULE'].value == true then
|
if settings.startup['PHI-RS-MODULE'].value == true then
|
||||||
table.insert(items, {
|
table.insert(items, {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-RS",
|
"name": "PHI-RS",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"date": "2024-01-25",
|
"date": "2024-01-25",
|
||||||
"title": "Phidias Recipe Scaling",
|
"title": "Phidias Recipe Scaling",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ electric-filter-furnace=Faster and more flexible furnaces.
|
|||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-RS-RECIPE-1=Recipe 1
|
PHI-RS-RECIPE-1=Recipe 1
|
||||||
PHI-RS-RECIPE-2=Recipe 2
|
PHI-RS-RECIPE-2=Recipe 2
|
||||||
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor (%)
|
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor
|
||||||
PHI-RS-MODULE=Module
|
PHI-RS-MODULE=Module
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ electric-filter-furnace=より高速で便利な炉です。
|
|||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-RS-RECIPE-1=レシピ 1
|
PHI-RS-RECIPE-1=レシピ 1
|
||||||
PHI-RS-RECIPE-2=レシピ 2
|
PHI-RS-RECIPE-2=レシピ 2
|
||||||
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor (%)
|
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor
|
||||||
PHI-RS-MODULE=モジュール
|
PHI-RS-MODULE=モジュール
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ electric-filter-furnace=更快速、更方便的熔爐。
|
|||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-RS-RECIPE-1=配方 1
|
PHI-RS-RECIPE-1=配方 1
|
||||||
PHI-RS-RECIPE-2=配方 2
|
PHI-RS-RECIPE-2=配方 2
|
||||||
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor (%)
|
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor
|
||||||
PHI-RS-MODULE=模組
|
PHI-RS-MODULE=模組
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ electric-filter-furnace=更快速、更方便的熔爐。
|
|||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-RS-RECIPE-1=配方 1
|
PHI-RS-RECIPE-1=配方 1
|
||||||
PHI-RS-RECIPE-2=配方 2
|
PHI-RS-RECIPE-2=配方 2
|
||||||
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor (%)
|
PHI-RS-RECIPE-DROF=Dynamic Recipe Overload Factor
|
||||||
PHI-RS-MODULE=模組
|
PHI-RS-MODULE=模組
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ data:extend({{
|
|||||||
type = 'int-setting',
|
type = 'int-setting',
|
||||||
name = 'PHI-RS-RECIPE-DROF',
|
name = 'PHI-RS-RECIPE-DROF',
|
||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = 100,
|
default_value = 1,
|
||||||
minimum_value = 50,
|
minimum_value = 1,
|
||||||
maximum_value = 10000,
|
maximum_value = 100,
|
||||||
order = 'A4'
|
order = 'A4'
|
||||||
}})
|
}})
|
||||||
Reference in New Issue
Block a user