add basic common inventory functions and hooks for markets