Finishing touches on outfit code

This commit is contained in:
Anewbe
2017-10-04 21:55:55 -05:00
parent 82f24079f4
commit 152cf3362c
9 changed files with 81 additions and 14 deletions
@@ -1518,11 +1518,9 @@
// 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() //Drone Permit moved to equip_survival_gear()
return
/* var/braintype = get_FBP_type()
var/braintype = get_FBP_type()
if(braintype == FBP_DRONE)
var/turf/T = get_turf(src)
var/obj/item/clothing/accessory/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.
*/
equip_to_appropriate_slot(permit) // If for some reason it can't find room, it'll still be on the floor.
@@ -232,13 +232,6 @@
if (extendedtank) H.equip_to_slot_or_del(new boxtype(H.back), slot_in_backpack)
else H.equip_to_slot_or_del(new boxtype(H.back), slot_in_backpack)
var/braintype = H.get_FBP_type()
if(braintype == FBP_DRONE)
var/turf/T = get_turf(H)
var/obj/item/weapon/permit/drone/permit = new(T)
permit.set_name(H.real_name)
H.equip_to_slot_or_del(permit, slot_in_backpack)
/datum/species/proc/create_organs(var/mob/living/carbon/human/H) //Handles creation of mob organs.
H.mob_size = mob_size