- Welding masks now have the view range lowered by default

- You can add a photo to you ID (Just one tho)
- If you examine someone with a photo on his ID, it'll tell you it has a photo
- Commented out code which spawns a photo of you at round start/late join
- Moving Mining out of beta

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1193 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-03-16 06:02:42 +00:00
parent 2363af252b
commit cb843d95af
6 changed files with 52 additions and 4 deletions

View File

@@ -50,7 +50,34 @@ FINGERPRINT CARD
else
..()
/obj/item/weapon/card/id/attackby(obj/item/weapon/W as obj, mob/user as mob)
..()
if(istype(W,/obj/item/weapon/photo))
if(!(PHOTO))
src.PHOTO = W
usr.u_equip(W)
W.loc = src
if ((usr.client && usr.s_active != src))
usr.client.screen -= W
//src.orient2hud(usr)
W.dropped(usr)
add_fingerprint(usr)
usr << "\blue You add the photo to the ID"
else
usr << "\blue There is already a photo on this ID"
//PHOTO.loc = locate(0,0,0)
/obj/item/weapon/card/id/verb/removePhoto()
set name = "Remove Photo"
if(PHOTO)
contents -= PHOTO
PHOTO.loc = usr.loc
PHOTO.layer = 3
PHOTO = null
else
usr << "\blue There is no photo to remove"
// FINGERPRINT HOLDER