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

g Rocket silo no UI on 2.0.77

6 days ago

My rocket silo wouldn't open its ui on factorio 2.0.77 with this mod version 1.1.45. Claude found and fixed it for me locally. Here is its breakdown if you want to change the mod.

AI Output:

It's a one-word typo in this version of the mod — the "fix" in 1.1.45 actually introduced it.

prototypes/recipe.lua:1034 defined the Arig rocket part recipe with:

categories = {"rocket-building"},
categories (array form) is a Factorio 2.1 RecipePrototype field. You're on 2.0.77, where the field is category (string, default "crafting") plus additional_categories. Factorio silently ignores unknown prototype keys, so planetaris-arig-rocket-part was loading in the default "crafting" category — and a rocket silo only accepts crafting_categories = {"rocket-building"}.

Why that kills the GUI: PlanetsLib 1.18.0 strips fixed_recipe off every rocket silo and sets disabled_when_recipe_not_researched = true (prototypes/override/rocket-silos.lua), then on build calls entity.set_recipe("planetaris-arig-rocket-part") + recipe_locked = true (scripts/rocket-parts.lua). With a recipe the silo can't accept (and/or not researched), the silo sits in the disabled state — clicking it opens nothing.

Confirmation it's a regression, not intent: every other recipe in this mod uses category = ..., the mod uses additional_categories elsewhere (data-updates.lua:102), and the same author's planetaris-hyarion uses category = "rocket-building". 1.1.45 is the newest release on the portal, so the author's fix shipped broken for 2.0.x — worth reporting to them.

What I changed
prototypes/recipe.lua:1034 → category = "rocket-building",
Applied the same patch inside mods/planetaris-arig_1.1.45.zip (that's what Factorio actually loads — the loose planetaris-arig-1.1.45/ folder alone wouldn't take effect). Original saved as planetaris-arig_1.1.45.zip.orig-backup; Factorio ignores non-.zip files, so it won't interfere.
Restart Factorio for the prototype change to load.

After restarting
Verify the fix landed:

/c game.print(prototypes.recipe["planetaris-arig-rocket-part"].category)
Should print rocket-building (it was crafting).

5 days ago

Fixed, i used the structure for 2.1 recipes instead of 2.0

New response