Nuclear Fuel

by GotLag

Modifies nuclear fuel cycle to provide a difference between nuclear weapons production and efficient power generation

Content
3 years ago
0.15 - 1.1
27.8K
Power

b Crash when removing from a Krastorio2 game

4 years ago

I posted this on the Krastorio 2 mod portal, but it seems like a fix for this has (understandably) a very low priority and might never get fixed.
It's not like I can't continue the game with the mod installed, but I thought, if it does not take much effort, maybe this can also be fixed from your end?

Factorio v1.0.0
Krastorio 2 v1.0.4
Nuclear Fuel v1.1.4

Error:

44.005 Error MainLoop.cpp:1207: Exception at tick 5740: The mod Krastorio 2 (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Krastorio2::on_nth_tick(20)
Unknown item name: plutonium
stack traceback:
...astorio2__/lib/private/control-scripts/radioactivity.lua:192: in function 'callback'
...control-scripts/control-lib/control-callbacks-merger.lua:44: in function <...control-scripts/control-lib/control-callbacks-merger.lua:41>
stack traceback:
[C]: in function 'get_item_count'
...astorio2__/lib/private/control-scripts/radioactivity.lua:192: in function 'callback'
...control-scripts/control-lib/control-callbacks-merger.lua:44: in function <...control-scripts/control-lib/control-callbacks-merger.lua:41>

Output log:
https://pastebin.com/W8L6pj5w

Way to reproduce:
Start a new game with Krastorio 2 and the mod Nuclear Fuel enabled. Disable Nuclear Fuel and reload the game. When loading the same map, the game crashes.

I started a game, but forgot to disable the mod Nuclear Fuel and only noticed it quite a bit into the game. I then disabled the mod and reloaded the map, but the map crashed on load.
I tried the same with a new map and only the 2 mods, but got the same crash, so it is not about any items or entities of the mod Nuclear Fuel remaining on the map, but the problem seems that plutonium is added to the radioactivity items but not removed correctly when you remove the mod Nuclear Fuel.

4 years ago

I'm not sure if there's anything that can be done on this end, I think you'll have to ask the Krastorio developer about that.

4 years ago

I already did, but thanks anyway.

New response