Carna


○🌐Adds planet Carna to Space Age, a cold and snowy planet with dormant mechanoids scattered all across the surface.

Content
an hour ago
2.0 - 2.1
8.29K
Factorio: Space Age Icon Space Age Mod
Planets Enemies Mining Fluids

b recipe with name 'pump-methane' does not exist.

7 days ago

Error in assignID: recipe with name 'pump-methane' does not exist.

At ROOT.technology.feron-airpump.effects[1].recipe

{
"mods":
[

{
  "name": "base",
  "enabled": true
},

{
  "name": "elevated-rails",
  "enabled": true
},

{
  "name": "quality",
  "enabled": true
},

{
  "name": "recycler",
  "enabled": true
},

{
  "name": "space-age",
  "enabled": true
},

{
  "name": "bplib",
  "enabled": true
},

{
  "name": "carna",
  "enabled": true
},

{
  "name": "carna_assets",
  "enabled": true
},

{
  "name": "carna_assets_2",
  "enabled": true
},

{
  "name": "carna_assets_3",
  "enabled": true
},

{
  "name": "carna_assets_enemies",
  "enabled": true
},

{
  "name": "Cerys-Moon-of-Fulgora",
  "enabled": true
},

{
  "name": "Flare Stack",
  "enabled": true
},

{
  "name": "PlanetsLib",
  "enabled": true
}

]
}

7 days ago

你的代码
if data.raw["fluid"]["nitrogen"] then
table.insert(data.raw.technology["feron-airpump"].effects, { type = "unlock-recipe", recipe = "pump-nitrogen" })
end
if data.raw["fluid"]["carbon-dioxide"] then
table.insert(data.raw.technology["feron-airpump"].effects, { type = "unlock-recipe", recipe = "pump-carbon-dioxide" })
end
if data.raw["fluid"]["methane"] then
table.insert(data.raw.technology["feron-airpump"].effects, { type = "unlock-recipe", recipe = "pump-methane" })
end
if data.raw["fluid"]["helium"] then
table.insert(data.raw.technology["feron-airpump"].effects, { type = "unlock-recipe", recipe = "pump-helium" })
end

我发现你的mod似乎并没有定义这些配方,这看起来像其他mod的兼容性代码
我想不应该检查流体是否存在,而应该检查mods["xxx"]?

4 days ago

It should be fixed now

New response