mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user