mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 06:04:23 +01:00
Adds combat droid subtype
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user