Skip to content

Instantly share code, notes, and snippets.

@mloc
Created June 18, 2012 10:41
Show Gist options
  • Save mloc/2947818 to your computer and use it in GitHub Desktop.
Save mloc/2947818 to your computer and use it in GitHub Desktop.
stuff
/obj/item/clothing/glasses/cyberneticscarf/attack_hand(mob/user as mob)
if(istype(user, /mob/living/carbon/human) && istype(user:glasses, /obj/item/clothing/glasses/cyberneticscarf))
if(istype(access_point, /obj/machinery/vr_access))
if(access_point in range(2))
user << "\blue You activate the [src]..."
var/mob/living/carbon/human/simulation/M = new(access_point:entry_point)
M.real_mob = user
M.name = user.name
M.real_name = user:real_name
M.gender = user:gender
M.age = user:age
M.dna.b_type = user:dna:b_type
M.r_eyes = user:r_eyes
M.g_eyes = user:g_eyes
M.b_eyes = user:b_eyes
M.r_hair = user:r_hair
M.g_hair = user:g_hair
M.b_hair = user:b_hair
M.r_facial = user:r_facial
M.g_facial = user:g_facial
M.b_facial = user:b_facial
M.s_tone = user:s_tone
M.h_style = user:h_style
M.f_style = user:f_style
M.hair_icon_state = user:hair_icon_state
M.face_icon_state = user:face_icon_state
M.underwear = user:underwear
M.equip_by_rank(100)
M.update_face()
M.update_body()
M.update_clothing()
M.key = user.key
return
else
user << "\red Access point not in range."
return
else
user << "\red No access point defined."
return
else
return ..()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment