mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Adds a nugget smite for admins (#22637)
* new smites * part dos * just nugget * msg update * forgot to move this * Review * added logmsg * Update code/modules/mob/living/carbon/human/human_death.dm Tested and applied! Co-authored-by: Farie82 <farie82@users.noreply.github.com> --------- Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -2065,6 +2065,7 @@
|
||||
ptypes += "Crew Traitor"
|
||||
ptypes += "Floor Cluwne"
|
||||
ptypes += "Shamebrero"
|
||||
ptypes += "Nugget"
|
||||
var/punishment = input(owner, "How would you like to smite [M]?", "Its good to be baaaad...", "") as null|anything in ptypes
|
||||
if(!(punishment in ptypes))
|
||||
return
|
||||
@@ -2180,6 +2181,13 @@
|
||||
var/obj/item/clothing/head/sombrero/shamebrero/S = new(H.loc)
|
||||
H.equip_to_slot_or_del(S, SLOT_HUD_HEAD)
|
||||
logmsg = "shamebrero"
|
||||
if("Nugget")
|
||||
H.Weaken(12 SECONDS, TRUE)
|
||||
H.AdjustJitter(40 SECONDS)
|
||||
to_chat(H, "<span class='danger'>You feel as if your limbs are being ripped from your body!</span>")
|
||||
addtimer(CALLBACK(H, TYPE_PROC_REF(/mob/living/carbon/human, make_nugget)), 6 SECONDS)
|
||||
logmsg = "nugget"
|
||||
|
||||
if(logmsg)
|
||||
log_admin("[key_name(owner)] smited [key_name(M)] with: [logmsg]")
|
||||
message_admins("[key_name_admin(owner)] smited [key_name_admin(M)] with: [logmsg]")
|
||||
|
||||
Reference in New Issue
Block a user