mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-04-01 18:01:21 +01:00
* 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. * Refactors smiting, adds smite build mode Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
13 lines
442 B
Plaintext
13 lines
442 B
Plaintext
/// Gives the target fake scars
|
|
/datum/smite/scarify
|
|
name = "Scarify"
|
|
|
|
/datum/smite/scarify/effect(client/user, mob/living/target)
|
|
. = ..()
|
|
if(!iscarbon(target))
|
|
to_chat(user, "<span class='warning'>This must be used on a carbon mob.</span>", confidential = TRUE)
|
|
return
|
|
var/mob/living/carbon/dude = target
|
|
dude.generate_fake_scars(rand(1, 4))
|
|
to_chat(dude, "<span class='warning'>You feel your body grow jaded and torn...</span>")
|