-
Notifications
You must be signed in to change notification settings - Fork 4
Description
This is technically an issue in the Factorio AP generator, but because it's caused by use of the extractor and is not a problem with vanilla I'm putting it here to hopefully save confusion.
The Rampant Arsenal mod adds a number of technologies that follow on from vanilla technologies, an example of these would be "rampant-arsenal-technology-advanced-laser-turret-2", which is a follow on tech from laser-turrets (there is also a -3 version of this tech).
"rampant-arsenal-technology-advanced-laser-turret-2": {
"unlocks": ["advanced-beam-item-rampant-arsenal"],
"requires": ["laser-turret", "rampant-arsenal-technology-energy-weapons-damage-1", "military-3"],
"ingredients": ["automation-science-pack", "logistic-science-pack", "military-science-pack", "chemical-science-pack"],
"has_modifier": false
},
However because it has -2 at the end of the name, the Factorio AP generator ties to treat it as a progressive technology, and attempts to add it as a progressive technology for "rampant-arsenal-technology-advanced-laser-turret", a technology that doesn't exist. So attempting to generator a world the Factorio Generator fails with the following error.
ERROR:root:Could not load world WorldSource(factorio.apworld, is_zip=True, relative=True):
Traceback (most recent call last):
File "worlds\__init__.py", line 70, in load
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "worlds\factorio\__init__.py", line 12, in <module>
File "worlds\factorio\Locations.py", line 3, in <module>
File "worlds\factorio\Technologies.py", line 422, in <module>
KeyError: 'rampant-arsenal-technology-advanced-laser-turret'
Line 422 seems to be attempting to create a progressive technology.
I've attached the extracted output from just having Rampant Arsenal installed and nothing else.
items.json
machines.json
recipes.json
resources.json
techs.json
fluids.json