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:
@@ -73,13 +73,7 @@ local function EI(source, tier)
|
||||
item.stack_size = 50
|
||||
item.default_request_amount = 50
|
||||
item.icons = {{icon = graphics_location .. source.name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
||||
|
||||
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
|
||||
|
||||
item.order = item.order .. tier
|
||||
data:extend({item})
|
||||
end
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "PHI-EN",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"factorio_version": "1.1",
|
||||
"date": "2023-04-19",
|
||||
"date": "2023-04-20",
|
||||
"title": "Phidias Energy",
|
||||
"author": "PHIDIAS0303",
|
||||
"contributers": "",
|
||||
|
||||
@@ -216,26 +216,6 @@ local function EI(source, tier)
|
||||
item.stack_size = 20
|
||||
item.default_request_amount = 5
|
||||
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
|
||||
data:extend({item})
|
||||
end
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "PHI-EQ",
|
||||
"version": "1.1.10",
|
||||
"version": "1.1.11",
|
||||
"factorio_version": "1.1",
|
||||
"date": "2023-04-19",
|
||||
"date": "2023-04-20",
|
||||
"title": "Phidias Equipment",
|
||||
"author": "PHIDIAS0303",
|
||||
"contributers": "",
|
||||
|
||||
Reference in New Issue
Block a user