mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Makes stock parts build 5x faster
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user