diff --git a/code/modules/mob/living/carbon/human/species_types/vampire.dm b/code/modules/mob/living/carbon/human/species_types/vampire.dm index 6f7f227a80..4bc3d622ac 100644 --- a/code/modules/mob/living/carbon/human/species_types/vampire.dm +++ b/code/modules/mob/living/carbon/human/species_types/vampire.dm @@ -128,3 +128,23 @@ charge_max = 50 cooldown_min = 50 shapeshift_type = /mob/living/simple_animal/hostile/retaliate/bat + var/ventcrawl_nude_only = TRUE + var/transfer_name = TRUE + +/obj/effect/proc_holder/spell/targeted/shapeshift/bat/Shapeshift(mob/living/caster) //cit change + var/obj/shapeshift_holder/H = locate() in caster + if(H) + to_chat(caster, "You're already shapeshifted!") + return + + var/mob/living/shape = new shapeshift_type(caster.loc) + H = new(shape,src,caster) + if(istype(H, /mob/living/simple_animal)) + var/mob/living/simple_animal/SA = H + if(ventcrawl_nude_only && length(caster.get_equipped_items(include_pockets = TRUE))) + SA.ventcrawler = FALSE + if(transfer_name) + H.name = caster.name + + clothes_req = 0 + human_req = 0