mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-30 20:01:40 +09:00
.
This commit is contained in:
@@ -1,16 +1,23 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 3.0.68
|
||||||
|
Date: 2025-03-06
|
||||||
|
|
||||||
|
Features:
|
||||||
|
- [CT] Additional signal of numbers and letter, by using the two set of signal icon before and after update.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.67
|
Version: 3.0.67
|
||||||
Date: 2025-03-05
|
Date: 2025-03-05
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- [SA] allow foundry in sa vanilla, with different set of recipe instead.
|
- [SA] Allow foundry in sa vanilla, with different set of recipe instead.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.66
|
Version: 3.0.66
|
||||||
Date: 2025-03-05
|
Date: 2025-03-05
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- [SA] some code clean up.
|
- [SA] Some code clean up.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.65
|
Version: 3.0.65
|
||||||
|
|||||||
@@ -494,28 +494,6 @@ if settings.startup['PHI-SA'].value then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-SA-RESTRICTION'].value and mods['space-age'] then
|
if settings.startup['PHI-SA-RESTRICTION'].value and mods['space-age'] then
|
||||||
local location = items['general']['graphics_location'] .. ((tonumber(mods['space-age']:match('(%d+)$') or 0) < 34 and 'signal-2') or 'signal-1') .. '/'
|
|
||||||
local nsg = {
|
|
||||||
['virtual-signal-number'] = true,
|
|
||||||
['virtual-signal-letter'] = true
|
|
||||||
}
|
|
||||||
local s = {}
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw['virtual-signal']) do
|
|
||||||
if nsg[v.subgroup] then
|
|
||||||
table.insert(s, {
|
|
||||||
type = 'virtual-signal',
|
|
||||||
name = v.name .. 'A',
|
|
||||||
icon = location .. v.name:gsub('-', '_') .. '.png',
|
|
||||||
subgroup = v.subgroup,
|
|
||||||
order = (v.subgroup == 'virtual-signal-number' and 'b[numbers]2-[' or 'c[letters]2-[') .. v.name:gsub('signal-', '') .. ']',
|
|
||||||
localised_name = {'phi-cl.combine', 'virtual-signal-name.' .. v.name, '(II)'}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
data:extend(s)
|
|
||||||
|
|
||||||
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
data.raw['character']['character']['mining_categories'] = {'basic-solid', 'hard-solid'}
|
||||||
|
|
||||||
for _, v in pairs({'heavy-oil', 'lava', 'ammoniacal-solution'}) do
|
for _, v in pairs({'heavy-oil', 'lava', 'ammoniacal-solution'}) do
|
||||||
@@ -1280,6 +1258,28 @@ if settings.startup['PHI-CT'].value then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-CT-UTILITY'].value then
|
if settings.startup['PHI-CT-UTILITY'].value then
|
||||||
|
local location = items['general']['graphics_location'] .. ((tonumber(mods['space-age']:match('(%d+)$') or 0) < 34 and 'signal-2') or 'signal-1') .. '/'
|
||||||
|
local nsg = {
|
||||||
|
['virtual-signal-number'] = true,
|
||||||
|
['virtual-signal-letter'] = true
|
||||||
|
}
|
||||||
|
local s = {}
|
||||||
|
|
||||||
|
for _, v in pairs(data.raw['virtual-signal']) do
|
||||||
|
if nsg[v.subgroup] then
|
||||||
|
table.insert(s, {
|
||||||
|
type = 'virtual-signal',
|
||||||
|
name = v.name .. 'A',
|
||||||
|
icon = location .. v.name:gsub('-', '_') .. '.png',
|
||||||
|
subgroup = v.subgroup,
|
||||||
|
order = (v.subgroup == 'virtual-signal-number' and 'b[numbers]2-[' or 'c[letters]2-[') .. v.name:gsub('signal-', '') .. ']',
|
||||||
|
localised_name = {'phi-cl.combine', 'virtual-signal-name.' .. v.name, '(II)'}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
data:extend(s)
|
||||||
|
|
||||||
for _, t in pairs({'arithmetic-combinator', 'decider-combinator', 'programmable-speaker', 'selector-combinator'}) do
|
for _, t in pairs({'arithmetic-combinator', 'decider-combinator', 'programmable-speaker', 'selector-combinator'}) do
|
||||||
data.raw[t][t].energy_source.usage_priority = 'primary-input'
|
data.raw[t][t].energy_source.usage_priority = 'primary-input'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user