mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-01-01 12:41:39 +09:00
Update
This commit is contained in:
@@ -73,13 +73,7 @@ local function EI(source, tier)
|
|||||||
item.stack_size = 50
|
item.stack_size = 50
|
||||||
item.default_request_amount = 50
|
item.default_request_amount = 50
|
||||||
item.icons = {{icon = graphics_location .. source.name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
item.icons = {{icon = graphics_location .. source.name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
||||||
|
item.order = item.order .. tier
|
||||||
if (source.type == 'accumulator') then
|
|
||||||
item.order = 'd[' .. source.type .. ']-a' .. tier .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
else
|
|
||||||
item.order = 'e[' .. source.type .. ']-a' .. tier .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
end
|
|
||||||
|
|
||||||
data:extend({item})
|
data:extend({item})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-EN",
|
"name": "PHI-EN",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"date": "2023-04-19",
|
"date": "2023-04-20",
|
||||||
"title": "Phidias Energy",
|
"title": "Phidias Energy",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
@@ -216,26 +216,6 @@ local function EI(source, tier)
|
|||||||
item.stack_size = 20
|
item.stack_size = 20
|
||||||
item.default_request_amount = 5
|
item.default_request_amount = 5
|
||||||
item.icons = {{icon = graphics_location .. source.graphics_name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
item.icons = {{icon = graphics_location .. source.graphics_name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
||||||
|
|
||||||
--[[
|
|
||||||
if (source.type == 'solar-panel') then
|
|
||||||
item.order = 'a[energy-source]-a' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'battery') then
|
|
||||||
item.order = 'b[battery]-b' .. alpha_order[tier] .. '[' .. source.name .. 'equipment-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'fusion-reactor') then
|
|
||||||
item.order = 'a[energy-source]-b' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'personal-laser-defense') then
|
|
||||||
item.order = 'd[active-defense]-b' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'energy-shield') then
|
|
||||||
item.order = 'b[shield]-c' .. alpha_order[tier - 1] .. '[' .. source.name .. '-equipment-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'personal-roboport') then
|
|
||||||
item.order = 'e[robotics]-b' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. '-equipment]'
|
|
||||||
elseif (source.type == 'night-vision') then
|
|
||||||
item.order = 'f[night-vision]-a' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. ']'
|
|
||||||
elseif (source.type == 'exoskeleton') then
|
|
||||||
item.order = 'd[exoskeleton]-a' .. alpha_order[tier - 1] .. '[' .. source.name .. 'equipment-mk' .. tier .. ']'
|
|
||||||
end
|
|
||||||
]]
|
|
||||||
item.order = item.order .. tier
|
item.order = item.order .. tier
|
||||||
data:extend({item})
|
data:extend({item})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-EQ",
|
"name": "PHI-EQ",
|
||||||
"version": "1.1.10",
|
"version": "1.1.11",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"date": "2023-04-19",
|
"date": "2023-04-20",
|
||||||
"title": "Phidias Equipment",
|
"title": "Phidias Equipment",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user