Terra Palus

by Lukah

A hybrid planet combining features of Nauvis and Gleba. Brave the dangerous swamp moon of Terra Palus; mine Palusium ore and use UV light to freeze those that would see you destroyed.

Content
10 months ago
2.0
25.8K
Factorio: Space Age Icon Space Age Mod
Planets Combat Environment Mining Fluids Power

b [BUG] 2.1 startup crash: fuel_category removed + category type errors

12 days ago
(updated 12 days ago)

Terra Palus 0.2.8 crashes the game at startup on Factorio 2.1.20 (2.1.x changed several prototype property types). Three separate issues, all in prototype definitions:

  1. prototypes/item/items.lua — palusium-ore uses the removed singular property: "Error while loading item prototype "palusium-ore" (item): ItemPrototype::fuel_category was removed. Please use ItemPrototype::fuel_categories." Fix: fuel_categories = {"chemical"} (note fuel_categories takes a LIST of category names, not a string or a dict/set).

  2. prototypes/recipe/recipes.lua — palusium-refining, palusium-liquefaction and one more recipe use categories = "chemistry" (a string). The plural categories key must be an array: "Recipe palusium-refining has malformed categories: it should be an array of strings but string was found". Fix: categories = {"chemistry"}.

  3. prototypes/planet/planet-terrapalus-map-gen.lua and prototypes/autoplace-controls.lua — the opposite mistake: category = {"enemy"} / category = {"resource"} on autoplace-control prototypes. AutoplaceControl::category is still a plain string: "Error while loading autoplace-control prototype "gleba-spawner" (autoplace-control): Value must be a string in property tree at ROOT.autoplace-control.gleba-spawner.category". Fix: category = "enemy" / category = "resource".

  4. data-updates.lua — the PlanetsLib orbit sprite declares sprite_size = 500 but graphics/terrapalus-orbit.png is 387x387: "The given sprite rectangle (left_top=0x0, right_bottom=500x500) is outside the actual sprite size (left_top=0x0, right_bottom=387x387).: terrapalus/graphics/terrapalus-orbit.png". Fix: sprite_size = 387 (or ship a 500x500 png).

After applying these fixes (all four) locally, the mod loads cleanly alongside a large modpack on 2.1.20. Happy to share the patched files if useful. Thanks for the mod!

New response