mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
@@ -93,9 +93,13 @@ end
|
|||||||
data.raw.tool['promethium-science-pack'].hidden = true
|
data.raw.tool['promethium-science-pack'].hidden = true
|
||||||
data.raw.tool['promethium-science-pack'].hidden_in_factoriopedia = true
|
data.raw.tool['promethium-science-pack'].hidden_in_factoriopedia = true
|
||||||
|
|
||||||
for _, v in pairs({'coal', 'stone', 'iron-ore', 'copper-ore', 'uranium-ore'}) do
|
-- GM C 5 BASE RESOURCE
|
||||||
if data.raw.item[v] then
|
-- GM C 3 SPACE_AGE RESOURCE
|
||||||
data.raw.item[v].stack_size = math.max(data.raw.item[v].stack_size, 100)
|
for _, v in pairs(data.raw['resource']) do
|
||||||
|
local vn = v.name
|
||||||
|
|
||||||
|
if data.raw.item[vn] and data.raw.item[vn].stack_size then
|
||||||
|
data.raw.item[vn].stack_size = math.max(data.raw.item[vn].stack_size, 100)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user