Merge pull request #5567 from Novacat/nova-survival

Adds Prototype Hypospray
This commit is contained in:
Novacat
2019-08-12 13:15:35 -04:00
committed by GitHub
3 changed files with 25 additions and 1 deletions

View File

@@ -44,7 +44,14 @@
to_chat(user, "<span class='danger'>You cannot inject a robotic limb.</span>")
return
if(!H.stat)
//VOREStation Add Start - Adds Prototype Hypo functionality
if(H != user && prototype)
to_chat(user, "<span class='notice'>You begin injecting [H] with \the [src].</span>")
to_chat(H, "<span class='danger'> [user] is trying to inject you with \the [src]!</span>")
if(!do_after(user, 30, H))
return
//VOREstation Add End
else if(!H.stat && !prototype) //VOREStation Edit
if(H != user)
if(H.a_intent != I_HELP)
to_chat(user, "<span class='notice'>[H] is resisting your attempt to inject them with \the [src].</span>")

View File

@@ -22,3 +22,11 @@
..()
for (var/i = 1 to 7)
new /obj/item/weapon/reagent_containers/hypospray/autoinjector/miner(src)
/obj/item/weapon/reagent_containers/hypospray
var/prototype = 0
/obj/item/weapon/reagent_containers/hypospray/science
name = "prototype hypospray"
desc = "This reproduction hypospray is nearly a perfect replica of the early model DeForest hyposprays, sharing many of the same features. However, there are additional safety measures installed to prevent unwanted injections."
prototype = 1

View File

@@ -117,6 +117,15 @@
build_path = /obj/item/device/nifrepairer
sort_string = "HABBE" //Changed String from HABBD to HABBE
/datum/design/item/medical/protohypospray
name = "prototype hypospray"
desc = "This prototype hypospray is a sterile, air-needle autoinjector for rapid administration of drugs to patients."
id = "protohypospray"
req_tech = list(TECH_MATERIAL = 4, TECH_ENGINEERING = 3, TECH_POWER = 2, TECH_BIO = 4, TECH_ILLEGAL = 2)
materials = list(DEFAULT_WALL_MATERIAL = 500, "glass" = 1500, "silver" = 2000, "gold" = 1500, "uranium" = 1000)
build_path = /obj/item/weapon/reagent_containers/hypospray/science
sort_string = "MBBAH"
// Resleeving Circuitboards
/datum/design/circuit/transhuman_clonepod