mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
..
This commit is contained in:
@@ -2,16 +2,6 @@ local items = {
|
||||
['general'] = {
|
||||
['graphics_location'] = '__PHI-CL__/graphics/'
|
||||
},
|
||||
['handle'] = {
|
||||
[2] = {
|
||||
['item'] = false,
|
||||
['equipment'] = false,
|
||||
},
|
||||
[3] = {
|
||||
['item'] = false,
|
||||
['equipment'] = false,
|
||||
}
|
||||
},
|
||||
['research_modifier'] = {
|
||||
--[[
|
||||
['electric-turret'] = {
|
||||
|
||||
@@ -2,7 +2,6 @@ local items = require 'config'
|
||||
local main = require 'main'
|
||||
local file_stage = 2
|
||||
|
||||
if items['handle'][file_stage]['item'] then
|
||||
for _, v in pairs(items['item']) do
|
||||
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
||||
v.category = 'item'
|
||||
@@ -17,9 +16,7 @@ if items['handle'][file_stage]['item'] then
|
||||
main.EL(v)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if items['handle'][file_stage]['equipment'] then
|
||||
for _, v in pairs(items['equipment']) do
|
||||
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
||||
v.category = 'equipment'
|
||||
@@ -32,4 +29,3 @@ if items['handle'][file_stage]['equipment'] then
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -729,9 +729,6 @@ for _, v in pairs(items['item']) do
|
||||
end
|
||||
|
||||
main.EL(v)
|
||||
|
||||
else
|
||||
items['handle'][v.stage]['item'] = true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -745,8 +742,5 @@ for _, v in pairs(items['equipment']) do
|
||||
main.ER(v, j)
|
||||
main.ET(v, j)
|
||||
end
|
||||
|
||||
else
|
||||
items['handle'][v.stage]['equipment'] = true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "PHI-CL",
|
||||
"version": "3.0.9",
|
||||
"version": "3.0.10",
|
||||
"factorio_version": "2.0",
|
||||
"date": "2024-11-01",
|
||||
"date": "2024-11-02",
|
||||
"title": "Phidias Collection",
|
||||
"author": "PHIDIAS0303",
|
||||
"contributers": "",
|
||||
|
||||
Reference in New Issue
Block a user