mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Changed DNA injector logging so it doesn't spam admins unless it's a monkey SE.
It also shows up in the attack log now. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4071 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -79,13 +79,13 @@
|
|||||||
if (dnatype == "se")
|
if (dnatype == "se")
|
||||||
if (isblockon(getblock(dna, 14,3),14) && istype(M, /mob/living/carbon/human))
|
if (isblockon(getblock(dna, 14,3),14) && istype(M, /mob/living/carbon/human))
|
||||||
message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name] \red(MONKEY)")
|
message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name] \red(MONKEY)")
|
||||||
log_game("[key_name(user)] injected [key_name(M)] with the [name] (MONKEY)")
|
log_attack("[key_name(user)] injected [key_name(M)] with the [name] (MONKEY)")
|
||||||
else
|
else
|
||||||
message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name]")
|
// message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name]")
|
||||||
log_game("[key_name(user)] injected [key_name(M)] with the [name]")
|
log_attack("[key_name(user)] injected [key_name(M)] with the [name]")
|
||||||
else
|
else
|
||||||
message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name]")
|
// message_admins("[key_name_admin(user)] injected [key_name_admin(M)] with the [name]")
|
||||||
log_game("[key_name(user)] injected [key_name(M)] with the [name]")
|
log_attack("[key_name(user)] injected [key_name(M)] with the [name]")
|
||||||
|
|
||||||
spawn( 0 )
|
spawn( 0 )
|
||||||
O.process()
|
O.process()
|
||||||
|
|||||||
Reference in New Issue
Block a user