Convert some overlays (#2525)

changes:

Converted some overlays to SSoverlay.
This commit is contained in:
Lohikar
2017-05-29 05:04:57 -05:00
committed by skull132
parent aad350be12
commit 15c1b4969b
9 changed files with 72 additions and 105 deletions

View File

@@ -146,9 +146,8 @@
var/stacktype = stack.type
var/t = getMaterialName(stacktype)
overlays += "protolathe_[t]"
spawn(10)
overlays -= "protolathe_[t]"
add_overlay("protolathe_[t]")
CUT_OVERLAY_IN("protolathe_[t]", 10)
busy = 1
use_power(max(1000, (SHEET_MATERIAL_AMOUNT * amount / 10)))