mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 11:02:08 +00:00
Admin tools tweak (#5634)
- Show Player panel was reworked to just have a sing "Select Species" button that includes all species in species datum. - AI is added as an option of transformation - Developers are granted access to Game Panel - (used only for Create object/mob/tur)
This commit is contained in:
committed by
Werner
parent
155cda1b5f
commit
0f953b1a87
@@ -282,9 +282,9 @@
|
||||
if("observer") M.change_mob_type( /mob/abstract/observer , null, null, delmob )
|
||||
if("larva") M.change_mob_type( /mob/living/carbon/alien/larva , null, null, delmob )
|
||||
if("nymph") M.change_mob_type( /mob/living/carbon/alien/diona , null, null, delmob )
|
||||
if("human") M.change_mob_type( /mob/living/carbon/human , null, null, delmob, href_list["species"])
|
||||
if("human") spawn_humanoid_species_admin(usr, M, delmob)
|
||||
if("slime") M.change_mob_type( /mob/living/carbon/slime , null, null, delmob )
|
||||
if("monkey") M.change_mob_type( /mob/living/carbon/human/monkey , null, null, delmob )
|
||||
if("ai") M.change_mob_type( /mob/living/silicon/ai , null, null, delmob )
|
||||
if("robot") M.change_mob_type( /mob/living/silicon/robot , null, null, delmob )
|
||||
if("cat") M.change_mob_type( /mob/living/simple_animal/cat , null, null, delmob )
|
||||
if("runtime") M.change_mob_type( /mob/living/simple_animal/cat/fluff/Runtime , null, null, delmob )
|
||||
@@ -1691,3 +1691,9 @@ mob/living/silicon/ai/can_centcom_reply()
|
||||
|
||||
. = "<A HREF='?[source];adminplayerobservejump=\ref[target]'>JMP</A>"
|
||||
. += target.extra_admin_link(source)
|
||||
|
||||
/proc/spawn_humanoid_species_admin(var/mob/user, var/mob/M, var/delmob)
|
||||
var/input = input(user, "Select a species:") as null|anything in all_species
|
||||
if(!input)
|
||||
return
|
||||
M.change_mob_type( /mob/living/carbon/human , null, null, delmob, input)
|
||||
|
||||
Reference in New Issue
Block a user