mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
.
This commit is contained in:
@@ -56,7 +56,7 @@ end
|
||||
-- SA C 1 SPACE_AGE TOOL
|
||||
if settings.startup['PHI-SA'].value then
|
||||
local spoil_set = (not settings.startup['PHI-SA-SPOIL'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP')
|
||||
local spoil_freeze_set = settings.startup['PHI-SA-SPOIL'].value and settings.startup['PHI-SA-SPOIL-FREEZE'].value and settings.startup['PHI-SA-SPOIL-FREEZE'].value > 0
|
||||
local spoil_freeze_set = settings.startup['PHI-SA-SPOIL'].value and settings.startup['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].value and settings.startup['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].value > 0
|
||||
|
||||
for _, v in pairs({'nutrients', 'captive-biter-spawner', 'biter-egg', 'pentapod-egg'}) do
|
||||
if spoil_set then
|
||||
|
||||
@@ -66,11 +66,10 @@ PHI-MI-PIPE-EXTENT=MI4
|
||||
|
||||
PHI-SA=SA
|
||||
PHI-SA-SPOIL=SA1
|
||||
PHI-SA-SPOIL-FREEZE=SA2
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=SA3
|
||||
PHI-SA-ENABLE-QUALITY=SA4
|
||||
PHI-SA-QUALITY=SA5
|
||||
PHI-SA-ROCKET-CAPACITY=SA6
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=SA2
|
||||
PHI-SA-ENABLE-QUALITY=SA3
|
||||
PHI-SA-QUALITY=SA4
|
||||
PHI-SA-ROCKET-CAPACITY=SA5
|
||||
|
||||
PHI-GM=GM
|
||||
|
||||
@@ -98,7 +97,7 @@ PHI-MI-PIPE-EXTENT=Pipe Extent
|
||||
|
||||
PHI-SA=Space Age
|
||||
PHI-SA-SPOIL=Spoilage
|
||||
PHI-SA-SPOIL-FREEZE=Freeze spoilage multiplier
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=Freeze spoilage multiplier
|
||||
PHI-SA-ENABLE-QUALITY=Quality
|
||||
PHI-SA-QUALITY=Quality chance multiplier
|
||||
PHI-SA-ROCKET-CAPACITY=Rocket capacity
|
||||
@@ -111,7 +110,6 @@ PHI-CT-TILE-CHOICE=Map generation tile choice
|
||||
|
||||
[string-mod-setting]
|
||||
PHI-GM-SAP=[color=54,228,255]SAP[/color] Space Age Plus
|
||||
PHI-GM-SS=[color=54,228,255]SS[/color] Space Ship
|
||||
PHI-GM-VP=[color=54,228,255]VP[/color] Vanilla Plus
|
||||
PHI-CT-TILE-CHOICE-landfill=[tile=landfill] Landfill
|
||||
PHI-CT-TILE-CHOICE-stone-path=[tile=stone-path] Stone Path
|
||||
@@ -147,6 +145,6 @@ PHI-MI-PIPE=[item=pipe] x0.1
|
||||
PHI-MI-ROBOT-ENERGY=[item=battery]
|
||||
PHI-MI-PIPE-EXTENT=[item=pipe-to-ground]
|
||||
|
||||
PHI-SA-SPOIL-FREEZE-RATIO=[virtual-signal=signal-clock] x0.1
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=[virtual-signal=signal-clock] x0.1
|
||||
PHI-SA-QUALITY=x0.1
|
||||
PHI-SA-ROCKET-CAPACITY=[item=rocket-silo] '000 KG
|
||||
|
||||
@@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=パイプ範囲
|
||||
|
||||
PHI-SA=Space Age
|
||||
PHI-SA-SPOIL=変質
|
||||
PHI-SA-SPOIL-FREEZE=変質凍結マルチプライヤ
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=変質凍結マルチプライヤ
|
||||
PHI-SA-ENABLE-QUALITY=品質
|
||||
PHI-SA-QUALITY=品質確率マルチプライヤ
|
||||
PHI-SA-ROCKET-CAPACITY=ロケット容量
|
||||
|
||||
@@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=管道長度
|
||||
|
||||
PHI-SA=太空時代
|
||||
PHI-SA-SPOIL=變質
|
||||
PHI-SA-SPOIL-FREEZE=變質凍結倍數
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=變質凍結倍數
|
||||
PHI-SA-ENABLE-QUALITY=品質
|
||||
PHI-SA-QUALITY=品質概率倍數
|
||||
PHI-SA-ROCKET-CAPACITY=火箭容量
|
||||
|
||||
@@ -61,7 +61,7 @@ PHI-MI-PIPE-EXTENT=管道長度
|
||||
|
||||
PHI-SA=太空時代
|
||||
PHI-SA-SPOIL=變質
|
||||
PHI-SA-SPOIL-FREEZE=變質凍結倍數
|
||||
PHI-SA-SPOIL-FREEZE-MULTIPLIER=變質凍結倍數
|
||||
PHI-SA-ENABLE-QUALITY=品質
|
||||
PHI-SA-QUALITY=品質概率倍數
|
||||
PHI-SA-ROCKET-CAPACITY=火箭容量
|
||||
|
||||
+3
-3
@@ -128,12 +128,12 @@ data:extend({
|
||||
order = 'C01'
|
||||
}, {
|
||||
type = 'int-setting',
|
||||
name = 'PHI-SA-SPOIL-FREEZE',
|
||||
name = 'PHI-SA-SPOIL-FREEZE-MULTIPLIER',
|
||||
setting_type = 'startup',
|
||||
default_value = 50,
|
||||
minimum_value = 0,
|
||||
maximum_value = 1000,
|
||||
localised_name = {'phi-cl.setting-class-color', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE'}, {'phi-cl.proportion', {'mod-setting-name.PHI-SA-SPOIL-FREEZE'}}},
|
||||
localised_name = {'phi-cl.setting-class-color', {'mod-setting-name-prefix.PHI-SA-SPOIL-FREEZE-MULTIPLIER'}, {'phi-cl.proportion', {'mod-setting-name.PHI-SA-SPOIL-FREEZE-MULTIPLIER'}}},
|
||||
order = 'C02'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
@@ -197,7 +197,7 @@ data:extend({
|
||||
if mods['space-age'] then
|
||||
data.raw['bool-setting']['PHI-MB-EQUIPMENT-ARMOR'].localised_description = {'', '[item=power-armor-mk2] 3, [item=mech-armor] 2'}
|
||||
data.raw['bool-setting']['PHI-SA-SPOIL'].localised_description = {'', '[item=spoilage]'}
|
||||
data.raw['int-setting']['PHI-SA-SPOIL-FREEZE'].localised_description = {'', '[item=ice]'}
|
||||
data.raw['int-setting']['PHI-SA-SPOIL-FREEZE-MULTIPLIER'].localised_description = {'', '[item=ice]'}
|
||||
data.raw['bool-setting']['PHI-SA-ENABLE-QUALITY'].localised_description = {'', '[virtual-signal=signal-any-quality]'}
|
||||
data.raw['int-setting']['PHI-SA-QUALITY'].localised_description = {'', '[item=quality-module-3] x 0.1'}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user