Porting UI changes for AI's and Robots

Gives AI's a set of icons for their more common tasks.
Makes Cyborg inventories work like backpacks.
This commit is contained in:
jack-fractal
2015-05-18 19:24:41 -04:00
parent 14eb56aca7
commit 4a450545ef
16 changed files with 480 additions and 80 deletions
+8
View File
@@ -180,6 +180,14 @@
user.put_in_active_hand(src)
return
/obj/item/attack_ai(mob/user as mob)
if (istype(src.loc, /obj/item/weapon/robot_module))
//If the item is part of a cyborg module, equip it
if(!isrobot(user)) return
var/mob/living/silicon/robot/R = user
R.activate_module(src)
R.hud_used.update_robot_modules_display()
// Due to storage type consolidation this should get used more now.
// I have cleaned it up a little, but it could probably use more. -Sayu
/obj/item/attackby(obj/item/weapon/W as obj, mob/user as mob)