From 24763f8bb08e5813a91e740294064674a18a3e09 Mon Sep 17 00:00:00 2001 From: Cael_Aislinn Date: Mon, 18 Feb 2013 13:07:01 +1000 Subject: [PATCH] removed debug output, cleanup of alien languages, bumped tajaran darkseeing Signed-off-by: Cael_Aislinn --- code/modules/events/infestation.dm | 2 +- code/modules/mob/living/carbon/human/life.dm | 5 +-- code/modules/mob/living/say.dm | 43 ++++++++++---------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/code/modules/events/infestation.dm b/code/modules/events/infestation.dm index 513f83ea5ed..04dc7d46a17 100644 --- a/code/modules/events/infestation.dm +++ b/code/modules/events/infestation.dm @@ -94,7 +94,7 @@ var/spawn_type = pick(spawn_types) new spawn_type(T) num-- - world << "[vermstring] spawned in [spawn_area_type]" + //world << "[vermstring] spawned in [spawn_area_type]" /datum/event/infestation/announce() command_alert("Bioscans indicate that [vermstring] have been breeding in [locstring]. Clear them out, before this starts to affect productivity.", "Vermin infestation") diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 3dbe68a53fe..8b238f6ee91 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1260,10 +1260,9 @@ var/const/BLOOD_VOLUME_SURVIVE = 122 if("lizard","slime") see_in_dark = 3 see_invisible = SEE_INVISIBLE_LEVEL_ONE - if("tajaran") - see_in_dark = 4 - if("shadow") + if("shadow","tajaran") see_in_dark = 8 + see_invisible = SEE_INVISIBLE_LEVEL_ONE else see_in_dark = 2 diff --git a/code/modules/mob/living/say.dm b/code/modules/mob/living/say.dm index 1b5e8e5e3f4..425c730ba85 100644 --- a/code/modules/mob/living/say.dm +++ b/code/modules/mob/living/say.dm @@ -15,6 +15,9 @@ var/list/department_radio_keys = list( ":t" = "Syndicate", "#t" = "Syndicate", ".t" = "Syndicate", ":u" = "Supply", "#u" = "Supply", ".u" = "Supply", ":g" = "changeling", "#g" = "changeling", ".g" = "changeling", + ":k" = "skrell", "#k" = "skrell", ".k" = "skrell", + ":j" = "tajaran", "#j" = "tajaran", ".j" = "tajaran", + ":o" = "soghun", "#o" = "soghun", ".o" = "soghun", ":R" = "right hand", "#R" = "right hand", ".R" = "right hand", ":L" = "left hand", "#L" = "left hand", ".L" = "left hand", @@ -31,6 +34,9 @@ var/list/department_radio_keys = list( ":T" = "Syndicate", "#T" = "Syndicate", ".T" = "Syndicate", ":U" = "Supply", "#U" = "Supply", ".U" = "Supply", ":G" = "changeling", "#G" = "changeling", ".G" = "changeling", + ":K" = "skrell", "#K" = "skrell", ".K" = "skrell", + ":J" = "tajaran", "#J" = "tajaran", ".J" = "tajaran", + ":O" = "soghun", "#O" = "soghun", ".O" = "soghun", //kinda localization -- rastaf0 //same keys as above, but on russian keyboard layout. This file uses cp1251 as encoding. @@ -139,27 +145,6 @@ var/list/department_radio_keys = list( if (!message) return - //work out if we're speaking skrell or not - var/is_speaking_skrell = 0 - if(copytext(message, 1, 3) == ":k" || copytext(message, 1, 3) == ":K") - message = copytext(message, 3) - if(skrell_talk_understand || universal_speak) - is_speaking_skrell = 1 - - //work out if we're speaking soghun or not - var/is_speaking_soghun = 0 - if(copytext(message, 1, 3) == ":o" || copytext(message, 1, 3) == ":O") - message = copytext(message, 3) - if(soghun_talk_understand || universal_speak) - is_speaking_soghun = 1 - - //work out if we're speaking soghun or not - var/is_speaking_taj = 0 - if(copytext(message, 1, 3) == ":j" || copytext(message, 1, 3) == ":J") - message = copytext(message, 3) - if(tajaran_talk_understand || universal_speak) - is_speaking_taj = 1 - // :downs: if (getBrainLoss() >= 60) message = replacetext(message, " am ", " ") @@ -191,6 +176,10 @@ var/list/department_radio_keys = list( */ var/list/obj/item/used_radios = new + var/is_speaking_skrell = 0 + var/is_speaking_soghun = 0 + var/is_speaking_taj = 0 + switch (message_mode) if ("headset") if (src:ears) @@ -269,6 +258,18 @@ var/list/department_radio_keys = list( message_range = 1 italics = 1 + if ("tajaran") + if(tajaran_talk_understand || universal_speak) + is_speaking_taj = 1 + + if ("soghun") + if(soghun_talk_understand || universal_speak) + is_speaking_soghun = 1 + + if ("skrell") + if(skrell_talk_understand || universal_speak) + is_speaking_skrell = 1 + if("changeling") if(mind && mind.changeling) for(var/mob/Changeling in mob_list)