mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Abductor scientists can examine glands to determine what they do
🆑 coiax add: Abductor scientists, or people who have had training similar to an abductor's scientist will be able to examine alien glands to determine their scientific purpose. /🆑 Had a lot of fun making up dumb sciencey sounding explanations for the glands. Removes the "scientist" var from the species datum, don't need that anymore. TRAIT_ABDUCTOR_TRAINING and TRAIT_ABDUCTOR_SCIENTIST_TRAINING are the important key traits here, assigned in the antag datum. Being an abductor doesn't give you experience with all their tools, after all. TRAIT_SURGEON (another trait the ayy scientist has) gives you access to all surgeries, rather than a more snowflake-style species check.
This commit is contained in:
@@ -88,13 +88,10 @@
|
||||
/datum/surgery/advanced/can_start(mob/user, mob/living/carbon/target)
|
||||
if(!..())
|
||||
return FALSE
|
||||
//Abductor scientists need no instructions
|
||||
if(isabductor(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
var/datum/species/abductor/S = H.dna.species
|
||||
if(S.scientist)
|
||||
return TRUE
|
||||
|
||||
// True surgeons (like abductor scientists) need no instructions
|
||||
if(user.has_trait(TRAIT_SURGEON))
|
||||
return TRUE
|
||||
|
||||
if(iscyborg(user))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
var/obj/item/surgical_processor/SP = locate() in R.module.modules
|
||||
@@ -102,7 +99,7 @@
|
||||
return FALSE
|
||||
if(type in SP.advanced_surgeries)
|
||||
return TRUE
|
||||
|
||||
|
||||
var/turf/T = get_turf(target)
|
||||
var/obj/structure/table/optable/table = locate(/obj/structure/table/optable, T)
|
||||
if(!table || !table.computer)
|
||||
|
||||
Reference in New Issue
Block a user