mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-16 13:44:52 +09:00
.
This commit is contained in:
1 parent
415529d26f
commit
49807afb1f
11 files changed
+199
-148
No files matched your search
@@ -2,6 +2,11 @@ local items = require 'config'
|
||||
local main = require 'main'
|
||||
local file_stage = 3
|
||||
|
||||
if settings.startup['PHI-CT'].value then
|
||||
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-CT-ROCKET-CAPACITY'].value * 100000
|
||||
data.raw['utility-constants'].default.default_item_weight = settings.startup['PHI-CT-CARGO-WEIGHT'].value
|
||||
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