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'] = {
|
['general'] = {
|
||||||
['graphics_location'] = '__PHI-CL__/graphics/'
|
['graphics_location'] = '__PHI-CL__/graphics/'
|
||||||
},
|
},
|
||||||
['handle'] = {
|
|
||||||
[2] = {
|
|
||||||
['item'] = false,
|
|
||||||
['equipment'] = false,
|
|
||||||
},
|
|
||||||
[3] = {
|
|
||||||
['item'] = false,
|
|
||||||
['equipment'] = false,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
['research_modifier'] = {
|
['research_modifier'] = {
|
||||||
--[[
|
--[[
|
||||||
['electric-turret'] = {
|
['electric-turret'] = {
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ local items = require 'config'
|
|||||||
local main = require 'main'
|
local main = require 'main'
|
||||||
local file_stage = 2
|
local file_stage = 2
|
||||||
|
|
||||||
if items['handle'][file_stage]['item'] then
|
for _, v in pairs(items['item']) do
|
||||||
for _, v in pairs(items['item']) 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 = 'item'
|
v.category = 'item'
|
||||||
|
|
||||||
@@ -16,11 +15,9 @@ if items['handle'][file_stage]['item'] then
|
|||||||
|
|
||||||
main.EL(v)
|
main.EL(v)
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if items['handle'][file_stage]['equipment'] then
|
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'
|
||||||
|
|
||||||
@@ -31,5 +28,4 @@ if items['handle'][file_stage]['equipment'] then
|
|||||||
main.ET(v, j)
|
main.ET(v, j)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -729,9 +729,6 @@ for _, v in pairs(items['item']) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
main.EL(v)
|
main.EL(v)
|
||||||
|
|
||||||
else
|
|
||||||
items['handle'][v.stage]['item'] = true
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -745,8 +742,5 @@ for _, v in pairs(items['equipment']) do
|
|||||||
main.ER(v, j)
|
main.ER(v, j)
|
||||||
main.ET(v, j)
|
main.ET(v, j)
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
|
||||||
items['handle'][v.stage]['equipment'] = true
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-CL",
|
"name": "PHI-CL",
|
||||||
"version": "3.0.9",
|
"version": "3.0.10",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"date": "2024-11-01",
|
"date": "2024-11-02",
|
||||||
"title": "Phidias Collection",
|
"title": "Phidias Collection",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user