Adds Drone Identification Cards

Drone FBPs now spawn with an EIO issued ID alongside their NT ID card.
Also makes the bartender's permit automatically name itself when created by the job_controller.
This commit is contained in:
Neerti
2017-04-23 16:30:32 -04:00
parent 4f3e3282b7
commit 6dbff1ee83
6 changed files with 24 additions and 4 deletions
@@ -1497,3 +1497,11 @@
/mob/living/carbon/human/is_muzzled()
return (wear_mask && (istype(wear_mask, /obj/item/clothing/mask/muzzle) || istype(src.wear_mask, /obj/item/weapon/grenade)))
// Called by job_controller. Makes drones start with a permit, might be useful for other people later too.
/mob/living/carbon/human/equip_post_job()
var/braintype = get_FBP_type()
if(braintype == FBP_DRONE)
var/turf/T = get_turf(src)
var/obj/item/weapon/permit/drone/permit = new(T)
permit.set_name(real_name)
equip_to_appropriate_slot(permit) // If for some reason it can't find room, it'll still be on the floor.
+4
View File
@@ -965,3 +965,7 @@ default behaviour is:
if(isSynthetic())
return FALSE
return TRUE
// Called by job_controller.
/mob/living/proc/equip_post_job()
return