mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 1.2.0
|
||||||
|
Date: 2023-05-09
|
||||||
|
|
||||||
|
Added:
|
||||||
|
- Renamed Solar Panel from using like solar-panel-mk2 into solar-panel-2
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Date: 2022-12-01
|
Date: 2022-12-01
|
||||||
|
|||||||
@@ -14,6 +14,21 @@ local items = {
|
|||||||
min = 2,
|
min = 2,
|
||||||
max = 8,
|
max = 8,
|
||||||
base = 5
|
base = 5
|
||||||
|
},
|
||||||
|
['boiler'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'boiler',
|
||||||
|
name = 'boiler',
|
||||||
|
min = 2,
|
||||||
|
max = 8
|
||||||
|
},
|
||||||
|
['steam-engine'] = {
|
||||||
|
enabled = true,
|
||||||
|
type = 'accumulator',
|
||||||
|
name = 'accumulator',
|
||||||
|
min = 2,
|
||||||
|
max = 8,
|
||||||
|
base = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ local items = require 'config'
|
|||||||
-- entity
|
-- entity
|
||||||
local function EE(source, tier)
|
local function EE(source, tier)
|
||||||
local item = table.deepcopy(data.raw[source.type][source.name])
|
local item = table.deepcopy(data.raw[source.type][source.name])
|
||||||
item.name = source.name .. '-mk' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.minable.result = source.name .. '-mk' .. tier
|
item.minable.result = source.name .. '-' .. tier
|
||||||
item.max_health = 200 * (2 ^ (tier - 1))
|
item.max_health = 200 * (2 ^ (tier - 1))
|
||||||
item.picture.layers[1].filename = graphics_location .. source.name .. '-e.png'
|
item.picture.layers[1].filename = graphics_location .. source.name .. '-e.png'
|
||||||
item.picture.layers[1].hr_version.filename = graphics_location .. source.name ..'-eh.png'
|
item.picture.layers[1].hr_version.filename = graphics_location .. source.name ..'-eh.png'
|
||||||
@@ -26,12 +26,12 @@ local function EE(source, tier)
|
|||||||
item.discharge_animation.layers[1].layers[1].tint = {r = 1, g = 1, b = 1, a = 1}
|
item.discharge_animation.layers[1].layers[1].tint = {r = 1, g = 1, b = 1, a = 1}
|
||||||
item.discharge_animation.layers[1].layers[1].hr_version.filename = item.picture.layers[1].hr_version.filename
|
item.discharge_animation.layers[1].layers[1].hr_version.filename = item.picture.layers[1].hr_version.filename
|
||||||
item.discharge_animation.layers[1].layers[1].hr_version.tint = {r = 1, g = 1, b = 1, a = 1}
|
item.discharge_animation.layers[1].layers[1].hr_version.tint = {r = 1, g = 1, b = 1, a = 1}
|
||||||
else
|
elseif (source.type == 'solar-panel') then
|
||||||
item.production = (source.base * (4 ^ (tier - 1))) .. 'kW'
|
item.production = (source.base * (4 ^ (tier - 1))) .. 'kW'
|
||||||
end
|
end
|
||||||
|
|
||||||
if (tier <= 7) then
|
if (tier <= source.max - 1) then
|
||||||
item.next_upgrade = source.name .. '-mk' .. (tier + 1)
|
item.next_upgrade = source.name .. '-' .. (tier + 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
data:extend({item})
|
data:extend({item})
|
||||||
@@ -40,8 +40,8 @@ end
|
|||||||
-- item
|
-- item
|
||||||
local function EI(source, tier)
|
local function EI(source, tier)
|
||||||
local item = table.deepcopy(data.raw.item[source.type])
|
local item = table.deepcopy(data.raw.item[source.type])
|
||||||
item.name = source.name .. '-mk' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.place_result = source.name .. '-mk' .. tier
|
item.place_result = source.name .. '-' .. tier
|
||||||
item.max_health = 200 * (2 ^ (tier - 1))
|
item.max_health = 200 * (2 ^ (tier - 1))
|
||||||
item.subgroup = 'energy'
|
item.subgroup = 'energy'
|
||||||
item.stack_size = 50
|
item.stack_size = 50
|
||||||
@@ -55,17 +55,17 @@ end
|
|||||||
local function ER(source, tier)
|
local function ER(source, tier)
|
||||||
local na = source.name
|
local na = source.name
|
||||||
|
|
||||||
if (tier >= 3) then
|
if tier > 2 then
|
||||||
na = na .. '-mk' .. (tier - 1)
|
na = na .. '-' .. (tier - 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
data:extend({{
|
data:extend({{
|
||||||
type = 'recipe',
|
type = 'recipe',
|
||||||
name = source.name .. '-mk' .. tier,
|
name = source.name .. '-' .. tier,
|
||||||
energy_required = 2,
|
energy_required = 2,
|
||||||
enabled = false,
|
enabled = false,
|
||||||
ingredients = {{na, 4}},
|
ingredients = {{na, 4}},
|
||||||
result = source.name .. '-mk' .. tier,
|
result = source.name .. '-' .. tier,
|
||||||
}})
|
}})
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -86,11 +86,11 @@ local function ET(tier)
|
|||||||
effects = {
|
effects = {
|
||||||
{
|
{
|
||||||
type = 'unlock-recipe',
|
type = 'unlock-recipe',
|
||||||
recipe = 'solar-panel-mk' .. tier
|
recipe = 'solar-panel-' .. tier
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = 'unlock-recipe',
|
type = 'unlock-recipe',
|
||||||
recipe = 'accumulator-mk' .. tier
|
recipe = 'accumulator-' .. tier
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
prerequisites = prereq,
|
prerequisites = prereq,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-EN",
|
"name": "PHI-EN",
|
||||||
"version": "1.1.9",
|
"version": "1.2.0",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"date": "2023-05-01",
|
"date": "2023-05-08",
|
||||||
"title": "Phidias Energy",
|
"title": "Phidias Energy",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
@@ -1,53 +1,53 @@
|
|||||||
[item-name]
|
[item-name]
|
||||||
accumulator-mk2=Accumulator MK2
|
accumulator-2=Accumulator 2
|
||||||
accumulator-mk3=Accumulator MK3
|
accumulator-3=Accumulator 3
|
||||||
accumulator-mk4=Accumulator MK4
|
accumulator-4=Accumulator 4
|
||||||
accumulator-mk5=Accumulator MK5
|
accumulator-5=Accumulator 5
|
||||||
accumulator-mk6=Accumulator MK6
|
accumulator-6=Accumulator 6
|
||||||
accumulator-mk7=Accumulator MK7
|
accumulator-7=Accumulator 7
|
||||||
accumulator-mk8=Accumulator MK8
|
accumulator-8=Accumulator 8
|
||||||
|
|
||||||
solar-panel-mk2=Solar Panel MK2
|
solar-panel-2=Solar Panel 2
|
||||||
solar-panel-mk3=Solar Panel MK3
|
solar-panel-3=Solar Panel 3
|
||||||
solar-panel-mk4=Solar Panel MK4
|
solar-panel-4=Solar Panel 4
|
||||||
solar-panel-mk5=Solar Panel MK5
|
solar-panel-5=Solar Panel 5
|
||||||
solar-panel-mk6=Solar Panel MK6
|
solar-panel-6=Solar Panel 6
|
||||||
solar-panel-mk7=Solar Panel MK7
|
solar-panel-7=Solar Panel 7
|
||||||
solar-panel-mk8=Solar Panel MK8
|
solar-panel-8=Solar Panel 8
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-mk2=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-mk3=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-mk4=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-4=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
accumulator-mk5=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-5=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
accumulator-mk6=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-6=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
accumulator-mk7=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-7=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
accumulator-mk8=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
accumulator-8=Stores a limited amount of energy when available production exceeds demand, and releases it in the opposite case.
|
||||||
|
|
||||||
solar-panel-mk2=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-2=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk3=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-3=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk4=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-4=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk5=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-5=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk6=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-6=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk7=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-7=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
solar-panel-mk8=During daytime it produces 100% of the power output which drops to 0% at night.
|
solar-panel-8=During daytime it produces 100% of the power output which drops to 0% at night.
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-mk2=Accumulator MK2
|
accumulator-2=Accumulator 2
|
||||||
accumulator-mk3=Accumulator MK3
|
accumulator-3=Accumulator 3
|
||||||
accumulator-mk4=Accumulator MK4
|
accumulator-4=Accumulator 4
|
||||||
accumulator-mk5=Accumulator MK5
|
accumulator-5=Accumulator 5
|
||||||
accumulator-mk6=Accumulator MK6
|
accumulator-6=Accumulator 6
|
||||||
accumulator-mk7=Accumulator MK7
|
accumulator-7=Accumulator 7
|
||||||
accumulator-mk8=Accumulator MK8
|
accumulator-8=Accumulator 8
|
||||||
|
|
||||||
solar-panel-mk2=Solar Panel MK2
|
solar-panel-2=Solar Panel 2
|
||||||
solar-panel-mk3=Solar Panel MK3
|
solar-panel-3=Solar Panel 3
|
||||||
solar-panel-mk4=Solar Panel MK4
|
solar-panel-4=Solar Panel 4
|
||||||
solar-panel-mk5=Solar Panel MK5
|
solar-panel-5=Solar Panel 5
|
||||||
solar-panel-mk6=Solar Panel MK6
|
solar-panel-6=Solar Panel 6
|
||||||
solar-panel-mk7=Solar Panel MK7
|
solar-panel-7=Solar Panel 7
|
||||||
solar-panel-mk8=Solar Panel MK8
|
solar-panel-8=Solar Panel 8
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=Compound Energy
|
compound-energy=Compound Energy
|
||||||
|
|||||||
@@ -1,63 +1,63 @@
|
|||||||
[item-name]
|
[item-name]
|
||||||
accumulator-mk2=蓄電池2代目
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代目
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代目
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代目
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代目
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代目
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代目
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=ソーラーパネル2代目
|
solar-panel-2=ソーラーパネル 2
|
||||||
solar-panel-mk3=ソーラーパネル3代目
|
solar-panel-3=ソーラーパネル 3
|
||||||
solar-panel-mk4=ソーラーパネル4代目
|
solar-panel-4=ソーラーパネル 4
|
||||||
solar-panel-mk5=ソーラーパネル5代目
|
solar-panel-5=ソーラーパネル 5
|
||||||
solar-panel-mk6=ソーラーパネル6代目
|
solar-panel-6=ソーラーパネル 6
|
||||||
solar-panel-mk7=ソーラーパネル7代目
|
solar-panel-7=ソーラーパネル 7
|
||||||
solar-panel-mk8=ソーラーパネル8代目
|
solar-panel-8=ソーラーパネル 8
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-mk2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-2=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-3=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk4=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-4=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk5=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-5=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk6=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-6=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk7=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-7=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
accumulator-mk8=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
accumulator-8=供給可能な電力が需要量を上回っている時に電力を貯蔵します。需要量が上回っている場合は放電します。
|
||||||
|
|
||||||
solar-panel-mk2=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-2=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk3=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-3=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk4=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-4=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk5=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-5=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk6=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-6=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk7=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-7=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
solar-panel-mk8=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
solar-panel-8=日中は100%の出力を生成しますが、夜間は0%に低下します。
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-mk2=蓄電池2代目
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代目
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代目
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代目
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代目
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代目
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代目
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=ソーラーパネル2代目
|
solar-panel-2=ソーラーパネル 2
|
||||||
solar-panel-mk3=ソーラーパネル3代目
|
solar-panel-3=ソーラーパネル 3
|
||||||
solar-panel-mk4=ソーラーパネル4代目
|
solar-panel-4=ソーラーパネル 4
|
||||||
solar-panel-mk5=ソーラーパネル5代目
|
solar-panel-5=ソーラーパネル 5
|
||||||
solar-panel-mk6=ソーラーパネル6代目
|
solar-panel-6=ソーラーパネル 6
|
||||||
solar-panel-mk7=ソーラーパネル7代目
|
solar-panel-7=ソーラーパネル 7
|
||||||
solar-panel-mk8=ソーラーパネル8代目
|
solar-panel-8=ソーラーパネル 8
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合発電
|
compound-energy=複合発電
|
||||||
compound-energy-1=複合発電
|
compound-energy-1=複合発電
|
||||||
compound-energy-2=複合発電2
|
compound-energy-2=複合発電 2
|
||||||
compound-energy-3=複合発電3
|
compound-energy-3=複合発電 3
|
||||||
compound-energy-4=複合発電4
|
compound-energy-4=複合発電 4
|
||||||
compound-energy-5=複合発電5
|
compound-energy-5=複合発電 5
|
||||||
compound-energy-6=複合発電6
|
compound-energy-6=複合発電 6
|
||||||
compound-energy-7=複合発電7
|
compound-energy-7=複合発電 7
|
||||||
|
|
||||||
[technology-description]
|
[technology-description]
|
||||||
compound-energy=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
compound-energy=クリーンで燃料が尽きることのない発電設備。夜間は発電しません。
|
||||||
|
|||||||
@@ -1,63 +1,63 @@
|
|||||||
[item-name]
|
[item-name]
|
||||||
accumulator-mk2=蓄電池2代
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=太陽能板2代
|
solar-panel-2=太陽能板 2
|
||||||
solar-panel-mk3=太陽能板3代
|
solar-panel-3=太陽能板 3
|
||||||
solar-panel-mk4=太陽能板4代
|
solar-panel-4=太陽能板 4
|
||||||
solar-panel-mk5=太陽能板5代
|
solar-panel-5=太陽能板 5
|
||||||
solar-panel-mk6=太陽能板6代
|
solar-panel-6=太陽能板 6
|
||||||
solar-panel-mk7=太陽能板7代
|
solar-panel-7=太陽能板 7
|
||||||
solar-panel-mk8=太陽能板8代
|
solar-panel-8=太陽能板 8
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-mk2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk4=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-4=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk5=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-5=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk6=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-6=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk7=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-7=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk8=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-8=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
|
|
||||||
solar-panel-mk2=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-2=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk3=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-3=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk4=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-4=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk5=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-5=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk6=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-6=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk7=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-7=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk8=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-8=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-mk2=蓄電池2代
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=太陽能板2代
|
solar-panel-2=太陽能板 2
|
||||||
solar-panel-mk3=太陽能板3代
|
solar-panel-3=太陽能板 3
|
||||||
solar-panel-mk4=太陽能板4代
|
solar-panel-4=太陽能板 4
|
||||||
solar-panel-mk5=太陽能板5代
|
solar-panel-5=太陽能板 5
|
||||||
solar-panel-mk6=太陽能板6代
|
solar-panel-6=太陽能板 6
|
||||||
solar-panel-mk7=太陽能板7代
|
solar-panel-7=太陽能板 7
|
||||||
solar-panel-mk8=太陽能板8代
|
solar-panel-8=太陽能板 8
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合發電
|
compound-energy=複合發電
|
||||||
compound-energy-1=複合發電
|
compound-energy-1=複合發電
|
||||||
compound-energy-2=複合發電2
|
compound-energy-2=複合發電 2
|
||||||
compound-energy-3=複合發電3
|
compound-energy-3=複合發電 3
|
||||||
compound-energy-4=複合發電4
|
compound-energy-4=複合發電 4
|
||||||
compound-energy-5=複合發電5
|
compound-energy-5=複合發電 5
|
||||||
compound-energy-6=複合發電6
|
compound-energy-6=複合發電 6
|
||||||
compound-energy-7=複合發電7
|
compound-energy-7=複合發電 7
|
||||||
|
|
||||||
[technology-description]
|
[technology-description]
|
||||||
compound-energy=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
|
|||||||
@@ -1,63 +1,63 @@
|
|||||||
[item-name]
|
[item-name]
|
||||||
accumulator-mk2=蓄電池2代
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=太陽能板2代
|
solar-panel-2=太陽能板 2
|
||||||
solar-panel-mk3=太陽能板3代
|
solar-panel-3=太陽能板 3
|
||||||
solar-panel-mk4=太陽能板4代
|
solar-panel-4=太陽能板 4
|
||||||
solar-panel-mk5=太陽能板5代
|
solar-panel-5=太陽能板 5
|
||||||
solar-panel-mk6=太陽能板6代
|
solar-panel-6=太陽能板 6
|
||||||
solar-panel-mk7=太陽能板7代
|
solar-panel-7=太陽能板 7
|
||||||
solar-panel-mk8=太陽能板8代
|
solar-panel-8=太陽能板 8
|
||||||
|
|
||||||
[entity-description]
|
[entity-description]
|
||||||
accumulator-mk2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-2=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-3=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk4=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-4=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk5=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-5=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk6=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-6=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk7=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-7=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
accumulator-mk8=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
accumulator-8=在發電超出用電量時,可儲存有限電力;反之則會釋放電力。
|
||||||
|
|
||||||
solar-panel-mk2=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-2=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk3=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-3=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk4=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-4=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk5=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-5=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk6=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-6=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk7=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-7=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
solar-panel-mk8=白天可達 100% 發電功率,但晚上降至 0%。
|
solar-panel-8=白天可達 100% 發電功率,但晚上降至 0%。
|
||||||
|
|
||||||
[entity-name]
|
[entity-name]
|
||||||
accumulator-mk2=蓄電池2代
|
accumulator-2=蓄電池 2
|
||||||
accumulator-mk3=蓄電池3代
|
accumulator-3=蓄電池 3
|
||||||
accumulator-mk4=蓄電池4代
|
accumulator-4=蓄電池 4
|
||||||
accumulator-mk5=蓄電池5代
|
accumulator-5=蓄電池 5
|
||||||
accumulator-mk6=蓄電池6代
|
accumulator-6=蓄電池 6
|
||||||
accumulator-mk7=蓄電池7代
|
accumulator-7=蓄電池 7
|
||||||
accumulator-mk8=蓄電池8代
|
accumulator-8=蓄電池 8
|
||||||
|
|
||||||
solar-panel-mk2=太陽能板2代
|
solar-panel-2=太陽能板 2
|
||||||
solar-panel-mk3=太陽能板3代
|
solar-panel-3=太陽能板 3
|
||||||
solar-panel-mk4=太陽能板4代
|
solar-panel-4=太陽能板 4
|
||||||
solar-panel-mk5=太陽能板5代
|
solar-panel-5=太陽能板 5
|
||||||
solar-panel-mk6=太陽能板6代
|
solar-panel-6=太陽能板 6
|
||||||
solar-panel-mk7=太陽能板7代
|
solar-panel-7=太陽能板 7
|
||||||
solar-panel-mk8=太陽能板8代
|
solar-panel-8=太陽能板 8
|
||||||
|
|
||||||
[technology-name]
|
[technology-name]
|
||||||
compound-energy=複合發電
|
compound-energy=複合發電
|
||||||
compound-energy-1=複合發電
|
compound-energy-1=複合發電
|
||||||
compound-energy-2=複合發電2
|
compound-energy-2=複合發電 2
|
||||||
compound-energy-3=複合發電3
|
compound-energy-3=複合發電 3
|
||||||
compound-energy-4=複合發電4
|
compound-energy-4=複合發電 4
|
||||||
compound-energy-5=複合發電5
|
compound-energy-5=複合發電 5
|
||||||
compound-energy-6=複合發電6
|
compound-energy-6=複合發電 6
|
||||||
compound-energy-7=複合發電7
|
compound-energy-7=複合發電 7
|
||||||
|
|
||||||
[technology-description]
|
[technology-description]
|
||||||
compound-energy=取之不盡的電力來源,但在夜晚派不上用場。
|
compound-energy=取之不盡的電力來源,但在夜晚派不上用場。
|
||||||
|
|||||||
36
PHI-EN/migrations/1.1.9.json
Normal file
36
PHI-EN/migrations/1.1.9.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"entity":
|
||||||
|
[
|
||||||
|
["solar-panel-mk2", "solar-panel-2"],
|
||||||
|
["solar-panel-mk3", "solar-panel-3"],
|
||||||
|
["solar-panel-mk4", "solar-panel-4"],
|
||||||
|
["solar-panel-mk5", "solar-panel-5"],
|
||||||
|
["solar-panel-mk6", "solar-panel-6"],
|
||||||
|
["solar-panel-mk7", "solar-panel-7"],
|
||||||
|
["solar-panel-mk8", "solar-panel-8"],
|
||||||
|
["accumulator-mk2", "accumulator-2"],
|
||||||
|
["accumulator-mk3", "accumulator-3"],
|
||||||
|
["accumulator-mk4", "accumulator-4"],
|
||||||
|
["accumulator-mk5", "accumulator-5"],
|
||||||
|
["accumulator-mk6", "accumulator-6"],
|
||||||
|
["accumulator-mk7", "accumulator-7"],
|
||||||
|
["accumulator-mk8", "accumulator-8"]
|
||||||
|
],
|
||||||
|
"item":
|
||||||
|
[
|
||||||
|
["solar-panel-mk2", "solar-panel-2"],
|
||||||
|
["solar-panel-mk3", "solar-panel-3"],
|
||||||
|
["solar-panel-mk4", "solar-panel-4"],
|
||||||
|
["solar-panel-mk5", "solar-panel-5"],
|
||||||
|
["solar-panel-mk6", "solar-panel-6"],
|
||||||
|
["solar-panel-mk7", "solar-panel-7"],
|
||||||
|
["solar-panel-mk8", "solar-panel-8"],
|
||||||
|
["accumulator-mk2", "accumulator-2"],
|
||||||
|
["accumulator-mk3", "accumulator-3"],
|
||||||
|
["accumulator-mk4", "accumulator-4"],
|
||||||
|
["accumulator-mk5", "accumulator-5"],
|
||||||
|
["accumulator-mk6", "accumulator-6"],
|
||||||
|
["accumulator-mk7", "accumulator-7"],
|
||||||
|
["accumulator-mk8", "accumulator-8"]
|
||||||
|
]
|
||||||
|
}
|
||||||
19
PHI-EN/migrations/migrations.lua
Normal file
19
PHI-EN/migrations/migrations.lua
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
local items = require '../config'
|
||||||
|
|
||||||
|
for _, force in pairs(game.forces) do
|
||||||
|
local technologies = force.technologies
|
||||||
|
local recipes = force.recipes
|
||||||
|
|
||||||
|
for _, v in pairs(items) do
|
||||||
|
if v.enabled then
|
||||||
|
for j=v.min, v.max, 1 do
|
||||||
|
if technologies['compound-energy-' .. j] ~= nil then
|
||||||
|
if technologies['compound-energy-' .. j].researched then
|
||||||
|
recipes[v.name .. '-' .. j].enabled = true
|
||||||
|
recipes[v.name .. '-' .. j].reload()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user