Merge pull request #52157 from Ryll-Ryll/sick-kicks

Adds smite to tie someone's shoelaces together
This commit is contained in:
skoglol
2020-07-12 11:39:45 +02:00
committed by GitHub
2 changed files with 13 additions and 1 deletions
+12 -1
View File
@@ -1069,7 +1069,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
ADMIN_PUNISHMENT_NUGGET,
ADMIN_PUNISHMENT_CRACK,
ADMIN_PUNISHMENT_BLEED,
ADMIN_PUNISHMENT_SCARIFY
ADMIN_PUNISHMENT_SCARIFY,
ADMIN_PUNISHMENT_SHOES
)
var/punishment = input("Choose a punishment", "DIVINE SMITING") as null|anything in sortList(punishment_list)
@@ -1180,6 +1181,16 @@ Traitors and the like can also be revived with the previous role mostly intact.
var/mob/living/carbon/C = target
C.generate_fake_scars(rand(1, 4))
to_chat(C, "<span class='warning'>You feel your body grow jaded and torn...</span>")
if(ADMIN_PUNISHMENT_SHOES)
if(!iscarbon(target))
to_chat(usr,"<span class='warning'>This must be used on a carbon mob.</span>", confidential = TRUE)
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>", confidential = TRUE)
return
sick_kicks.adjust_laces(SHOES_KNOTTED)
punish_log(target, punishment)