From 1d3ca950976d65f907109ba1d8488bcfee34a7d2 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 17 Jun 2024 17:27:30 +0900 Subject: [PATCH] . --- PHI-CL/main.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PHI-CL/main.lua b/PHI-CL/main.lua index d2b074f..959e405 100644 --- a/PHI-CL/main.lua +++ b/PHI-CL/main.lua @@ -223,12 +223,12 @@ function main.EI(source, tier) local item = table.deepcopy(data.raw.item[source.ref_name]) if source.category == 'equipment' then - item.name = source.name .. '-mk' .. tier .. '-equipment' + item['name'] = source.name .. '-mk' .. tier .. '-equipment' item.placed_as_equipment_result = source.name .. '-mk' .. tier .. '-equipment' - item.subgroup = 'equipment' - item.stack_size = 20 - item.default_request_amount = 5 - item.icons = {{icon = '__base__/graphics/icons/' .. source.graphics_name .. '.png', icon_mipmaps = 4, icon_size = 64}} + -- item.subgroup = 'equipment' + -- item.stack_size = 20 + -- item.default_request_amount = 5 + -- item.icons = {{icon = '__base__/graphics/icons/' .. source.graphics_name .. '.png', icon_mipmaps = 4, icon_size = 64}} else item.name = source.name .. '-' .. tier @@ -248,7 +248,7 @@ function main.ER(source, tier) local result_name = source.name if source.category == 'equipment' then - if (tier == 1) then + if (tier == 2) then ingredient_name = ingredient_name .. '-equipment' else