diff --git a/code/datums/outfits/outfit_admin.dm b/code/datums/outfits/outfit_admin.dm index 031575b15db..5effbc8c336 100644 --- a/code/datums/outfits/outfit_admin.dm +++ b/code/datums/outfits/outfit_admin.dm @@ -1046,45 +1046,6 @@ apply_to_card(I, H, get_all_accesses(), "Dark Lord", "syndie") -/datum/outfit/admin/ancient_vampire - name = "Ancient Vampire" - // Vampire with tons of blood, and ability to convert others into vampires. - - uniform = /obj/item/clothing/under/color/black - suit = /obj/item/clothing/suit/hooded/chaplain_hoodie - back = /obj/item/weapon/storage/backpack - gloves = /obj/item/clothing/gloves/color/black - shoes = /obj/item/clothing/shoes/black - l_ear = /obj/item/device/radio/headset/syndicate - id = /obj/item/weapon/card/id/syndicate - backpack_contents = list( - /obj/item/weapon/storage/box/survival = 1, - /obj/item/device/flashlight = 1, - ) - -/datum/outfit/admin/ancient_vampire/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE) - . = ..() - if(visualsOnly) - return - - var/obj/item/clothing/suit/hooded/chaplain_hoodie/C = H.wear_suit - if(istype(C)) - C.name = "ancient robes" - C.hood.name = "ancient hood" - - var/obj/item/weapon/card/id/I = H.wear_id - if(istype(I)) - apply_to_card(I, H, get_all_accesses(), "Ancient", "syndie") - - H.make_vampire() - if(H.mind && H.mind.vampire) - H.mind.vampire.bloodtotal = 2500 - H.mind.vampire.bloodusable = 2500 - H.mind.vampire.add_ability(/obj/effect/proc_holder/spell/vampire/targetted/sire) - H.mind.vampire.check_vampire_upgrade() - - - /datum/outfit/admin/wizard uniform = /obj/item/clothing/under/color/lightpurple suit = /obj/item/clothing/suit/wizrobe diff --git a/code/game/gamemodes/vampire/vampire_powers.dm b/code/game/gamemodes/vampire/vampire_powers.dm index d54addd0b1d..1b5921119db 100644 --- a/code/game/gamemodes/vampire/vampire_powers.dm +++ b/code/game/gamemodes/vampire/vampire_powers.dm @@ -350,62 +350,6 @@ add_logs(user, H, "vampire-thralled") -/obj/effect/proc_holder/spell/vampire/targetted/sire - name = "Sire (300)" - desc = "You infect the mind of a human with one of your own kind, creating a new vampire." - gain_desc = "You have gained the sire ability which allows you to create new vampires." - action_icon_state = "vampire_enthrall" - required_blood = 300 - -/obj/effect/proc_holder/spell/vampire/targetted/sire/cast(list/targets, mob/user = usr) - for(var/mob/living/target in targets) - user.visible_message("[user] bites [target]'s neck!", "You bite [target]'s neck and begin the flow of power.") - to_chat(target, "You feel the tendrils of evil invade your mind.") - if(!ishuman(target)) - to_chat(user, "You can only sire humans.") - break - if(do_mob(user, target, 50)) - if(can_sire(user, target)) - handle_sire(user, target) - else - revert_cast(user) - to_chat(user, "You or your target either moved or you dont have enough usable blood.") - -/obj/effect/proc_holder/spell/vampire/targetted/sire/proc/can_sire(mob/living/user, mob/living/carbon/C) - // Unlike can_enthrall, this proc allows usage on mindshielded and traitor targets. Deletes mindshield on use. - if(!C) - log_runtime(EXCEPTION("something bad happened on sireing a mob, attacker is [user] [user.key] \ref[user]"), user) - return 0 - if(!C.mind) - to_chat(user, "[C.name]'s mind is not there for you to sire.") - return 0 - if( ( C.mind in ticker.mode.vampires )||( C.mind.vampire )||( C.mind in ticker.mode.vampire_enthralled )) - C.visible_message("[C] seems to resist the takeover!", "You feel a familiar sensation in your skull that quickly dissipates.") - return 0 - if(!affects(C)) - C.visible_message("[C] seems to resist the takeover!", "Your faith of [ticker.Bible_deity_name] has kept your mind clear of all evil.") - return 0 - if(!ishuman(C)) - to_chat(user, "You can only sire humans!") - return 0 - return 1 - -/obj/effect/proc_holder/spell/vampire/targetted/sire/proc/handle_sire(mob/living/user, mob/living/carbon/human/H as mob) - if(!istype(H)) - return 0 - for(var/obj/item/weapon/implant/mindshield/L in H) - if(L && L.implanted) - to_chat(H, "Your mental protection implant unexpectedly falters, dims, dies.") - qdel(L) - H.make_vampire() - ticker.mode.forge_vampire_objectives(H.mind) - ticker.mode.greet_vampire(H.mind) - ticker.mode.update_vampire_icons_added(H.mind) - to_chat(H, "You have been sireed by [user]. Follow their every command.") - to_chat(user, "You have successfully sireed [H].") - add_logs(user, H, "vampire-sired") - - /obj/effect/proc_holder/spell/vampire/self/cloak name = "Cloak of Darkness" desc = "Toggles whether you are currently cloaking yourself in darkness."