I have an assembling-machine that has a fixed_recipe, and the recipe has an output that's a fluid. However, the assembling-machine does not have a fluidbox.
What did I expect to happen:
The game should crash while launching because the assembling machine should not be valid.
What happened:
The game crashed when attempting to render the broken assembling machine.
Instructions to reproduce:
Create a mod that loads after "base" with the following line of code in the data.lua
Code: Select all
data.raw["assembling-machine"]["assembling-machine-1"].fixed_recipe = "empty-water-barrel"
Notice that the game does not fail to load due to the invalid assembling-machine
Use the /cheat command (twice) and craft an assembling machine 1
Pick up the item in the inventory and notice the game does not crash until after the cursor moves outside the inventory window
Move the cursor outside the inventory window and notice the crash