Made all item variables global.

This is probably needed for recipe creation.