Adds combat droid subtype

This commit is contained in:
ZomgPonies
2015-11-20 11:38:14 -05:00
parent e244fdb88d
commit c51f92bf37
2 changed files with 22 additions and 0 deletions
@@ -1409,3 +1409,24 @@ var/list/robot_verbs_default = list(
connected_ai.connected_robots |= src
notify_ai(1)
sync()
/mob/living/silicon/robot/combat/New()
..()
var/module_sprites[0] //Used to store the associations between sprite names and sprite index.
module = new /obj/item/weapon/robot_module/combat(src)
module.channels = list("Security" = 1)
module_sprites["Combat Android"] = "droidcombat"
//languages
module.add_languages(src)
//subsystems
module.add_subsystems(src)
hands.icon_state = lowertext("Combat")
updatename()
status_flags &= ~CANPUSH
choose_icon(6,module_sprites)
radio.config(module.channels)
notify_ai(2)