Merge pull request #15335 from DeltaFire15/synth-chem-time
Synth / IPC kinda-buffs - Chemwarfare Edition
This commit is contained in:
@@ -101,3 +101,9 @@
|
||||
return GLOB.chemical_reagents_list[input]
|
||||
else
|
||||
return null
|
||||
|
||||
//Checks for if the given reagent R is invalid to process for its passed owner.
|
||||
/proc/is_reagent_processing_invalid(datum/reagent/R, mob/living/owner)
|
||||
if(!R || !owner)
|
||||
return TRUE
|
||||
return ((HAS_TRAIT(owner, TRAIT_ROBOTIC_ORGANISM) && !(R.chemical_flags & REAGENT_ROBOTIC_PROCESS)) || (!HAS_TRAIT(owner, TRAIT_ROBOTIC_ORGANISM) && !(R.chemical_flags & REAGENT_ORGANIC_PROCESS)))
|
||||
|
||||
Reference in New Issue
Block a user