mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Removed the MASKINTERNALS from /obj/item/clothing/mask flags. There is no reason for -every- mask to act as internals.
Added an issilicon() check to the PDA's remove id/pen verbs so that the AI can no longer be rendered helpless if they happen to click the 'Remove Pen' verb. Fixes issue 1124. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5186 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -782,6 +782,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
set name = "Remove id"
|
||||
set src in usr
|
||||
|
||||
if(issilicon(usr))
|
||||
return
|
||||
|
||||
if ( !(usr.stat || usr.restrained()) )
|
||||
if(id)
|
||||
remove_id()
|
||||
@@ -796,6 +799,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
set name = "Remove pen"
|
||||
set src in usr
|
||||
|
||||
if(issilicon(usr))
|
||||
return
|
||||
|
||||
if ( !(usr.stat || usr.restrained()) )
|
||||
var/obj/item/weapon/pen/O = locate() in src
|
||||
if(O)
|
||||
|
||||
Reference in New Issue
Block a user