mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -5,6 +5,7 @@ Date: 2025-04-20
|
||||
Changes:
|
||||
- [CT] Changed the hidden status of some creative items.
|
||||
- [CL] Changed the some locale logic.
|
||||
- [CL] Moved some grouping of the settings.
|
||||
- [MI] Fixed heating tower also applied the nuclear reactor scale energy usage flag.
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -68,7 +68,7 @@ if settings.startup['PHI-CT'].value then
|
||||
script.on_event(defines.events.on_player_cheat_mode_disabled, hidden_recipe_enable)
|
||||
end
|
||||
|
||||
if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-RESTRICTION'].value) or (settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value) then
|
||||
if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (settings.startup['PHI-SA'].value and settings.startup['PHI-SA-RESTRICTION'].value) or settings.startup['PHI-VP'].value then
|
||||
function gui_create(player)
|
||||
if player.gui.relative.inserter_config then
|
||||
player.gui.relative.inserter_config.destroy()
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
-- local main = require 'main'
|
||||
|
||||
do
|
||||
local vp = settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value
|
||||
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
|
||||
local p = settings.startup['PHI-VP'].value or sa
|
||||
|
||||
for k, v in pairs(data.raw.recipe) do
|
||||
if vp and v.category == 'recycling' then
|
||||
if settings.startup['PHI-VP'].value and v.category == 'recycling' then
|
||||
data.raw.recipe[k] = nil
|
||||
end
|
||||
|
||||
if (vp or sa) and v.maximum_productivity then
|
||||
if p and v.maximum_productivity then
|
||||
v.maximum_productivity = 999
|
||||
end
|
||||
end
|
||||
|
||||
@@ -134,7 +134,6 @@ PHI-SA-RESTRICTION=[color=54,228,255]SA7[/color]
|
||||
PHI-SA-GENERIC=[color=54,228,255]SA8[/color]
|
||||
|
||||
PHI-VP=[color=255,254,42]VP[/color]
|
||||
PHI-VP-MAIN=[color=54,228,255]VP1[/color]
|
||||
|
||||
PHI-CT=[color=255,254,42]CT[/color]
|
||||
PHI-CT-TILE=[color=54,228,255]CT1[/color]
|
||||
@@ -182,7 +181,6 @@ PHI-SA-QUALITY=Quality chance multiplier
|
||||
PHI-SA-MAX-QUALITY=Max quality
|
||||
|
||||
PHI-VP=[color=255,254,42]Vanilla Plus[/color]
|
||||
PHI-VP-MAIN=Main changes
|
||||
|
||||
PHI-CT=[color=255,254,42]Creative testing tools[/color]
|
||||
PHI-CT-TILE=Enable map generation world tile
|
||||
|
||||
@@ -134,7 +134,6 @@ PHI-SA-QUALITY=品質確率マルチプライヤ
|
||||
PHI-SA-MAX-QUALITY=最大品質
|
||||
|
||||
PHI-VP=[color=255,254,42]バニラプラス[/color]
|
||||
PHI-VP-MAIN=主な変更点
|
||||
|
||||
PHI-CT=[color=255,254,42]クリエイティブテストツール[/color]
|
||||
PHI-CT-TILE=マップ生成ワールドタイルを有効にする
|
||||
|
||||
@@ -134,7 +134,6 @@ PHI-SA-QUALITY=品質概率倍數
|
||||
PHI-SA-MAX-QUALITY=最大品質
|
||||
|
||||
PHI-VP=[color=255,254,42]原版加[/color]
|
||||
PHI-VP-MAIN=主要更改
|
||||
|
||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||
PHI-CT-TILE=啟用地圖生成世界地磚
|
||||
|
||||
@@ -134,7 +134,6 @@ PHI-SA-QUALITY=品質概率倍數
|
||||
PHI-SA-MAX-QUALITY=最大品質
|
||||
|
||||
PHI-VP=[color=255,254,42]原版加[/color]
|
||||
PHI-VP-MAIN=主要更改
|
||||
|
||||
PHI-CT=[color=255,254,42]創意測試工具[/color]
|
||||
PHI-CT-TILE=啟用地圖生成世界地磚
|
||||
|
||||
@@ -286,13 +286,6 @@ data:extend({
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-VP'}, {'mod-setting-name.PHI-VP'}},
|
||||
order = 'E00'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-VP-MAIN',
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.combine', {'mod-setting-name-prefix.PHI-VP-MAIN'}, {'mod-setting-name.PHI-VP-MAIN'}},
|
||||
order = 'E01'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
name = 'PHI-CT',
|
||||
setting_type = 'startup',
|
||||
|
||||
Reference in New Issue
Block a user