🌐 Planetaris: Arig

by Syen_ce

Arig, a hot planet with vast deserts where only valuable resources can be found underground or in the sand.

Content
9 days ago
2.0 - 2.1
25.8K
Factorio: Space Age Icon Space Age Mod
Planets Transportation Logistics Environment Mining Fluids Logistic network Manufacturing Power Storage

g v.2.1 Compatibility K2SO

a month ago

Factorio 2.1 is out there and also a new Krastorio 2 Spaced Out version. Now we have the following error:

Error loading mods
Failed to load mods: planetaris-arig/compat/krastorio2-so.lua:135: module Krastorio2-spaced-out/prototypes/buildings.loader-graphics not found; no such file Krastorio2-spaced-out/prototypes/buildings/loader-graphics.lua
stack traceback:
[C]: in function 'require'
planetaris-arig/compat/krastorio2-so.lua:135: in main chunk
[C]: in function 'require'
planetaris-arig/data.lua:28: in main chunk

Mods to be disabled:

▪ planetaris-arig (1.1.35) ☐ Reset mod settings

In the K2 Discord was the answer: the file required is now in K2, not K2SO. So it's just small fix for Arig.
Would be awesome if this get fixed!

a month ago

Note this solution was posted on the Github feedback. The file is in Planet Arig/compat/krastorio2-so.lua

Remove line: 135
local graphics = require("Krastorio2-spaced-out.prototypes.buildings.loader-graphics")

replace it with
local graphics = nil
if (mods["Krastorio2"]) then
graphics = require("Krastorio2.prototypes.buildings.loader-graphics")
else
graphics = require("Krastorio2-spaced-out.prototypes.buildings.loader-graphics")
end

Once you fix this error, the next error should be an oil entity error, and I'm currently stuck on that one. I am running Azztweeks pack

a month ago

Yes, im currently working in the new compat for the k2so changes

a month ago

"Failed to load mods: Error in assignID: resource-category with name 'oil' does not exist."

I started by disabling mods and finally figured out what the issue was. Inside Prototypes - Pumpjack-updates the last lines of code

" if prototype and prototype.resource_categories then
table.insert(prototype.resource_categories, "oil")
end
"
If you delete those lines of code, it fixes the oil entity problem.

Fox

a month ago

I cant find in arig:

if prototype and prototype.resource_categories then
table.insert(prototype.resource_categories, "oil")
end

I added the other fix and there is no more errors, its prob another mod

a month ago

It works, now I have a maraxis compat error but the Arig parts doesn't make problems yet.

New response