mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
@@ -373,4 +373,15 @@
|
||||
tot_rating += MB.rating
|
||||
|
||||
storage_capacity["metal"] = tot_rating * 25000
|
||||
storage_capacity["glass"] = tot_rating * 12500
|
||||
storage_capacity["glass"] = tot_rating * 12500
|
||||
|
||||
/obj/machinery/autolathe/dismantle()
|
||||
..()
|
||||
var/list/sheets = list("metal" = /obj/item/stack/sheet/metal, "glass" = /obj/item/stack/sheet/glass)
|
||||
|
||||
for(var/mat in stored_material)
|
||||
var/T = sheets[mat]
|
||||
var/obj/item/stack/sheet/S = new T
|
||||
if(stored_material[mat] > S.perunit)
|
||||
S.amount = round(stored_material[mat] / S.perunit)
|
||||
S.loc = loc
|
||||
Reference in New Issue
Block a user