Delete Chemistry-Holder_ch.dm

This commit is contained in:
Nadyr
2021-05-09 00:56:58 -04:00
committed by GitHub
parent 8385a60101
commit cb281eb17c

View File

@@ -1,25 +0,0 @@
//CHOMP code for transfer specifically into vore bellies
/datum/reagents/proc/vore_trans_to_mob(var/mob/target, var/amount = 1, var/type = CHEM_VORE, var/multiplier = 1, var/copy = 0, var/obj/belly/target_belly = null) // Transfer after checking into which holder...
if(!target || !istype(target))
return
if(iscarbon(target))
var/mob/living/carbon/C = target
if(type == CHEM_VORE)
var/datum/reagents/R = target_belly.reagents
return trans_to_holder(R, amount, multiplier, copy)
if(type == CHEM_INGEST)
var/datum/reagents/R = C.ingested
return C.ingest(src, R, amount, multiplier, copy)
else //Retaining this code as a backup
var/datum/reagents/R = new /datum/reagents(amount)
. = trans_to_holder(R, amount, multiplier, copy)
R.touch_mob(target)
/datum/reagents/proc/vore_trans_to_con(var/obj/item/weapon/reagent_containers/T, var/amount = 1, var/multiplier = 1, var/copy = 0) // Transfer after checking into which holder...
if(!T || !istype(T))
return
return trans_to_holder(T.reagents, amount, multiplier, copy)