-Cyborgs can use Page Down to activate an item in their held module.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5092 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-17 00:08:37 +00:00
parent 8328a9c78e
commit 32a855049f
2 changed files with 15 additions and 9 deletions

View File

@@ -1033,4 +1033,16 @@
if(R)
R.UnlinkSelf()
R << "Buffers flushed and reset. Camera system shutdown. All systems operational."
src.verbs -= /mob/living/silicon/robot/proc/ResetSecurityCodes
src.verbs -= /mob/living/silicon/robot/proc/ResetSecurityCodes
/mob/living/silicon/robot/mode()
set name = "Activate Held Object"
set category = "IC"
set src = usr
if(module_active)
var/obj/item/W = module_active
if (W)
W.attack_self(src)
return

View File

@@ -143,14 +143,8 @@
/client/verb/attack_self()
set hidden = 1
if(mob.hand)
if(mob.l_hand)
mob.l_hand.attack_self(mob)
mob.update_inv_l_hand()
else
if(mob.r_hand)
mob.r_hand.attack_self(mob)
mob.update_inv_r_hand()
if(mob)
mob.mode()
return