mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
Voidsuit Contained Sprites & Refitting (#18683)
* repaths various factional voidsuit icons * tweak to gear loadout messages * sol fix * the new standard, apparently * konyang voidsuit -> coalition.dmi * a collection of offship fixes * incorporates lavilla's fixes * kasf revert * all station voidsuits are now contained sprites * fixes to corporate voidsuits & vaurca sprites * stev's inhands * yeah? * we're so back * modkits & kataphract contained sprites * offship suit cyclers & ghostrole suit fitting * offship suit cyclers * just use a global list * final tweaks * dme fix * tgui prettier * himeo & galatea suits -> coalition.dmi * h
This commit is contained in:
@@ -13,6 +13,25 @@
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user