Planet Castra

by Bartz24

Adds a new militaristic planet to the game. Claim the defended post-apocalyptic planet and use its resources to build a new base. The enemy awakens and starts improving their technologies once they sense your presence.

Content
9 months ago
2.0
31.3K
Factorio: Space Age Icon Space Age Mod
Combat Enemies Environment Manufacturing

g Cant craft weapons or armor

10 months ago

On space age, you cant craft weapons, ammo, military science or armor as another character. Im using the gear girl and unless i switch to engineer, i guess i cant craft them lol.

10 months ago

yea, same thing here with gear girl, tactical swap to engineer skin and back to craft some ammo lmao

10 months ago

I'll take a look into this, I'm probably assuming something about how the character entity works.

6 months ago

I was able to get a hacky fix going, I found this command, which displays all of the crafting categories the current player prototype has.

/c
if game.player.character and game.player.character.prototype then
  game.print("Crafting categories for: " .. game.player.character.prototype.name)
  for cat, enabled in pairs(game.player.character.prototype.crafting_categories or {}) do
    if enabled then
      game.print("- " .. cat)
    end
  end
else
  game.print("No valid character prototype found.")
end

I noticed that 2 were missing between Engineer and Gear Girl, (castra-crafting + castra-electronics) so I was able to hardcode those missing categories to apply to all characters prototypes as well. I'm honestly not entirely sure why this works, as I don't even know what the problem originally was since !skins seems to be compatible with 99% of other mods already, I have no idea why this would need to work like this, but the external fix is here for now and that's what I found. I've never uploaded a mod before, so the portal might be scuffed, but it functions exactly how it needs to.

Castra Crafting Fix

6 months ago

The issue was ultimately an assumption made by !skins (Skins Factored) (my mod), which i have now fixed in version 1.3.5. Bartz24, you shouldn't need to change anything in Planet Castra.

New response