mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 01:22:03 +00:00
* 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>
13 lines
390 B
Plaintext
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)
|