Petrify Smite (#75538)

## About The Pull Request
adds a smite to petrify someone forever, works like the wizard spell.
Adds support to make petrification brainless.
Creates a var to remove those annoying "you can not move while buckled
to X" messages for abstract items like statues.
## Why It's Good For The Game
Smite good. Message spam bad.
## Changelog
🆑 itseasytosee
spellcheck: You should see a lot less "you can not move while bucked too
X" messages where they don't make sense.
admin: Added a petrify smite. Try it out on your least favorite player!
/🆑

---------

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
itseasytosee
2023-07-03 13:10:18 -04:00
committed by GitHub
co-authored by san7890
parent b2ee84c9c9
commit 65703df45d
5 changed files with 28 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
/// Turn pur target to stone, forever
/datum/smite/petrify
name = "Petrify"
/datum/smite/petrify/effect(client/user, mob/living/target)
. = ..()
if(!ishuman(target))
to_chat(user, span_warning("This must be used on a human subtype."), confidential = TRUE)
return
var/mob/living/carbon/human/human_target = target
human_target.petrify(statue_timer = INFINITY, save_brain = FALSE)