(cult music stops) (#29664)

* safety cult dance

* cult dance emote

* more fix also box

* durp
This commit is contained in:
DeityLink
2021-06-03 01:54:26 +02:00
committed by GitHub
parent d2e3e77805
commit 1628ee2cec
9 changed files with 176 additions and 6 deletions

View File

@@ -104,6 +104,7 @@ var/global/floorIsLava = 0
<A href='?src=\ref[src];addcancer=\ref[M]'>Inflict Cancer</A> |
<A href='?src=\ref[src];makecatbeast=\ref[M]'>Make Catbeast</A> |
<A href='?src=\ref[src];makecluwne=\ref[M]'>Make Cluwne</A> |
<A href='?src=\ref[src];makebox=\ref[M]'>Make Box</A> |
<A href='?src=\ref[src];Assplode=\ref[M]'>Assplode</A> |
<A href='?src=\ref[src];DealBrainDam=\ref[M]'>Deal brain damage</A> |
"}

View File

@@ -2377,6 +2377,21 @@
usr = M //We probably transformed ourselves
show_player_panel(M)
else if(href_list["makebox"])
if(!check_rights(R_SPAWN))
return
var/mob/living/carbon/C = locate(href_list["makebox"])
if(!istype(C))
to_chat(usr, "This can only be used on instances of type /mob/living/carbon")
return
var/mob/M = usr.client.cmd_admin_boxify(C)
if(M)
if(M.client == CLIENT)
usr = M //We probably transformed ourselves
show_player_panel(M)
else if(href_list["makecatbeast"])
if(!check_rights(R_SPAWN))
return

View File

@@ -850,9 +850,7 @@ var/global/blood_virus_spreading_disabled = 0
config.world_style_config = world_style
message_admins("The style sheet has been reset by [src.ckey]")
/client/proc/cmd_admin_cluwneize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make Cluwne"
/client/proc/cmd_admin_cluwneize(var/mob/M)
if(!ticker)
alert("Wait until the game starts")
return
@@ -864,6 +862,18 @@ var/global/blood_virus_spreading_disabled = 0
else
alert("Invalid mob, needs to be a human.")
/client/proc/cmd_admin_boxify(var/mob/living/carbon/M)
if(!ticker)
alert("Wait until the game starts")
return
if(iscarbon(M))
message_admins("<span class='notice'>[key_name_admin(usr)] made [key_name(M)] into a cult coffer.</span>", 1)
feedback_add_details("admin_verb","MKBOX") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
log_admin("[key_name(src)] has box-ified [M.key].")
return M.boxify()
else
alert("Invalid mob, needs to be a human.")
client/proc/make_invulnerable(var/mob/M in mob_list)
set name = "Toggle Invulnerability"
set desc = "Make the target atom invulnerable to all form of damage."