Commit 3e012cc0 authored by ririchiyo's avatar ririchiyo
Browse files

Added upgradeable module that can be constructed at the mechfab

when the required research levels are reach.
Module allows medical cyborgs to have access to surgery tools.
parent c149c3ec
......@@ -19,6 +19,36 @@
return 0
// Medical Cyborg Stuff
/obj/item/borg/upgrade/medical/surgery
name = "medical module board"
desc = "Used to give a medical cyborg surgery tools."
icon_state = "cyborg_upgrade"
construction_cost = list("metal"=80000 , "glass"=6000)
require_module = 1
/obj/item/borg/upgrade/medical/surgery/action(var/mob/living/silicon/robot/R)
if(..()) return 0
if(!istype(R.module, /obj/item/weapon/robot_module/medical))
R << "Upgrade mounting error! This module is reserved for medical modules!"
usr << "There's no mounting point for the module!"
return 0
else
R.module.modules += new/obj/item/weapon/circular_saw
R.module.modules += new/obj/item/weapon/scalpel
R.module.modules += new/obj/item/weapon/bonesetter
R.module.modules += new/obj/item/weapon/FixOVein
R.module.modules += new/obj/item/weapon/surgicaldrill
R.module.modules += new/obj/item/weapon/cautery
R.module.modules += new/obj/item/weapon/hemostat
R.module.modules += new/obj/item/weapon/retractor
return 1
// End of Medical Cyborg Stuff
/obj/item/borg/upgrade/reset
name = "robotic module reset board"
desc = "Used to reset a cyborg's module. Destroys any other upgrades applied to the robot."
......
......@@ -1329,6 +1329,17 @@ datum/design/nanopaste
build_type = PROTOLATHE
materials = list("$metal" = 7000, "$glass" = 7000)
build_path = "/obj/item/stack/nanopaste"
datum/design/medical_module_surgery
name = "medical module board"
desc = "Used to give a medical cyborg surgery tools."
id = "medical_module_surgery"
req_tech = list("biotech" = 3, "engineering" = 3)
build_type = MECHFAB
materials = list("$metal" = 80000, "$glass" = 20000)
build_path = "/obj/item/borg/upgrade/medical/surgery"
category = "Robotic Upgrade Modules"
/////////////////////////////////////////
/////////////////Weapons/////////////////
/////////////////////////////////////////
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment