mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -155,6 +155,61 @@ local items = {
|
|||||||
'se-space-telescope-xray',
|
'se-space-telescope-xray',
|
||||||
'se-space-mechanical-laboratory'
|
'se-space-mechanical-laboratory'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
['PHI-WE-LASER-TIER'] = {
|
||||||
|
type = 'max',
|
||||||
|
effect = {
|
||||||
|
'laser-turret'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
['PHI-WE-FLAME-TIER'] = {
|
||||||
|
type = 'max',
|
||||||
|
effect = {
|
||||||
|
'flamethrower-turret'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
['PHI-WE-GUN-TIER'] = {
|
||||||
|
type = 'max',
|
||||||
|
effect = {
|
||||||
|
'gun-turret'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
['PHI-WE-RADAR-TIER'] = {
|
||||||
|
type = 'max',
|
||||||
|
effect = {
|
||||||
|
'radar'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
['research_modifier'] = {
|
||||||
|
--[[
|
||||||
|
['electric-turret'] = {
|
||||||
|
'energy-weapons-damage-1',
|
||||||
|
'energy-weapons-damage-2',
|
||||||
|
'energy-weapons-damage-3',
|
||||||
|
'energy-weapons-damage-4',
|
||||||
|
'energy-weapons-damage-5',
|
||||||
|
'energy-weapons-damage-6',
|
||||||
|
'energy-weapons-damage-7'
|
||||||
|
},
|
||||||
|
]]
|
||||||
|
['ammo-turret'] = {
|
||||||
|
'physical-projectile-damage-1',
|
||||||
|
'physical-projectile-damage-2',
|
||||||
|
'physical-projectile-damage-3',
|
||||||
|
'physical-projectile-damage-4',
|
||||||
|
'physical-projectile-damage-5',
|
||||||
|
'physical-projectile-damage-6',
|
||||||
|
'physical-projectile-damage-7'
|
||||||
|
},
|
||||||
|
['fluid-turret'] = {
|
||||||
|
'refined-flammables-1',
|
||||||
|
'refined-flammables-2',
|
||||||
|
'refined-flammables-3',
|
||||||
|
'refined-flammables-4',
|
||||||
|
'refined-flammables-5',
|
||||||
|
'refined-flammables-6',
|
||||||
|
'refined-flammables-7'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
['item'] = {
|
['item'] = {
|
||||||
@@ -333,6 +388,45 @@ local items = {
|
|||||||
tech = 'automation',
|
tech = 'automation',
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 3
|
max = 3
|
||||||
|
},
|
||||||
|
['laser-turret'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'electric-turret',
|
||||||
|
name = 'laser-turret',
|
||||||
|
ref_name = 'laser-turret',
|
||||||
|
tech = 'laser-turret',
|
||||||
|
min = 2,
|
||||||
|
max = 3,
|
||||||
|
range = 24
|
||||||
|
},
|
||||||
|
['gun-turret'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'ammo-turret',
|
||||||
|
name = 'gun-turret',
|
||||||
|
ref_name = 'gun-turret',
|
||||||
|
tech = 'gun-turret',
|
||||||
|
min = 2,
|
||||||
|
max = 3,
|
||||||
|
range = 18
|
||||||
|
},
|
||||||
|
['flamethrower-turret'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'fluid-turret',
|
||||||
|
name = 'flamethrower-turret',
|
||||||
|
ref_name = 'flamethrower-turret',
|
||||||
|
tech = 'flamethrower',
|
||||||
|
min = 2,
|
||||||
|
max = 3,
|
||||||
|
range = 30
|
||||||
|
},
|
||||||
|
['radar'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'radar',
|
||||||
|
name = 'radar',
|
||||||
|
ref_name = 'radar',
|
||||||
|
tech = 'automation',
|
||||||
|
min = 2,
|
||||||
|
max = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,6 +64,22 @@ local function EE(source, tier)
|
|||||||
elseif (source.type == 'mining-drill') then
|
elseif (source.type == 'mining-drill') then
|
||||||
item.mining_speed = item.mining_speed * (2 ^ (tier - source.min + 1))
|
item.mining_speed = item.mining_speed * (2 ^ (tier - source.min + 1))
|
||||||
|
|
||||||
|
elseif source.type == 'electric-turret' then
|
||||||
|
item.attack_parameters.damage_modifier = item.attack_parameters.damage_modifier * 2
|
||||||
|
item.glow_light_intensity = 1
|
||||||
|
item.attack_parameters.ammo_type.action.action_delivery.max_length = source.range + (2 * (tier - source.min + 1))
|
||||||
|
-- item.attack_parameters.ammo_type.energy_consumption = 800 * (2 ^ (tier - source.min + 1)) .. 'kJ'
|
||||||
|
item.energy_source.input_flow_limit = 9600 * (2 ^ (tier - source.min + 1)) .. 'kW'
|
||||||
|
item.energy_source.buffer_capacity = 12816 * (2 ^ (tier - source.min + 1)) .. 'kJ'
|
||||||
|
|
||||||
|
elseif source.type == 'fluid-turret' then
|
||||||
|
item.prepare_range = 35 + (2 * (tier - source.min + 1))
|
||||||
|
|
||||||
|
elseif source.type == 'radar' then
|
||||||
|
item.max_distance_of_sector_revealed = item.max_distance_of_sector_revealed + (2 * tier)
|
||||||
|
item.max_distance_of_nearby_sector_revealed = item.max_distance_of_nearby_sector_revealed + (2 * tier)
|
||||||
|
item.energy_usage = 300 * (1 + (0.5 * (tier - source.min + 1))) .. 'kW'
|
||||||
|
|
||||||
else
|
else
|
||||||
if item.crafting_speed then
|
if item.crafting_speed then
|
||||||
item.crafting_speed = item.crafting_speed * (2 ^ (tier - source.min + 1))
|
item.crafting_speed = item.crafting_speed * (2 ^ (tier - source.min + 1))
|
||||||
@@ -74,6 +90,12 @@ local function EE(source, tier)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if source.type == 'electric-turret' or source.type == 'ammo-turret' or source.type == 'fluid-turret' then
|
||||||
|
item.attack_parameters.damage_modifier = (2 ^ (tier - source.min + 1))
|
||||||
|
item.attack_parameters.range = source.range + (2 * (tier - source.min + 1))
|
||||||
|
item.call_for_help_radius = 40 + (2 * (tier - source.min + 1))
|
||||||
|
end
|
||||||
|
|
||||||
if item.fluid_boxes then
|
if item.fluid_boxes then
|
||||||
for k, _ in pairs(item.fluid_boxes) do
|
for k, _ in pairs(item.fluid_boxes) do
|
||||||
if (item.fluid_boxes[k] and (not item.fluid_boxes[k])) then
|
if (item.fluid_boxes[k] and (not item.fluid_boxes[k])) then
|
||||||
@@ -197,6 +219,18 @@ local function ET(source, tier)
|
|||||||
|
|
||||||
elseif data.raw.technology[source.tech] then
|
elseif data.raw.technology[source.tech] then
|
||||||
table.insert(data.raw.technology[source.tech].effects, {type='unlock-recipe', recipe=source.name .. '-' .. tier})
|
table.insert(data.raw.technology[source.tech].effects, {type='unlock-recipe', recipe=source.name .. '-' .. tier})
|
||||||
|
|
||||||
|
if source.type == 'ammo-turret' or source.type == 'fluid-turret' then
|
||||||
|
for i=1, #items['research_modifier'][source.type], 1 do
|
||||||
|
for j=1, #data.raw.technology[items['research_modifier'][source.type][i]].effects, 1 do
|
||||||
|
if (data.raw.technology[items['research_modifier'][source.type][i]].effects[j].type == 'turret-attack') then
|
||||||
|
if (data.raw.technology[items['research_modifier'][source.type][i]].effects[j].turret_id == source.ref_name) then
|
||||||
|
table.insert(data.raw.technology[items['research_modifier'][source.type][i]].effects, {type='turret-attack', turret_id=source.name .. '-' .. tier, modifier=data.raw.technology[items['research_modifier'][source.type][i]].effects[j].modifier})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -168,6 +168,18 @@ se-space-telescope-xray-3=Xray telescope 3
|
|||||||
se-space-science-lab-2=Space science lab 2
|
se-space-science-lab-2=Space science lab 2
|
||||||
se-space-science-lab-3=Space science lab 3
|
se-space-science-lab-3=Space science lab 3
|
||||||
|
|
||||||
|
laser-turret-2=Laser turret 2
|
||||||
|
laser-turret-3=Laser turret 3
|
||||||
|
|
||||||
|
gun-turret-2=Gun turret 2
|
||||||
|
gun-turret-3=Gun turret 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=Flamethrower turret 2
|
||||||
|
flamethrower-turret-3=Flamethrower turret 3
|
||||||
|
|
||||||
|
radar-2=Radar 2
|
||||||
|
radar-3=Radar 3
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-2=Accumulator 2
|
accumulator-2=Accumulator 2
|
||||||
accumulator-3=Accumulator 3
|
accumulator-3=Accumulator 3
|
||||||
@@ -338,6 +350,18 @@ se-space-telescope-xray-3=Xray telescope 3
|
|||||||
se-space-science-lab-2=Space science lab 2
|
se-space-science-lab-2=Space science lab 2
|
||||||
se-space-science-lab-3=Space science lab 3
|
se-space-science-lab-3=Space science lab 3
|
||||||
|
|
||||||
|
laser-turret-2=Laser turret 2
|
||||||
|
laser-turret-3=Laser turret 3
|
||||||
|
|
||||||
|
gun-turret-2=Gun turret 2
|
||||||
|
gun-turret-3=Gun turret 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=Flamethrower turret 2
|
||||||
|
flamethrower-turret-3=Flamethrower turret 3
|
||||||
|
|
||||||
|
radar-2=Radar 2
|
||||||
|
radar-3=Radar 3
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-2=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-2=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
accumulator-3=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-3=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
@@ -503,6 +527,18 @@ se-space-telescope-xray-3=X-rays are blocked by most atmospheres. This powerful
|
|||||||
se-space-science-lab-2=Allows processing of rocket science packs and more advanced space science.
|
se-space-science-lab-2=Allows processing of rocket science packs and more advanced space science.
|
||||||
se-space-science-lab-3=Allows processing of rocket science packs and more advanced space science.
|
se-space-science-lab-3=Allows processing of rocket science packs and more advanced space science.
|
||||||
|
|
||||||
|
laser-turret-2=Advanced defensive buildings that only require electricity.
|
||||||
|
laser-turret-3=Advanced defensive buildings that only require electricity.
|
||||||
|
|
||||||
|
gun-turret-2=Basic defensive buildings that must be refilled with magazines.
|
||||||
|
gun-turret-3=Basic defensive buildings that must be refilled with magazines.
|
||||||
|
|
||||||
|
flamethrower-turret-2=Fires a stream of burning liquid at enemies.
|
||||||
|
flamethrower-turret-3=Fires a stream of burning liquid at enemies.
|
||||||
|
|
||||||
|
radar-2=Scans the nearby sectors, and actively reveals an area around it.
|
||||||
|
radar-3=Scans the nearby sectors, and actively reveals an area around it.
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=Compound Energy
|
compound-energy=Compound Energy
|
||||||
compound-energy-1=Compound Energy
|
compound-energy-1=Compound Energy
|
||||||
@@ -523,9 +559,16 @@ compound-energy-5=Source of free electric energy, but useless at night.
|
|||||||
compound-energy-6=Source of free electric energy, but useless at night.
|
compound-energy-6=Source of free electric energy, but useless at night.
|
||||||
compound-energy-7=Source of free electric energy, but useless at night.
|
compound-energy-7=Source of free electric energy, but useless at night.
|
||||||
|
|
||||||
|
[modifier-description]
|
||||||
|
gun-turret-2-attack-bonus=Gun turret damage: +__1__
|
||||||
|
gun-turret-3-attack-bonus=Gun turret damage: +__1__
|
||||||
|
flamethrower-turret-2-attack-bonus=Fire damage: +__1__
|
||||||
|
flamethrower-turret-3-attack-bonus=Fire damage: +__1__
|
||||||
|
|
||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-EN=Energy
|
PHI-EN=Energy
|
||||||
PHI-MB=Megabase
|
PHI-MB=Megabase
|
||||||
|
PHI-WE=Military
|
||||||
PHI-EN-SOLAR-TIER=Solar Panel
|
PHI-EN-SOLAR-TIER=Solar Panel
|
||||||
PHI-EN-STEAM-TIER=Steam engine
|
PHI-EN-STEAM-TIER=Steam engine
|
||||||
PHI-EN-NUCLEAR-TIER=Nuclear reactor
|
PHI-EN-NUCLEAR-TIER=Nuclear reactor
|
||||||
@@ -536,6 +579,10 @@ PHI-MB-CENTRIFUGE-TIER=Centrifuge
|
|||||||
PHI-MB-LAB-TIER=Lab
|
PHI-MB-LAB-TIER=Lab
|
||||||
PHI-MB-MINING-TIER=Electric mining drill
|
PHI-MB-MINING-TIER=Electric mining drill
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=Space assembling machine
|
PHI-MB-SE-ASSEMBLING-TIER=Space assembling machine
|
||||||
|
PHI-WE-LASER-TIER=Laser turret
|
||||||
|
PHI-WE-FLAME-TIER=Flamethrower turret
|
||||||
|
PHI-WE-GUN-TIER=Gun turret
|
||||||
|
PHI-WE-RADAR-TIER=Radar
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
PHI-EN-SOLAR-TIER=Default 8 ; Disable 1
|
PHI-EN-SOLAR-TIER=Default 8 ; Disable 1
|
||||||
@@ -548,3 +595,7 @@ PHI-MB-CENTRIFUGE-TIER=Default 3 ; Disable 1
|
|||||||
PHI-MB-LAB-TIER=Default 3 ; Disable 1
|
PHI-MB-LAB-TIER=Default 3 ; Disable 1
|
||||||
PHI-MB-MINING-TIER=Default 3 ; Disable 1
|
PHI-MB-MINING-TIER=Default 3 ; Disable 1
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=Default 3 ; Disable 1
|
PHI-MB-SE-ASSEMBLING-TIER=Default 3 ; Disable 1
|
||||||
|
PHI-WE-LASER-TIER=Default 3 ; Disable 1
|
||||||
|
PHI-WE-FLAME-TIER=Default 3 ; Disable 1
|
||||||
|
PHI-WE-GUN-TIER=Default 3 ; Disable 1
|
||||||
|
PHI-WE-RADAR-TIER=Default 3 ; Disable 1
|
||||||
|
|||||||
@@ -168,6 +168,18 @@ se-space-telescope-xray-3=X線望遠鏡 3
|
|||||||
se-space-science-lab-2=宇宙科学研究所 2
|
se-space-science-lab-2=宇宙科学研究所 2
|
||||||
se-space-science-lab-3=宇宙科学研究所 3
|
se-space-science-lab-3=宇宙科学研究所 3
|
||||||
|
|
||||||
|
laser-turret-2=レーザータレット 2
|
||||||
|
laser-turret-3=レーザータレット 3
|
||||||
|
|
||||||
|
gun-turret-2=ガンタレット 2
|
||||||
|
gun-turret-3=ガンタレット 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火炎放射タレット 2
|
||||||
|
flamethrower-turret-3=火炎放射タレット 3
|
||||||
|
|
||||||
|
radar-2=レーダー 2
|
||||||
|
radar-3=レーダー 3
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-2=蓄電池 2
|
accumulator-2=蓄電池 2
|
||||||
accumulator-3=蓄電池 3
|
accumulator-3=蓄電池 3
|
||||||
@@ -338,6 +350,18 @@ se-space-telescope-xray-3=X線望遠鏡 3
|
|||||||
se-space-science-lab-2=宇宙科学研究所 2
|
se-space-science-lab-2=宇宙科学研究所 2
|
||||||
se-space-science-lab-3=宇宙科学研究所 3
|
se-space-science-lab-3=宇宙科学研究所 3
|
||||||
|
|
||||||
|
laser-turret-2=レーザータレット 2
|
||||||
|
laser-turret-3=レーザータレット 3
|
||||||
|
|
||||||
|
gun-turret-2=ガンタレット 2
|
||||||
|
gun-turret-3=ガンタレット 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火炎放射タレット 2
|
||||||
|
flamethrower-turret-3=火炎放射タレット 3
|
||||||
|
|
||||||
|
radar-2=レーダー 2
|
||||||
|
radar-3=レーダー 3
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
@@ -503,6 +527,18 @@ se-space-telescope-xray-3=X線のほとんどは大気によってブロック
|
|||||||
se-space-science-lab-2=高度なサイエンスパックを使用できます。
|
se-space-science-lab-2=高度なサイエンスパックを使用できます。
|
||||||
se-space-science-lab-3=高度なサイエンスパックを使用できます。
|
se-space-science-lab-3=高度なサイエンスパックを使用できます。
|
||||||
|
|
||||||
|
laser-turret-2=電気のみで稼動する高度な防衛施設。
|
||||||
|
laser-turret-3=電気のみで稼動する高度な防衛施設。
|
||||||
|
|
||||||
|
gun-turret-2=弾薬を補充する必要がある基本的な防衛施設。
|
||||||
|
gun-turret-3=弾薬を補充する必要がある基本的な防衛施設。
|
||||||
|
|
||||||
|
flamethrower-turret-2=敵に火のついた液体を投射します。
|
||||||
|
flamethrower-turret-3=敵に火のついた液体を投射します。
|
||||||
|
|
||||||
|
radar-2=近隣の領域をスキャンし、その周囲のエリアを探索します。
|
||||||
|
radar-3=近隣の領域をスキャンし、その周囲のエリアを探索します。
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合発電
|
compound-energy=複合発電
|
||||||
compound-energy-1=複合発電
|
compound-energy-1=複合発電
|
||||||
@@ -523,9 +559,16 @@ compound-energy-5=クリーンで燃料が尽きることのない発電設備
|
|||||||
compound-energy-6=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
compound-energy-6=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
||||||
compound-energy-7=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
compound-energy-7=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
||||||
|
|
||||||
|
[modifier-description]
|
||||||
|
gun-turret-2-attack-bonus=ガンタレットダメージ: +__1__
|
||||||
|
gun-turret-3-attack-bonus=ガンタレットダメージ: +__1__
|
||||||
|
flamethrower-turret-2-attack-bonus=火炎放射タレット ダメージ: +__1__
|
||||||
|
flamethrower-turret-3-attack-bonus=火炎放射タレット ダメージ: +__1__
|
||||||
|
|
||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-EN=エネルギー
|
PHI-EN=エネルギー
|
||||||
PHI-MB=メガベース
|
PHI-MB=メガベース
|
||||||
|
PHI-WE=軍事
|
||||||
PHI-EN-SOLAR-TIER=ソーラーパネル
|
PHI-EN-SOLAR-TIER=ソーラーパネル
|
||||||
PHI-EN-STEAM-TIER=蒸気機関
|
PHI-EN-STEAM-TIER=蒸気機関
|
||||||
PHI-EN-NUCLEAR-TIER=原子炉
|
PHI-EN-NUCLEAR-TIER=原子炉
|
||||||
@@ -536,6 +579,10 @@ PHI-MB-CENTRIFUGE-TIER=遠心分離機
|
|||||||
PHI-MB-LAB-TIER=研究所
|
PHI-MB-LAB-TIER=研究所
|
||||||
PHI-MB-MINING-TIER=電動掘削機
|
PHI-MB-MINING-TIER=電動掘削機
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=宇宙組立機
|
PHI-MB-SE-ASSEMBLING-TIER=宇宙組立機
|
||||||
|
PHI-WE-LASER-TIER=レーザータレット
|
||||||
|
PHI-WE-FLAME-TIER=火炎放射タレット
|
||||||
|
PHI-WE-GUN-TIER=ガンタレット
|
||||||
|
PHI-WE-RADAR-TIER=レーダー
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1
|
PHI-EN-SOLAR-TIER=デフォルト 8 ; 止める 1
|
||||||
@@ -548,3 +595,7 @@ PHI-MB-CENTRIFUGE-TIER=デフォルト 3 ; 止める 1
|
|||||||
PHI-MB-LAB-TIER=デフォルト 3 ; 止める 1
|
PHI-MB-LAB-TIER=デフォルト 3 ; 止める 1
|
||||||
PHI-MB-MINING-TIER=デフォルト 3 ; 止める 1
|
PHI-MB-MINING-TIER=デフォルト 3 ; 止める 1
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=デフォルト 3 ; 止める 1
|
PHI-MB-SE-ASSEMBLING-TIER=デフォルト 3 ; 止める 1
|
||||||
|
PHI-WE-LASER-TIER=デフォルト 3 ; 止める 1
|
||||||
|
PHI-WE-FLAME-TIER=デフォルト 3 ; 止める 1
|
||||||
|
PHI-WE-GUN-TIER=デフォルト 3 ; 止める 1
|
||||||
|
PHI-WE-RADAR-TIER=デフォルト 3 ; 止める 1
|
||||||
|
|||||||
@@ -168,6 +168,18 @@ se-space-telescope-xray-3=X射線望遠鏡 3
|
|||||||
se-space-science-lab-2=太空科學實驗室 2
|
se-space-science-lab-2=太空科學實驗室 2
|
||||||
se-space-science-lab-3=太空科學實驗室 3
|
se-space-science-lab-3=太空科學實驗室 3
|
||||||
|
|
||||||
|
laser-turret-2=雷射炮塔 2
|
||||||
|
laser-turret-3=雷射炮塔 3
|
||||||
|
|
||||||
|
gun-turret-2=機槍炮塔 2
|
||||||
|
gun-turret-3=機槍炮塔 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火焰噴射器 2
|
||||||
|
flamethrower-turret-3=火焰噴射器 3
|
||||||
|
|
||||||
|
radar-2=雷達 2
|
||||||
|
radar-3=雷達 3
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-2=蓄電池 2
|
accumulator-2=蓄電池 2
|
||||||
accumulator-3=蓄電池 3
|
accumulator-3=蓄電池 3
|
||||||
@@ -338,6 +350,18 @@ se-space-telescope-xray-3=X射線望遠鏡 3
|
|||||||
se-space-science-lab-2=太空科學實驗室 2
|
se-space-science-lab-2=太空科學實驗室 2
|
||||||
se-space-science-lab-3=太空科學實驗室 3
|
se-space-science-lab-3=太空科學實驗室 3
|
||||||
|
|
||||||
|
laser-turret-2=雷射炮塔 2
|
||||||
|
laser-turret-3=雷射炮塔 3
|
||||||
|
|
||||||
|
gun-turret-2=機槍炮塔 2
|
||||||
|
gun-turret-3=機槍炮塔 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火焰噴射器 2
|
||||||
|
flamethrower-turret-3=火焰噴射器 3
|
||||||
|
|
||||||
|
radar-2=雷達 2
|
||||||
|
radar-3=雷達 3
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
@@ -503,6 +527,18 @@ se-space-telescope-xray-3=X射線會被大氣層阻擋,這個強大的望遠
|
|||||||
se-space-science-lab-2=使用高級研究包進行研究,僅可在太空中使用。
|
se-space-science-lab-2=使用高級研究包進行研究,僅可在太空中使用。
|
||||||
se-space-science-lab-3=使用高級研究包進行研究,僅可在太空中使用。
|
se-space-science-lab-3=使用高級研究包進行研究,僅可在太空中使用。
|
||||||
|
|
||||||
|
laser-turret-2=僅需電力即可運轉的先進防禦工事。
|
||||||
|
laser-turret-3=僅需電力即可運轉的先進防禦工事。
|
||||||
|
|
||||||
|
gun-turret-2=基礎防禦設施,須裝填彈匣。
|
||||||
|
gun-turret-3=基礎防禦設施,須裝填彈匣。
|
||||||
|
|
||||||
|
flamethrower-turret-2=噴射燃燒的油料燒灼敵人。
|
||||||
|
flamethrower-turret-3=噴射燃燒的油料燒灼敵人。
|
||||||
|
|
||||||
|
radar-2=掃描並顯示附近的未知區域。
|
||||||
|
radar-3=掃描並顯示附近的未知區域。
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合發電
|
compound-energy=複合發電
|
||||||
compound-energy-1=複合發電
|
compound-energy-1=複合發電
|
||||||
@@ -523,9 +559,16 @@ compound-energy-5=取之不盡的電力來源,但在夜晚派不上用場。
|
|||||||
compound-energy-6=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy-6=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
compound-energy-7=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy-7=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
|
|
||||||
|
[modifier-description]
|
||||||
|
gun-turret-2-attack-bonus=機槍炮塔傷害:+__1__
|
||||||
|
gun-turret-3-attack-bonus=機槍炮塔傷害:+__1__
|
||||||
|
flamethrower-turret-2-attack-bonus=火焰噴射炮塔傷害:+__1__
|
||||||
|
flamethrower-turret-3-attack-bonus=火焰噴射炮塔傷害:+__1__
|
||||||
|
|
||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-EN=能量
|
PHI-EN=能量
|
||||||
PHI-MB=大型基地
|
PHI-MB=大型基地
|
||||||
|
PHI-WE=軍事
|
||||||
PHI-EN-SOLAR-TIER=太陽能板
|
PHI-EN-SOLAR-TIER=太陽能板
|
||||||
PHI-EN-STEAM-TIER=蒸汽發電機
|
PHI-EN-STEAM-TIER=蒸汽發電機
|
||||||
PHI-EN-NUCLEAR-TIER=核能反應爐
|
PHI-EN-NUCLEAR-TIER=核能反應爐
|
||||||
@@ -536,6 +579,10 @@ PHI-MB-CENTRIFUGE-TIER=離心機
|
|||||||
PHI-MB-LAB-TIER=實驗室
|
PHI-MB-LAB-TIER=實驗室
|
||||||
PHI-MB-MINING-TIER=電能採礦機
|
PHI-MB-MINING-TIER=電能採礦機
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=太空組裝機
|
PHI-MB-SE-ASSEMBLING-TIER=太空組裝機
|
||||||
|
PHI-WE-LASER-TIER=雷射炮塔
|
||||||
|
PHI-WE-FLAME-TIER=火焰噴射器
|
||||||
|
PHI-WE-GUN-TIER=機槍炮塔
|
||||||
|
PHI-WE-RADAR-TIER=雷達
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||||
@@ -548,3 +595,7 @@ PHI-MB-CENTRIFUGE-TIER=預設 3 ; 停用 1
|
|||||||
PHI-MB-LAB-TIER=預設 3 ; 停用 1
|
PHI-MB-LAB-TIER=預設 3 ; 停用 1
|
||||||
PHI-MB-MINING-TIER=預設 3 ; 停用 1
|
PHI-MB-MINING-TIER=預設 3 ; 停用 1
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=預設 3 ; 停用 1
|
PHI-MB-SE-ASSEMBLING-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-LASER-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-FLAME-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-GUN-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-RADAR-TIER=預設 3 ; 停用 1
|
||||||
|
|||||||
@@ -168,6 +168,18 @@ se-space-telescope-xray-3=X射線望遠鏡 3
|
|||||||
se-space-science-lab-2=太空科學實驗室 2
|
se-space-science-lab-2=太空科學實驗室 2
|
||||||
se-space-science-lab-3=太空科學實驗室 3
|
se-space-science-lab-3=太空科學實驗室 3
|
||||||
|
|
||||||
|
laser-turret-2=雷射炮塔 2
|
||||||
|
laser-turret-3=雷射炮塔 3
|
||||||
|
|
||||||
|
gun-turret-2=機槍炮塔 2
|
||||||
|
gun-turret-3=機槍炮塔 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火焰噴射器 2
|
||||||
|
flamethrower-turret-3=火焰噴射器 3
|
||||||
|
|
||||||
|
radar-2=雷達 2
|
||||||
|
radar-3=雷達 3
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-2=蓄電池 2
|
accumulator-2=蓄電池 2
|
||||||
accumulator-3=蓄電池 3
|
accumulator-3=蓄電池 3
|
||||||
@@ -338,6 +350,18 @@ se-space-telescope-xray-3=X射線望遠鏡 3
|
|||||||
se-space-science-lab-2=太空科學實驗室 2
|
se-space-science-lab-2=太空科學實驗室 2
|
||||||
se-space-science-lab-3=太空科學實驗室 3
|
se-space-science-lab-3=太空科學實驗室 3
|
||||||
|
|
||||||
|
laser-turret-2=雷射炮塔 2
|
||||||
|
laser-turret-3=雷射炮塔 3
|
||||||
|
|
||||||
|
gun-turret-2=機槍炮塔 2
|
||||||
|
gun-turret-3=機槍炮塔 3
|
||||||
|
|
||||||
|
flamethrower-turret-2=火焰噴射器 2
|
||||||
|
flamethrower-turret-3=火焰噴射器 3
|
||||||
|
|
||||||
|
radar-2=雷達 2
|
||||||
|
radar-3=雷達 3
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
@@ -503,6 +527,18 @@ se-space-telescope-xray-3=X射線會被大氣層阻擋,這個強大的望遠
|
|||||||
se-space-science-lab-2=使用高級研究包進行研究,僅可在太空中使用。
|
se-space-science-lab-2=使用高級研究包進行研究,僅可在太空中使用。
|
||||||
se-space-science-lab-3=使用高級研究包進行研究,僅可在太空中使用。
|
se-space-science-lab-3=使用高級研究包進行研究,僅可在太空中使用。
|
||||||
|
|
||||||
|
laser-turret-2=僅需電力即可運轉的先進防禦工事。
|
||||||
|
laser-turret-3=僅需電力即可運轉的先進防禦工事。
|
||||||
|
|
||||||
|
gun-turret-2=基礎防禦設施,須裝填彈匣。
|
||||||
|
gun-turret-3=基礎防禦設施,須裝填彈匣。
|
||||||
|
|
||||||
|
flamethrower-turret-2=噴射燃燒的油料燒灼敵人。
|
||||||
|
flamethrower-turret-3=噴射燃燒的油料燒灼敵人。
|
||||||
|
|
||||||
|
radar-2=掃描並顯示附近的未知區域。
|
||||||
|
radar-3=掃描並顯示附近的未知區域。
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合發電
|
compound-energy=複合發電
|
||||||
compound-energy-1=複合發電
|
compound-energy-1=複合發電
|
||||||
@@ -523,9 +559,16 @@ compound-energy-5=取之不盡的電力來源,但在夜晚派不上用場。
|
|||||||
compound-energy-6=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy-6=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
compound-energy-7=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy-7=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
|
|
||||||
|
[modifier-description]
|
||||||
|
gun-turret-2-attack-bonus=機槍炮塔傷害:+__1__
|
||||||
|
gun-turret-3-attack-bonus=機槍炮塔傷害:+__1__
|
||||||
|
flamethrower-turret-2-attack-bonus=火焰噴射炮塔傷害:+__1__
|
||||||
|
flamethrower-turret-3-attack-bonus=火焰噴射炮塔傷害:+__1__
|
||||||
|
|
||||||
[mod-setting-name]
|
[mod-setting-name]
|
||||||
PHI-EN=能量
|
PHI-EN=能量
|
||||||
PHI-MB=大型基地
|
PHI-MB=大型基地
|
||||||
|
PHI-WE=軍事
|
||||||
PHI-EN-SOLAR-TIER=太陽能板
|
PHI-EN-SOLAR-TIER=太陽能板
|
||||||
PHI-EN-STEAM-TIER=蒸汽發電機
|
PHI-EN-STEAM-TIER=蒸汽發電機
|
||||||
PHI-EN-NUCLEAR-TIER=核能反應爐
|
PHI-EN-NUCLEAR-TIER=核能反應爐
|
||||||
@@ -536,6 +579,10 @@ PHI-MB-CENTRIFUGE-TIER=離心機
|
|||||||
PHI-MB-LAB-TIER=實驗室
|
PHI-MB-LAB-TIER=實驗室
|
||||||
PHI-MB-MINING-TIER=電能採礦機
|
PHI-MB-MINING-TIER=電能採礦機
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=太空組裝機
|
PHI-MB-SE-ASSEMBLING-TIER=太空組裝機
|
||||||
|
PHI-WE-LASER-TIER=雷射炮塔
|
||||||
|
PHI-WE-FLAME-TIER=火焰噴射器
|
||||||
|
PHI-WE-GUN-TIER=機槍炮塔
|
||||||
|
PHI-WE-RADAR-TIER=雷達
|
||||||
|
|
||||||
[mod-setting-description]
|
[mod-setting-description]
|
||||||
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
PHI-EN-SOLAR-TIER=預設 8 ; 停用 1
|
||||||
@@ -548,3 +595,7 @@ PHI-MB-CENTRIFUGE-TIER=預設 3 ; 停用 1
|
|||||||
PHI-MB-LAB-TIER=預設 3 ; 停用 1
|
PHI-MB-LAB-TIER=預設 3 ; 停用 1
|
||||||
PHI-MB-MINING-TIER=預設 3 ; 停用 1
|
PHI-MB-MINING-TIER=預設 3 ; 停用 1
|
||||||
PHI-MB-SE-ASSEMBLING-TIER=預設 3 ; 停用 1
|
PHI-MB-SE-ASSEMBLING-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-LASER-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-FLAME-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-GUN-TIER=預設 3 ; 停用 1
|
||||||
|
PHI-WE-RADAR-TIER=預設 3 ; 停用 1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ for _, force in pairs(game.forces) do
|
|||||||
|
|
||||||
for _, v in pairs(items['item']) do
|
for _, v in pairs(items['item']) do
|
||||||
if v.enabled then
|
if v.enabled then
|
||||||
if (v.type == 'solar-panel') or (v.type == 'accumulator') or (v.type == 'boiler') or (v.type == 'steam-engine') or (v.type == 'nuclear-reactor') or (v.type == 'heat-pipe') or (v.type == 'heat-exchanger') or (v.type == 'steam-turbine') then
|
if (v.tech == 'compound-energy') then
|
||||||
for j=v.min, v.max, 1 do
|
for j=v.min, v.max, 1 do
|
||||||
if technologies['compound-energy-' .. j] ~= nil then
|
if technologies['compound-energy-' .. j] ~= nil then
|
||||||
if technologies['compound-energy-' .. j].researched then
|
if technologies['compound-energy-' .. j].researched then
|
||||||
@@ -17,6 +17,7 @@ for _, force in pairs(game.forces) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
if technologies[v.tech] then
|
if technologies[v.tech] then
|
||||||
if technologies[v.tech].researched then
|
if technologies[v.tech].researched then
|
||||||
@@ -26,6 +27,20 @@ for _, force in pairs(game.forces) do
|
|||||||
recipes[v.name .. '-' .. j].reload()
|
recipes[v.name .. '-' .. j].reload()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if v.type == 'ammo-turret' or v.type == 'fluid-turret' then
|
||||||
|
for i=1, #items['research_modifier'][v.type], 1 do
|
||||||
|
for j=1, #data.raw.technology[items['research_modifier'][v.type][i]].effects, 1 do
|
||||||
|
if (data.raw.technology[items['research_modifier'][v.type][i]].effects[j].type == 'turret-attack') then
|
||||||
|
if (data.raw.technology[items['research_modifier'][v.type][i]].effects[j].turret_id == v.ref_name) then
|
||||||
|
for j=v.min, v.max, 1 do
|
||||||
|
table.insert(data.raw.technology[items['research_modifier'][v.type][i]].effects, {type='turret-attack', turret_id=v.name .. '-' .. j, modifier=data.raw.technology[items['research_modifier'][v.type][i]].effects[j].modifier})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ local research_modifier = {
|
|||||||
-- entity
|
-- entity
|
||||||
local function EE(source, tier)
|
local function EE(source, tier)
|
||||||
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
||||||
|
|
||||||
item.name = source.name .. '-' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.minable.result = source.name .. '-' .. tier
|
item.minable.result = source.name .. '-' .. tier
|
||||||
item.max_health = item.max_health * tier
|
item.max_health = item.max_health * tier
|
||||||
|
|||||||
Reference in New Issue
Block a user