Page 1 of 1

[0.8.8] Invalid modded recipe causes game crash

Posted: Tue Feb 11, 2014 9:16 am
by immibis

Code: Select all

data:extend{
	{
		type = "recipe",
		name = "crashing-recipe",
		enabled = "true",
		category = "crafting",
		
		result = {{"iron-ore", 1}},     -- This should be: result = "iron-ore",
		ingredients = {}
	}
}
The above recipe has an invalid result field. Instead of displaying an error message while loading, like with many prototype errors, Factorio will crash when you load or start a game.

Re: [0.8.8] Invalid modded recipe causes game crash

Posted: Fri Feb 28, 2014 1:53 pm
by kovarex
Thank you for the report, fixed for 0.9.2