mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-07-20 20:22:56 +01:00
c8983e1b03
AKA [PORT] Refactors smiting, adds smite build mode tgstation/tgstation#55327 !! NOT!! A!! RUNNING!! BUILD!! LIGHTNING IS BROKEN IMMERSE IS COMMENTED OUT HALF OF THIS SHIT IS BROKEN DO NOT BASE YOURSELF ON THIS BUILD!!
16 lines
494 B
Plaintext
16 lines
494 B
Plaintext
/// Ties the target's shoes
|
|
/datum/smite/shoes
|
|
name = "Knot Shoes"
|
|
|
|
/datum/smite/shoes/effect(client/user, mob/living/target)
|
|
. = ..()
|
|
if(!iscarbon(target))
|
|
to_chat(usr,"<span class='warning'>This must be used on a carbon mob.</span>")
|
|
return
|
|
var/mob/living/carbon/C = target
|
|
var/obj/item/clothing/shoes/sick_kicks = C.shoes
|
|
if(!sick_kicks?.can_be_tied)
|
|
to_chat(usr,"<span class='warning'>[C] does not have knottable shoes!</span>")
|
|
return
|
|
sick_kicks.adjust_laces(SHOES_KNOTTED)
|