mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-25 01:22:58 +00:00
108 lines
4.7 KiB
Plaintext
108 lines
4.7 KiB
Plaintext
/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
|
|
|
|
|
|
/obj/item/weapon/robot_module/knine
|
|
name = "k9 robot module"
|
|
sprites = list(
|
|
"K9 hound" = "k9",
|
|
"K9 Alternative (Static)" = "k92"
|
|
)
|
|
channels = list("Security" = 1)
|
|
networks = list(NETWORK_SECURITY)
|
|
can_be_pushed = 0
|
|
|
|
/obj/item/weapon/robot_module/knine/New(var/mob/living/silicon/robot/R)
|
|
src.modules += new /obj/item/device/flash(src)
|
|
src.modules += new /obj/item/weapon/handcuffs/cyborg(src) //You need cuffs to be a proper sec borg!
|
|
src.modules += new /obj/item/weapon/dogborg/jaws/big(src) //In case there's some kind of hostile mob.
|
|
src.modules += new /obj/item/weapon/melee/baton/robot(src) //Since the pounce module refused to work, they get a stunbaton instead.
|
|
src.modules += new /obj/item/device/dogborg/boop_module(src) //Boop people on the nose.
|
|
src.modules += new /obj/item/device/dogborg/tongue(src) //This is so they can clean up bloody evidence after it's examined, and so they can lick crew.
|
|
src.modules += new /obj/item/taperoll/police(src) //Block out crime scenes.
|
|
src.modules += new /obj/item/device/dogborg/sleeper/K9(src) //Eat criminals. Bring them to the brig.
|
|
src.modules += new /obj/item/weapon/gun/energy/taser/mounted/cyborg(src) //They /are/ a security borg, after all.
|
|
src.modules += new /obj/item/borg/sight/hud/sec(src) //Security hud to see criminals.
|
|
src.emag = new /obj/item/weapon/gun/energy/laser/mounted(src) //Emag. Not a big problem.
|
|
R.icon = 'icons/mob/widerobot_vr.dmi'
|
|
R.hands.icon = 'icons/mob/screen1_robot_vr.dmi'
|
|
//R.icon_state = "k9"
|
|
R.pixel_x = -16
|
|
R.old_x = -16
|
|
..()
|
|
|
|
/obj/item/weapon/robot_module/knine/respawn_consumable(var/mob/living/silicon/robot/R, var/amount)
|
|
var/obj/item/device/flash/F = locate() in src.modules
|
|
if(F.broken)
|
|
F.broken = 0
|
|
F.times_used = 0
|
|
F.icon_state = "flash"
|
|
else if(F.times_used)
|
|
F.times_used--
|
|
var/obj/item/weapon/gun/energy/taser/mounted/cyborg/T = locate() in src.modules
|
|
if(T.power_supply.charge < T.power_supply.maxcharge)
|
|
T.power_supply.give(T.charge_cost * amount)
|
|
T.update_icon()
|
|
else
|
|
T.charge_tick = 0
|
|
var/obj/item/weapon/melee/baton/robot/B = locate() in src.modules
|
|
if(B && B.bcell)
|
|
B.bcell.give(amount)
|
|
|
|
|
|
/obj/item/weapon/robot_module/medihound
|
|
name = "MediHound module"
|
|
channels = list("Medical" = 1)
|
|
networks = list(NETWORK_MEDICAL)
|
|
can_be_pushed = 0
|
|
sprites = list(
|
|
"Medical Hound" = "medihound",
|
|
"Dark Medical Hound (Static)" = "medihounddark"
|
|
)
|
|
|
|
/obj/item/weapon/robot_module/medihound/New(var/mob/living/silicon/robot/R)
|
|
src.modules += new /obj/item/weapon/dogborg/jaws/small(src) //In case a patient is being attacked by carp.
|
|
src.modules += new /obj/item/device/dogborg/boop_module(src) //Boop the crew.
|
|
src.modules += new /obj/item/device/dogborg/tongue(src) //Clean up bloody items by licking them, and eat rubbish for minor energy.
|
|
src.modules += new /obj/item/device/healthanalyzer(src) // See who's hurt specificially.
|
|
src.modules += new /obj/item/device/dogborg/sleeper(src) //So they can nom people and heal them
|
|
src.modules += new /obj/item/borg/sight/hud/med(src) //See who's hurt generally.
|
|
src.modules += new /obj/item/weapon/extinguisher/mini(src) //So they can put burning patients out.
|
|
src.modules += new /obj/item/weapon/reagent_containers/syringe(src) //In case the chemist is nice!
|
|
R.icon = 'icons/mob/widerobot_vr.dmi'
|
|
R.hands.icon = 'icons/mob/screen1_robot_vr.dmi'
|
|
//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
|
|
..()
|