mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Added a robotic syringe (#20063)
Added a robotic syringe, to be used by borgs, that do not get dirty and gives infection to people after the first use. Fixes #19817 --------- Signed-off-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Co-authored-by: Wowzewow (Wezzy) <42310821+alsoandanswer@users.noreply.github.com>
This commit is contained in:
@@ -230,7 +230,7 @@ var/global/list/robot_modules = list(
|
||||
modules += new /obj/item/gripper/chemistry(src)
|
||||
modules += new /obj/item/reagent_containers/dropper/cyborg_pipette(src)
|
||||
modules += new /obj/item/roller_holder(src)
|
||||
modules += new /obj/item/reagent_containers/syringe(src)
|
||||
modules += new /obj/item/reagent_containers/syringe/robotic(src)
|
||||
modules += new /obj/item/device/reagent_scanner/adv(src)
|
||||
modules += new /obj/item/device/mass_spectrometer(src)
|
||||
modules += new /obj/item/autopsy_scanner(src)
|
||||
|
||||
@@ -39,6 +39,9 @@
|
||||
drop_sound = 'sound/items/drop/glass_small.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass_small.ogg'
|
||||
|
||||
///Boolean, if this syringe gets dirty (and consequently infects people when reused)
|
||||
var/gets_dirty = TRUE
|
||||
|
||||
/obj/item/reagent_containers/syringe/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
@@ -73,7 +76,7 @@
|
||||
log_and_message_admins("[loc] infected [target]'s [eo.name] with \the [src].")
|
||||
addtimer(CALLBACK(src, PROC_REF(infect_limb), eo), rand(5 MINUTES, 10 MINUTES))
|
||||
|
||||
if(!used)
|
||||
if(!used && gets_dirty)
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
used = TRUE
|
||||
|
||||
@@ -381,6 +384,20 @@
|
||||
/// Syringes. END
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*#############
|
||||
SUBTYPES
|
||||
#############*/
|
||||
|
||||
/**
|
||||
* #Robotic syringe
|
||||
*
|
||||
* This syringe is for borgs and the likes, do not give it around otherwise
|
||||
*/
|
||||
/obj/item/reagent_containers/syringe/robotic
|
||||
name = "robotic syringe"
|
||||
desc = "A syringe for our synthetic friends."
|
||||
gets_dirty = FALSE
|
||||
|
||||
/obj/item/reagent_containers/syringe/inaprovaline
|
||||
name = "Syringe (inaprovaline)"
|
||||
desc = "Contains inaprovaline - used to stabilize patients."
|
||||
|
||||
Reference in New Issue
Block a user