Adds in an ERT borg

This commit is contained in:
killer653
2016-11-18 22:59:47 -05:00
parent eb652d27bf
commit 7197834863
8 changed files with 69 additions and 3 deletions
@@ -281,4 +281,28 @@
var/obj/effect/decal/cleanable/C = locate() in target
del(C)
target.clean_blood()
return
return
/obj/item/weapon/gun/energy/taser/mounted/cyborg/ertgun //Not a taser, but it's being used as a base so it takes energy and actually works.
name = "disabler"
desc = "A small and nonlethal gun produced by NT.."
icon = 'icons/mob/dogborg_vr.dmi'
icon_state = "projgun"
fire_sound = 'sound/weapons/eLuger.ogg'
projectile_type = /obj/item/projectile/beam/disable
charge_cost = 1000 //High cost.
recharge_time = 10 //Takes ten ticks to recharge a laser, so don't waste them all!
/obj/item/weapon/dogborg/swordtail
name = "sword tail"
icon = 'icons/mob/dogborg_vr.dmi'
icon_state = "swordtail"
desc = "A glowing pink dagger normally attached to the end of a cyborg's tail. It appears to be extremely sharp."
flags = CONDUCT
force = 20 //Takes 5 hits to 100-0
sharp = 1
edge = 1
throwforce = 0 //This shouldn't be thrown in the first place.
hitsound = 'sound/weapons/blade1.ogg'
attack_verb = list("slashed", "stabbed", "jabbed", "mauled", "sliced")
w_class = ITEMSIZE_NORMAL
@@ -249,6 +249,7 @@
if(crisis || security_level == SEC_LEVEL_RED || crisis_override) // VOREStation Edit
src << "\red Crisis mode active. Combat module available."
modules+="Combat"
modules+="ERT" //VOREStation Edit
modtype = input("Please, select a module!", "Robot module", null, null) as null|anything in modules
if(module)
@@ -1,6 +1,7 @@
/hook/startup/proc/robot_modules_vr()
robot_modules["Medihound"] = /obj/item/weapon/robot_module/medihound
robot_modules["K9"] = /obj/item/weapon/robot_module/knine
robot_modules["ERT"] = /obj/item/weapon/robot_module/ert
return 1
@@ -76,4 +77,31 @@
//R.icon_state = "medihound"
R.pixel_x = -16
R.old_x = -16
..()
..()
/obj/item/weapon/robot_module/ert
name = "Emergency Responce module"
channels = list("Security" = 1)
networks = list(NETWORK_SECURITY)
can_be_pushed = 0
sprites = list(
"Standard" = "ert"
)
/obj/item/weapon/robot_module/ert/New(var/mob/living/silicon/robot/R)
src.modules += new /obj/item/device/flash(src)
src.modules += new /obj/item/weapon/handcuffs/cyborg(src)
src.modules += new /obj/item/weapon/dogborg/jaws/big(src)
src.modules += new /obj/item/weapon/melee/baton/robot(src)
src.modules += new /obj/item/device/dogborg/tongue(src)
src.modules += new /obj/item/taperoll/police(src)
src.modules += new /obj/item/device/dogborg/sleeper/K9(src)
src.modules += new /obj/item/borg/sight/hud/sec(src)
src.modules += new /obj/item/weapon/gun/energy/taser/mounted/cyborg/ertgun(src)
src.modules += new /obj/item/weapon/dogborg/swordtail(src)
src.emag = new /obj/item/weapon/gun/energy/laser/mounted(src)
R.icon = 'icons/mob/62x62robot_vr.dmi'
R.hands.icon = 'icons/mob/screen1_robot_vr.dmi'
R.pixel_x = -16
R.old_x = -16
..()