mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
.
This commit is contained in:
@@ -52,7 +52,8 @@ end
|
||||
|
||||
-- MIG C 3 BASE ENTITY,ITEM
|
||||
-- MIG A 1 BASE RECIPE
|
||||
for _, v in pairs(data.raw['valve']) do
|
||||
if data.raw['valve'] then
|
||||
for _, v in pairs(data.raw['valve']) do
|
||||
v.hidden = false
|
||||
v.heating_energy = nil
|
||||
data.raw.item[v.name].hidden = false
|
||||
@@ -73,6 +74,7 @@ for _, v in pairs(data.raw['valve']) do
|
||||
localised_name = {'entity-name.' .. v.name},
|
||||
localised_description = {'entity-description.' .. v.name}
|
||||
}})
|
||||
end
|
||||
end
|
||||
|
||||
-- MIG A 1 BASE ENTITY,ITEM,RECIPE
|
||||
@@ -401,7 +403,8 @@ end
|
||||
|
||||
-- MIG C 3 BASE ENTITY,ITEM,RECIPE
|
||||
-- MIG C 1 SPACE_AGE ENTITY,ITEM,RECIPE
|
||||
for _, ln in pairs(data.raw['loader']) do
|
||||
if data.raw['loader'] then
|
||||
for _, ln in pairs(data.raw['loader']) do
|
||||
local l = ln.name
|
||||
|
||||
ln.filter_count = 2
|
||||
@@ -419,6 +422,7 @@ for _, ln in pairs(data.raw['loader']) do
|
||||
data.raw.recipe[l].hidden = false
|
||||
data.raw.recipe[l].hidden_in_factoriopedia = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- MIG A 3 BASE RESEARCH_EFFECT
|
||||
@@ -460,7 +464,7 @@ for _, vn in pairs(data.raw['underground-belt']) do
|
||||
entity.structure[st].sheet.filename = mod_graphic_location .. v .. '.png'
|
||||
entity.structure[st].sheet.width = 106
|
||||
entity.structure[st].sheet.height = 85
|
||||
entity.structure[st].sheetshift = {0.15625, 0.0703125}
|
||||
entity.structure[st].sheet.shift = {0.15625, 0.0703125}
|
||||
end
|
||||
|
||||
entity.structure.direction_in.sheet.y = 85
|
||||
|
||||
Reference in New Issue
Block a user