Add "material_only" parameter to CheckInventory
Much of the indentation & format might have broken, as I initially wrote this in Word :(