mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Drones and Posis can no longer taste things
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
/mob/living/carbon/proc/ingest(var/datum/reagents/from, var/datum/reagents/target, var/amount = 1, var/multiplier = 1, var/copy = 0) //we kind of 'sneak' a proc in here for ingesting stuff so we can play with it.
|
||||
if(ishuman(src))
|
||||
var/mob/living/carbon/human/H = src
|
||||
var/braintype = H.get_FBP_type()
|
||||
if(braintype == FBP_DRONE || braintype == FBP_POSI)
|
||||
return from.trans_to_holder(target,amount,multiplier,copy) //skip the taste, complete transfer
|
||||
|
||||
if(last_taste_time + 50 < world.time)
|
||||
var/datum/reagents/temp = new(amount) //temporary holder used to analyse what gets transfered.
|
||||
from.trans_to_holder(temp, amount, multiplier, 1)
|
||||
|
||||
Reference in New Issue
Block a user