Item stuff moved half-into the engine.
Various support functions are still in lua (itemcore.lua)