Adding Factoryfunc to each component

except weapon and inventory