mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
check convertables
This commit is contained in:
@@ -499,8 +499,8 @@
|
|||||||
/datum/game_mode/cult/proc/get_unconvertables()
|
/datum/game_mode/cult/proc/get_unconvertables()
|
||||||
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/game_mode/cult/proc/get_unconvertables() called tick#: [world.time]")
|
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/game_mode/cult/proc/get_unconvertables() called tick#: [world.time]")
|
||||||
var/list/ucs = list()
|
var/list/ucs = list()
|
||||||
for(var/mob/living/carbon/human/player in mob_list)
|
for(var/mob/living/carbon/human/player in player_list)
|
||||||
if(!is_convertable_to_cult(player.mind))
|
if(player.mind && !is_convertable_to_cult(player.mind))
|
||||||
ucs += player.mind
|
ucs += player.mind
|
||||||
return ucs
|
return ucs
|
||||||
|
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ var/list/admin_verbs_debug = list(
|
|||||||
/client/proc/cure_disease,
|
/client/proc/cure_disease,
|
||||||
/client/proc/check_bomb,
|
/client/proc/check_bomb,
|
||||||
/client/proc/set_teleport_pref,
|
/client/proc/set_teleport_pref,
|
||||||
|
/client/proc/check_convertables,
|
||||||
/client/proc/cmd_admin_find_bad_blood_tracks,
|
/client/proc/cmd_admin_find_bad_blood_tracks,
|
||||||
#ifdef PROFILE_MACHINES
|
#ifdef PROFILE_MACHINES
|
||||||
/client/proc/cmd_admin_dump_macprofile,
|
/client/proc/cmd_admin_dump_macprofile,
|
||||||
|
|||||||
@@ -1823,6 +1823,26 @@ client/proc/cure_disease()
|
|||||||
log_admin("[src]/([ckey(src.key)] Cured all mobs of [disease_name == "-Cure All-" ? "all diseases." : "[disease_name]"]")
|
log_admin("[src]/([ckey(src.key)] Cured all mobs of [disease_name == "-Cure All-" ? "all diseases." : "[disease_name]"]")
|
||||||
message_admins("[src]/([ckey(src.key)] Cured all mobs of [disease_name == "-Cure All-" ? "all diseases." : "[disease_name]"]")
|
message_admins("[src]/([ckey(src.key)] Cured all mobs of [disease_name == "-Cure All-" ? "all diseases." : "[disease_name]"]")
|
||||||
|
|
||||||
|
client/proc/check_convertables()
|
||||||
|
set name = "Check Convertables"
|
||||||
|
set category = "Debug"
|
||||||
|
if(!holder || !ticker || !ticker.mode) return
|
||||||
|
|
||||||
|
var/dat = ""
|
||||||
|
for(var/mob/M in player_list)
|
||||||
|
if(!M.mind)
|
||||||
|
dat += "[M.real_name]/([ckey(src.key)]): <font color=grey><b>NO MIND</b></font></br>"
|
||||||
|
else if(!istype(M,/mob/living/carbon/human))
|
||||||
|
dat += "[M.real_name]/([ckey(src.key)]): <b>NOT HUMAN</b></br>"
|
||||||
|
else if(!is_convertable_to_cult(M.mind))
|
||||||
|
dat += "[M.real_name]/([ckey(src.key)]): <font color=red><b>UNCONVERTABLE</b></font></br>"
|
||||||
|
else if(M.mind in ticker.mode.cult)
|
||||||
|
dat += "[M.real_name]/([ckey(src.key)]): <font color=blue><b>CULTIST</b></font></br>"
|
||||||
|
else
|
||||||
|
dat += "[M.real_name]/([ckey(src.key)]): <font color=green><b>CONVERTABLE</b></font></br>"
|
||||||
|
|
||||||
|
usr << dat
|
||||||
|
|
||||||
/client/proc/spawn_datum(var/object as text)
|
/client/proc/spawn_datum(var/object as text)
|
||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set desc = "(datum path) Spawn a datum (turfs NOT supported)"
|
set desc = "(datum path) Spawn a datum (turfs NOT supported)"
|
||||||
|
|||||||
Reference in New Issue
Block a user