Import globals as G in crafting.py.