i love pacman

This commit is contained in:
identification
2019-08-30 17:31:52 +01:00
parent 9569cf3c99
commit e241e8e913
10 changed files with 99 additions and 0 deletions

View File

@@ -344,6 +344,21 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
else
alert("Invalid mob")
/client/proc/cmd_admin_pacmanize(mob/M in GLOB.mob_list)
set category = "Fun"
set name = "Make pacman"
if(!SSticker.HasRoundStarted())
alert("Wait until the game starts")
return
if(ishuman(M))
INVOKE_ASYNC(M, /mob/living/carbon/human/proc/pacmanize)
SSblackbox.record_feedback("tally", "admin_verb", 1, "Make Pacman") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
log_admin("[key_name(usr)] made [key_name(M)] into a pacman at [AREACOORD(M)].")
message_admins("<span class='adminnotice'>[key_name_admin(usr)] made [ADMIN_LOOKUPFLW(M)] into a pacman.</span>")
else
alert("Invalid mob")
/proc/make_types_fancy(var/list/types)
if (ispath(types))
types = list(types)