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,23 +2,6 @@ local items = require 'config'
|
||||
local main = require 'main'
|
||||
local file_stage = 2
|
||||
|
||||
if mods['space-age'] and settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value then
|
||||
for _, v in pairs(data.raw.recipe) do
|
||||
v.auto_recycle = false
|
||||
v.allow_quality = false
|
||||
v.allow_quality_message = nil
|
||||
|
||||
if v.category == 'recycling' then
|
||||
v.hidden = true
|
||||
v.hidden_in_factoriopedia = true
|
||||
end
|
||||
end
|
||||
|
||||
for _, v in pairs(data.raw.item) do
|
||||
v.auto_recycle = false
|
||||
end
|
||||
end
|
||||
|
||||
for _, v in pairs(items['item']) do
|
||||
if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then
|
||||
v.category = 'item'
|
||||
|
||||
Reference in New Issue
Block a user