refactored crafting
more crafting refactoring
'build' uses same code as craft and repair now
implement building repair