Castra Prime


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

Content
11 days ago
2.0 - 2.1
12.5K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Combat Armor Enemies Environment Mining

b Crash in fill_turrets when an ammo item is removed from an existing save

a day ago

storage.castra.enemy is rebuilt only after an enemy research, and there is no on_configuration_changed, so ammo_tier can keep an item that no longer exists, e.g. kr-rifle-magazine after turning off K2's realistic weapons. fill_turrets then indexes prototypes.item[ammo].stack_size (base-upgrades.lua:89) and crashes. Calling update_castra_enemy_data() in on_configuration_changed and skipping a missing ammo prototype in fill_turrets would cover it.

New response