Cha-cha-cha-changes

Changed the shuttle controller to a datum, changed the appearance of the
labor shuttle, and fixed stackers giving one free stack of each ore.
This commit is contained in:
AlexanderUlanH
2013-11-02 17:01:54 -04:00
parent d7aa9f3b7f
commit 16d17921f9
7 changed files with 29 additions and 27 deletions
+3 -1
View File
@@ -91,7 +91,9 @@
if(!istype(inp)) //Non-sheets. Yuck.
return
if(!(inp.type in stack_list)) //It's the first of this sheet added
stack_list[inp.type] = new inp.type(src,0)
var/obj/item/stack/sheet/s = new inp.type(src,0)
s.amount = 0
stack_list[inp.type] = s
var/obj/item/stack/sheet/storage = stack_list[inp.type]
storage.amount += inp.amount //Stack the sheets
inp.loc = null //Let the old sheet garbage collect