mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 22:13:24 +00:00
-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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user