mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -17,7 +17,6 @@ for _, v in pairs(items['item']) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
|
||||||
for _, v in pairs(items['equipment']) do
|
for _, v in pairs(items['equipment']) do
|
||||||
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
||||||
v.category = 'equipment'
|
v.category = 'equipment'
|
||||||
@@ -30,4 +29,3 @@ for _, v in pairs(items['equipment']) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
|
|||||||
@@ -507,7 +507,6 @@ for _, v in pairs(items['item']) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--[[
|
|
||||||
for _, v in pairs(items['equipment']) do
|
for _, v in pairs(items['equipment']) do
|
||||||
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
||||||
v.category = 'equipment'
|
v.category = 'equipment'
|
||||||
@@ -520,4 +519,3 @@ for _, v in pairs(items['equipment']) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ function main.EI(source, tier)
|
|||||||
|
|
||||||
if source.category == 'equipment' then
|
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.place_as_equipment_result = source.name .. '-mk' .. tier .. '-equipment'
|
||||||
|
|
||||||
else
|
else
|
||||||
if tier > 1 then
|
if tier > 1 then
|
||||||
|
|||||||
Reference in New Issue
Block a user