Makes stock parts build 5x faster

This commit is contained in:
monster860
2016-06-10 16:22:26 -04:00
parent 1f02da25a0
commit c814156ca8
+4
View File
@@ -431,6 +431,10 @@ proc/CallMaterialName(ID)
var/P = being_built.build_path //lets save these values before the spawn() just in case. Nobody likes runtimes.
var/O = being_built.locked
if(ispath(P, /obj/item/weapon/stock_parts))
coeff *= 5
spawn(32*amount/coeff)
if(g2g) //And if we only fail the material requirements, we still spend time and power
for(var/i = 0, i<amount, i++)