This commit is contained in:
2024-08-28 19:55:47 +09:00
parent 142fb23709
commit 4474b0101f
8 changed files with 19 additions and 6 deletions

View File

@@ -4,10 +4,6 @@ local file_stage = 3
data.raw['utility-constants'].default.zoom_to_world_effect_strength = 0 data.raw['utility-constants'].default.zoom_to_world_effect_strength = 0
data.raw['utility-constants'].default.zoom_to_world_can_use_nightvision = true data.raw['utility-constants'].default.zoom_to_world_can_use_nightvision = true
data.raw['lamp']['small-lamp'].darkness_for_all_lamps_on = 0
data.raw['lamp']['small-lamp'].darkness_for_all_lamps_off = 0
table.insert(data.raw['lamp']['small-lamp'].signal_to_color_mapping, {type='virtual', name='signal-grey', color={r=128, g=128, b=128}})
table.insert(data.raw['lamp']['small-lamp'].signal_to_color_mapping, {type='virtual', name='signal-black', color={r=0, g=0, b=0}})
for _,name in pairs({'furnace', 'lab', 'beacon'}) do for _,name in pairs({'furnace', 'lab', 'beacon'}) do
local entities = {} local entities = {}

View File

@@ -81,6 +81,13 @@ if settings.startup['PHI-CT'].value then
end end
end end
end end
if settings.startup['PHI-CT-LAMP'].value then
data.raw['lamp']['small-lamp'].darkness_for_all_lamps_on = 0
data.raw['lamp']['small-lamp'].darkness_for_all_lamps_off = nil
table.insert(data.raw['lamp']['small-lamp'].signal_to_color_mapping, {type='virtual', name='signal-grey', color={r=128, g=128, b=128}})
table.insert(data.raw['lamp']['small-lamp'].signal_to_color_mapping, {type='virtual', name='signal-black', color={r=0, g=0, b=0}})
end
end end
if settings.startup['PHI-MI'].value then if settings.startup['PHI-MI'].value then

View File

@@ -1,8 +1,8 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "2.0.27", "version": "2.0.28",
"factorio_version": "1.1", "factorio_version": "1.1",
"date": "2024-08-28", "date": "2024-08-29",
"title": "Phidias Collection", "title": "Phidias Collection",
"author": "PHIDIAS0303", "author": "PHIDIAS0303",
"contributers": "", "contributers": "",

View File

@@ -931,6 +931,7 @@ PHI-CT-LINKED=Linked chest
PHI-CT-LOADER=Loader enable PHI-CT-LOADER=Loader enable
PHI-CT-RECIPE=Recipe PHI-CT-RECIPE=Recipe
PHI-CT-ENERGY=Energy PHI-CT-ENERGY=Energy
PHI-CT-LAMP=Lamp
[mod-setting-description] [mod-setting-description]
PHI-EN-SOLAR-TIER=Default 8 ; Disable 1 PHI-EN-SOLAR-TIER=Default 8 ; Disable 1

View File

@@ -931,6 +931,7 @@ PHI-CT-LINKED=リンクされたチェスト
PHI-CT-LOADER=ローダーを有効にする PHI-CT-LOADER=ローダーを有効にする
PHI-CT-RECIPE=レシピ PHI-CT-RECIPE=レシピ
PHI-CT-ENERGY=エネルギー PHI-CT-ENERGY=エネルギー
PHI-CT-LAMP=ランプ
[mod-setting-description] [mod-setting-description]
PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1 PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1

View File

@@ -931,6 +931,7 @@ PHI-CT-LINKED=連結箱
PHI-CT-LOADER=裝卸機啟用 PHI-CT-LOADER=裝卸機啟用
PHI-CT-RECIPE=配方 PHI-CT-RECIPE=配方
PHI-CT-ENERGY=能量 PHI-CT-ENERGY=能量
PHI-CT-LAMP=
[mod-setting-description] [mod-setting-description]
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1 PHI-EN-SOLAR-TIER=預設 8 ; 停用 1

View File

@@ -931,6 +931,7 @@ PHI-CT-LINKED=連結箱
PHI-CT-LOADER=裝卸機啟用 PHI-CT-LOADER=裝卸機啟用
PHI-CT-RECIPE=配方 PHI-CT-RECIPE=配方
PHI-CT-ENERGY=能量 PHI-CT-ENERGY=能量
PHI-CT-LAMP=
[mod-setting-description] [mod-setting-description]
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1 PHI-EN-SOLAR-TIER=預設 8 ; 停用 1

View File

@@ -502,6 +502,12 @@ data:extend({
setting_type = 'startup', setting_type = 'startup',
default_value = true, default_value = true,
order = 'JA08' order = 'JA08'
}, {
type = 'bool-setting',
name = 'PHI-CT-LAMP',
setting_type = 'startup',
default_value = true,
order = 'JA09'
}, { }, {
type = 'bool-setting', type = 'bool-setting',
name = 'PHI-CT-TILE', name = 'PHI-CT-TILE',