🌐 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
3 hours ago
2.0
14.7K
Factorio: Space Age Icon Space Age Mod
Planets Transportation Logistics Environment Mining Fluids Logistic network Manufacturing Power Storage

b tiber compatability on space map

2 months ago
(updated 2 months ago)

Enjoying your work, but am encountering issues with modding myself. and it's just about the space map's placement of planets.

I humbly ask you to remove compat/tiber.lua from being called in data-final-fixes.lua.

You could use PlanetsLib:update to move its position/orientation called from data-updates.lua instead

something like this would do:
PlanetsLib:update({
{
type = "planet",
name = "tiber",

orbit = {
  parent = { type = "space-location", name = "alpha_p" },
  distance = 25, (or whatever distance you want)
  orientation = 0.35
}

}
})

thank you!

2 months ago
(updated 2 months ago)

disregard this second message

2 months ago

would you please look into solving this issue?

2 months ago

Yes! i forgot to answer :D

2 months ago

Thanks dear friend!

2 months ago

Apparently its a bit weird to change tiber using planetslib because it doesnt use orbit, distance and orientation are outside of it. Have you tried that before?

2 months ago

I have done some testing, the PlanetsLib:update should be called from data.lua or data-updates.lua, calling it from data-final-fixes.lua will throw errors.

However I cannot override the orientation you had set in data-final-fixes with my modpack compatability mod, because PlanetsLib cannot function in that data stage.

But I found out that simply moving the line "require('compat.tiber")" from your data-final-fixes.lua to your data-updates.lua also solves this without having to change tiber.lua.

I also used "alpha_p" as the name in the code mentioned before, but that's from another mod and usually it's supposed to be just "star" if it should orbit the original star system. so don't mind that :)

Cheers!

2 months ago

Perfect, so ill be moving the compat to data-updates

New response