mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Codework
Adds mirror to medical white closet, the mirror itself, and chance for surgeons to spawn with it.
This commit is contained in:
@@ -121,7 +121,10 @@
|
||||
switch(H.mind.role_alt_title)
|
||||
if("Surgeon")
|
||||
uniform = /obj/item/clothing/under/rank/medical/blue
|
||||
head = /obj/item/clothing/head/surgery/blue
|
||||
if(prob(50))
|
||||
head = /obj/item/clothing/head/headmirror
|
||||
else
|
||||
head = /obj/item/clothing/head/surgery/blue
|
||||
if("Medical Doctor")
|
||||
uniform = /obj/item/clothing/under/rank/medical
|
||||
if("Nurse")
|
||||
|
||||
@@ -413,6 +413,7 @@
|
||||
new /obj/item/clothing/under/medigown(src)
|
||||
new /obj/item/clothing/under/medigown(src)
|
||||
new /obj/item/clothing/under/medigown(src)
|
||||
new /obj/item/clothing/head/headmirror(src)
|
||||
|
||||
|
||||
/obj/structure/closet/wardrobe/grey
|
||||
|
||||
@@ -246,3 +246,22 @@
|
||||
/obj/item/clothing/head/cardborg/dropped(mob/living/user)
|
||||
..()
|
||||
user.remove_alt_appearance("standard_borg_disguise")
|
||||
|
||||
/*
|
||||
* Head Mirror
|
||||
*/
|
||||
/obj/item/clothing/head/headmirror
|
||||
name = "head mirror"
|
||||
desc = "A band of rubber with a very reflective looking mirror attached to the front of it. One of the early signs of medical budget cuts."
|
||||
icon_state = "head_mirror"
|
||||
item_state = "head_mirror"
|
||||
species_fit = list("Vox, Drask")
|
||||
sprite_sheets = list(
|
||||
"Vox" = 'icons/mob/species/vox/head.dmi',
|
||||
"Drask" = 'icons/mob/species/drask/head.dmi',
|
||||
"Grey" = 'icons/mob/species/grey/head.dmi'
|
||||
)
|
||||
|
||||
/obj/item/clothing/head/headmirror/IsReflect()
|
||||
if(prob(15)) //Small chance to reflect energy projectiles if held on hands.
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user