Thanks for the awesome guide! There's just one thing: In the "Adding Gold Made" section you mentioned that, to calculate the gp gained, you need to multiply the amount of items made by their price:
gpGained = itemsMade - costOfItem;
But in this case it's subtracting, and not multiplying, isn't it? Needs to be changed to:
gpGained = itemsMade * costOfItem;