linter 2:
This commit is contained in:
@@ -65,15 +65,15 @@
|
||||
var/obj/item/reagent_containers/B = AM
|
||||
///see if it would overflow else inject
|
||||
if((B.reagents.total_volume + wanted_amount) <= B.reagents.maximum_volume)
|
||||
reagents.trans_to(B, wanted_amount, transfered_by = src)
|
||||
reagents.trans_to(B, wanted_amount)
|
||||
B.forceMove(goodspot)
|
||||
return
|
||||
///glass was full so we move it away
|
||||
AM.forceMove(badspot)
|
||||
if(istype(AM, /obj/item/slime_extract)) ///slime extracts need inject
|
||||
AM.forceMove(goodspot)
|
||||
reagents.trans_to(AM, wanted_amount, transfered_by = src, method = INJECT)
|
||||
reagents.trans_to(AM, wanted_amount)
|
||||
return
|
||||
if(istype(AM, /obj/item/slimecross/industrial)) ///no need to move slimecross industrial things
|
||||
reagents.trans_to(AM, wanted_amount, transfered_by = src, method = INJECT)
|
||||
reagents.trans_to(AM, wanted_amount)
|
||||
return
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
I.on_juice()
|
||||
reagents.add_reagent_list(I.juice_results)
|
||||
if(I.reagents)
|
||||
I.reagents.trans_to(src, I.reagents.total_volume, transfered_by = src)
|
||||
I.reagents.trans_to(src, I.reagents.total_volume)
|
||||
qdel(I)
|
||||
return
|
||||
I.on_grind()
|
||||
|
||||
Reference in New Issue
Block a user