mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-09 00:13:55 +00:00
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.
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>")
|