mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 22:12:38 +00:00
after equip fixes (#7557)
This commit is contained in:
@@ -72,8 +72,10 @@
|
||||
|
||||
zombie_type = "Tajara Zombie"
|
||||
|
||||
/datum/species/tajaran/before_equip(var/mob/living/carbon/human/H)
|
||||
/datum/species/tajaran/after_equip(var/mob/living/carbon/human/H)
|
||||
. = ..()
|
||||
if(H.shoes)
|
||||
return
|
||||
var/obj/item/clothing/shoes/sandal/S = new /obj/item/clothing/shoes/sandal(H)
|
||||
if(H.equip_to_slot_or_del(S,slot_shoes))
|
||||
S.autodrobe_no_remove = 1
|
||||
@@ -90,8 +90,10 @@
|
||||
|
||||
zombie_type = "Unathi Zombie"
|
||||
|
||||
/datum/species/unathi/before_equip(var/mob/living/carbon/human/H)
|
||||
/datum/species/unathi/after_equip(var/mob/living/carbon/human/H)
|
||||
. = ..()
|
||||
if(H.shoes)
|
||||
return
|
||||
var/obj/item/clothing/shoes/sandal/S = new /obj/item/clothing/shoes/sandal(H)
|
||||
if(H.equip_to_slot_or_del(S,slot_shoes))
|
||||
S.autodrobe_no_remove = 1
|
||||
@@ -122,13 +122,17 @@
|
||||
/datum/species/bug/before_equip(var/mob/living/carbon/human/H)
|
||||
. = ..()
|
||||
H.gender = NEUTER
|
||||
var/obj/item/clothing/shoes/sandal/S = new /obj/item/clothing/shoes/sandal(H)
|
||||
if(H.equip_to_slot_or_del(S,slot_shoes))
|
||||
S.autodrobe_no_remove = 1
|
||||
var/obj/item/clothing/mask/breath/M = new /obj/item/clothing/mask/breath(H)
|
||||
if(H.equip_to_slot_or_del(M, slot_wear_mask))
|
||||
M.autodrobe_no_remove = 1
|
||||
|
||||
/datum/species/bug/after_equip(var/mob/living/carbon/human/H)
|
||||
if(H.shoes)
|
||||
return
|
||||
var/obj/item/clothing/shoes/sandal/S = new /obj/item/clothing/shoes/sandal(H)
|
||||
if(H.equip_to_slot_or_del(S,slot_shoes))
|
||||
S.autodrobe_no_remove = 1
|
||||
|
||||
/datum/species/bug/equip_later_gear(var/mob/living/carbon/human/H)
|
||||
if(istype(H.get_equipped_item(slot_back), /obj/item/storage/backpack))
|
||||
H.equip_to_slot_or_del(new /obj/item/reagent_containers/inhaler/phoron_special(H.back), slot_in_backpack)
|
||||
|
||||
Reference in New Issue
Block a user