mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Delete Chemistry-Holder_ch.dm
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user