Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/modules/admin/admin_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ GLOBAL_PROTECT(admin_verbs_debug)
/client/proc/cmd_regenerate_asset_cache,
/client/proc/cmd_clear_smart_asset_cache,
/client/proc/select_job_pack_debug,
/client/proc/spawn_mob,
)
GLOBAL_LIST_INIT(admin_verbs_possess, list(/proc/possess, GLOBAL_PROC_REF(release)))
GLOBAL_PROTECT(admin_verbs_possess)
Expand Down Expand Up @@ -295,6 +296,7 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
/client/proc/toggle_combo_hud,
/client/proc/debug_huds,
/client/proc/roll_admin_dice,
/client/proc/spawn_mob,
))
GLOBAL_PROTECT(admin_verbs_hideable)

Expand Down
15 changes: 15 additions & 0 deletions code/modules/admin/verbs/randomverbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1061,3 +1061,18 @@ Traitors and the like can also be revived with the previous role mostly intact.
message_admins(span_adminnotice("Messenger Bird Letter: [key_name_admin(usr)] -> [key_name_admin(M)] : [msg]"))
log_game("LETTER RECEIVED: [key_name(usr)] -> [key_name(M)]: \n[msg]")
SSblackbox.record_feedback("tally", "admin_verb_send_messenger_bird", 1, "Messenger Bird Letter") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

/client/proc/spawn_mob()
set name = "Spawn/Inhabit Mob"
set category = "Debug"
set desc = "Spawn and inhabit a human mob."

if(!check_rights(R_ADMIN))
return

if(isnewplayer(src.mob))
to_chat(src, "<span class='warning'>Thou shalt not spawn a debug mob in the lobby area!</span>")
return
else
var/mob/living/carbon/human/species/human/northern/NM = new(get_turf(src.mob))
NM.key = src.key
7 changes: 7 additions & 0 deletions html/changelogs/cinnilen-mob_spawn_debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

author: "cinnilen"

delete-after: True

changes:
- rscadd: "Added debug verb to spawn a mob and inhabit it quickly.""
Loading