mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 12:29:23 +01:00
3f62424312
This has zero reason to exist in our code base. We have no procs or variables tied to this. I removed it to make future modifications cleaner. --------- Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
124 lines
3.8 KiB
Plaintext
124 lines
3.8 KiB
Plaintext
/obj/outfit/admin
|
|
var/id_icon
|
|
|
|
/obj/outfit/admin/pre_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
|
|
. = ..()
|
|
if(!visualsOnly)
|
|
if(H.mind)
|
|
H.mind.assigned_role = name
|
|
H.job = name
|
|
|
|
/obj/outfit/admin/imprint_idcard(mob/living/carbon/human/H, obj/item/card/id/C)
|
|
..()
|
|
if(id_icon)
|
|
C.icon_state = id_icon
|
|
|
|
/obj/outfit/admin/post_equip(mob/living/carbon/human/H, visualsOnly)
|
|
. = ..()
|
|
if(!visualsOnly)
|
|
if(H?.wear_suit && istype(H.wear_suit, /obj/item/clothing/suit/space/void))
|
|
var/obj/item/clothing/suit = H.wear_suit
|
|
if(!(H.species.bodytype in suit.species_restricted))
|
|
if(suit.contained_sprite)
|
|
suit.refit_contained(H.species.bodytype)
|
|
else
|
|
suit.refit_for_species(H.species.bodytype)
|
|
if(H?.head && istype(H.head, /obj/item/clothing/head/helmet/space/void))
|
|
var/obj/item/clothing/head = H.head
|
|
if(!(H.species.bodytype in head.species_restricted))
|
|
if(head.contained_sprite)
|
|
head.refit_contained(H.species.bodytype)
|
|
else
|
|
head.refit_for_species(H.species.bodytype)
|
|
|
|
|
|
/obj/outfit/admin/random_employee
|
|
name = "Random Employee"
|
|
|
|
/obj/outfit/admin/random_employee/pre_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
|
|
. = ..()
|
|
if(!visualsOnly)
|
|
//Select a random job, set the assigned_role / job var and equip it
|
|
var/datum/job/job = SSjobs.GetRandomJob()
|
|
var/alt_title = null
|
|
if(job.alt_titles && prob(50))
|
|
alt_title = pick(job.alt_titles)
|
|
|
|
if(H.mind)
|
|
H.mind.assigned_role = alt_title ? alt_title : job.title
|
|
H.job = alt_title ? alt_title : job.title
|
|
|
|
job.equip(H, FALSE, FALSE, alt_title)
|
|
|
|
|
|
/obj/outfit/admin/random
|
|
name = "Random Civilian"
|
|
|
|
uniform = "suit selection"
|
|
shoes = "shoe selection"
|
|
l_ear = list(
|
|
/obj/item/radio/headset,
|
|
/obj/item/radio/headset/alt,
|
|
)
|
|
back = list(
|
|
/obj/item/storage/backpack,
|
|
/obj/item/storage/backpack/satchel,
|
|
/obj/item/storage/backpack/satchel/leather,
|
|
/obj/item/storage/backpack/duffel,
|
|
/obj/item/storage/backpack/duffel
|
|
)
|
|
|
|
/obj/outfit/admin/random/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
|
|
. = ..()
|
|
if(!visualsOnly)
|
|
if(prob(10)) //Equip something smokable
|
|
var/path = pick(list(
|
|
/obj/item/clothing/mask/smokable/pipe,
|
|
/obj/item/clothing/mask/smokable/pipe/cobpipe,
|
|
/obj/item/storage/box/fancy/cigarettes/cigar,
|
|
/obj/item/storage/box/fancy/cigarettes
|
|
))
|
|
H.equip_or_collect(new path(), slot_wear_mask)
|
|
|
|
if(prob(20)) //Equip some headgear
|
|
var/datum/gear/G = GLOB.gear_datums[pick(list("cap selection","beret, red","hat selection","hijab selection","turban selection"))]
|
|
H.equip_or_collect(G.spawn_random(), slot_head)
|
|
|
|
if(prob(20)) //Equip some sunglasses
|
|
var/path = pick(list(
|
|
/obj/item/clothing/glasses/eyepatch,
|
|
/obj/item/clothing/glasses/regular,
|
|
/obj/item/clothing/glasses/regular/hipster,
|
|
/obj/item/clothing/glasses/monocle,
|
|
/obj/item/clothing/glasses/sunglasses/aviator,
|
|
/obj/item/clothing/glasses/sunglasses/prescription
|
|
))
|
|
H.equip_or_collect(new path(), slot_glasses)
|
|
|
|
if(prob(20)) //Equip some gloves
|
|
var/datum/gear/G = GLOB.gear_datums["gloves selection"]
|
|
H.equip_or_collect(G.spawn_random(), slot_gloves)
|
|
|
|
/obj/outfit/admin/random/visitor
|
|
name = "Random Visitor"
|
|
|
|
id = /obj/item/card/id
|
|
pda = /obj/item/modular_computer/handheld/pda/civilian
|
|
|
|
/obj/outfit/admin/random/visitor/get_id_assignment()
|
|
return "Visitor"
|
|
|
|
/obj/outfit/admin/random/visitor/get_id_rank()
|
|
return "Visitor"
|
|
|
|
/obj/outfit/admin/virtual_reality
|
|
name = "Virtual Reality Outfit"
|
|
uniform = /obj/item/clothing/under/chameleon
|
|
suit = /obj/item/clothing/suit/chameleon
|
|
back = /obj/item/storage/backpack/chameleon
|
|
gloves = /obj/item/clothing/gloves/chameleon
|
|
shoes = /obj/item/clothing/shoes/chameleon
|
|
head = /obj/item/clothing/head/chameleon
|
|
mask = /obj/item/clothing/mask/chameleon
|
|
glasses = /obj/item/clothing/glasses/chameleon
|