Castra Prime


Fork of Castra, military planet, to fix balance issues.

Content
2 days ago
2.0
38
Factorio: Space Age Icon Space Age Mod
Planets Logistics Combat Armor Enemies Environment Mining

g Two separate errors

15 hours ago

I get this error when trying to load into a old save

Error while applying migration: Castra: castra_0.4.5.lua

castra-prime/castra-cache.lua:199: attempt to index field 'castra-prime-disable-artillery' (a nil value)
stack traceback:
castra-prime/castra-cache.lua:199: in function 'update_castra_enemy_data'
castra-prime/migrations/castra_0.4.5.lua:3: in main chunk

And if I make a new save and travel to castra, I get the following error:

Error while running event castra-prime::on_chunk_generated (ID 16)
castra-prime/castra-cache.lua:199: attempt to index field 'castra-prime-disable-artillery' (a nil value)
stack traceback:
castra-prime/castra-cache.lua:199: in function 'update_castra_enemy_data'
castra-prime/castra-cache.lua:211: in function 'build_cache_if_needed'
castra-prime/base-generator.lua:654: in function 'create_enemy_base'
castra-prime/control.lua:13: in function <castra-prime/control.lua:6>

11 hours ago

Thanks for reporting that - I will get right on it. This mod is currently very much WIP but I hope to have a working and tested fix version out later today or tomorrow. I assume you were using the most current 0.5.4 version of Castra? Please let me know if that's not the case.

Thanks for trying the mod! Better more working things to come ;)

an hour ago

Damn, you got on this fast fella.
Yes, this is the most recent version of the mod.
Glad you're working on this, while I do enjoy the base castra, it got suffocating after a while.

New response