Files
kiwistation/code/modules/admin/smites/puzzle.dm
T
Jared-Fogle 39fd90b17a Refactors smiting, adds smite build mode (#55327)
Refactors smiting out from being a large switch/case into datums.

Adds a new smite option to build mode. This lets you choose a smite and rapidly apply it to a lot of people, presumably for EORG. Requested for by...one of the admins, I forget which.
2020-12-11 00:22:00 +00:00

9 lines
268 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 class='warning'>Imprisonment failed!</span>", confidential = TRUE)