Page 1 of 1

Free crafting

Posted: Fri Nov 28, 2014 9:23 pm
by etn
I wanted to create a simple mod that adds recipes for all the ores, enables the player to smelt items, and sets the crafting speed higher, so you can mess with the game. It loads and works fine, except every time I attempt to open my inventory with it active, the game freezes. Is this because I haven't defined the crafting time somewhere(didn't see a field for it), it doesn't like recipes with no cost, or something else?

Re: Free crafting

Posted: Fri Nov 28, 2014 9:56 pm
by LordFedora
for the "base cost" (i think thats what it's called, the list of materials on the bottom of the popup) crash if it becomes recursive, e.g. you have an item that is a material for it's self (or a few steps out) or if it's free

Re: Free crafting

Posted: Fri Nov 28, 2014 10:18 pm
by etn
thanks for telling me the problem. I guess I'll just make a dummy item and stock the inventory in control.lua