Files
Bubberstation/code/modules/admin/smites/puzzle.dm
SkyratBot 7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00

9 lines
253 B
Plaintext

/// Turns the user into a sliding puzzle
/datum/smite/puzzle
name = "Puzzle"
/datum/smite/puzzle/effect(client/user, mob/living/target)
. = ..()
if(!puzzle_imprison(target))
to_chat(user, span_warning("Imprisonment failed!"), confidential = TRUE)