Files
Bubberstation/code/modules/admin/smites/petrify.dm
SkyratBot 0f251a5a59 [MIRROR] Petrify Smite [MDB IGNORE] (#22213)
* 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>

* Petrify Smite

---------

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>
2023-07-03 18:02:05 -04:00

13 lines
390 B
Plaintext

/// 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)