From ae25d8a4d0d8ceacbed9cee0541e505e3d56d72e Mon Sep 17 00:00:00 2001 From: Lzimann Date: Fri, 10 Mar 2017 13:56:46 -0300 Subject: [PATCH] More fixes to outputs with extra/no spaces --- code/__HELPERS/icons.dm | 2 +- code/__HELPERS/maths.dm | 2 +- code/game/machinery/overview.dm | 4 ++-- code/game/machinery/teleporter.dm | 2 +- code/modules/events/holiday/friday13th.dm | 2 +- code/modules/mining/machine_vending.dm | 2 +- code/modules/paperwork/contract.dm | 2 +- code/modules/power/singularity/emitter.dm | 2 +- code/modules/power/singularity/field_generator.dm | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/code/__HELPERS/icons.dm b/code/__HELPERS/icons.dm index 2daf9450389..69349bcc982 100644 --- a/code/__HELPERS/icons.dm +++ b/code/__HELPERS/icons.dm @@ -167,7 +167,7 @@ mob Output_Icon() set name = "2. Output Icon" - src<<"Icon is: \icon[getFlatIcon(src)]" + to_chat(src, "Icon is: \icon[getFlatIcon(src)]") Label_Icon() set name = "3. Label Icon" diff --git a/code/__HELPERS/maths.dm b/code/__HELPERS/maths.dm index 58ce45ffabb..c7a912af59f 100644 --- a/code/__HELPERS/maths.dm +++ b/code/__HELPERS/maths.dm @@ -139,7 +139,7 @@ var/list/sqrtTable = list(1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, var/size_factor = ((-cos(inputToDegrees) +1) /2) //returns a value from 0 to 1 return size_factor + scaling_modifier //scale mod of 0 results in a number from 0 to 1. A scale modifier of +0.5 returns 0.5 to 1.5 - //world<< "Transform multiplier of [src] is [size_factor + scaling_modifer]" + //to_chat(world, "Transform multiplier of [src] is [size_factor + scaling_modifer]") diff --git a/code/game/machinery/overview.dm b/code/game/machinery/overview.dm index 57b0ae2cd8c..9dfb77ab669 100644 --- a/code/game/machinery/overview.dm +++ b/code/game/machinery/overview.dm @@ -163,7 +163,7 @@ H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]" - //world<<"\icon[I] at [H.screen_loc]" + //to_chat(world, "\icon[I] at [H.screen_loc]") H.name = (i==0)?"maprefresh":"map" @@ -289,7 +289,7 @@ H.screen_loc = "[5 + i%icx],[6+ round(i/icx)]" - //world<<"\icon[I] at [H.screen_loc]" + //to_chat(world, "\icon[I] at [H.screen_loc]") H.name = (i==0)?"maprefresh":"map" diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm index 4b3b6f6796c..55d9fac2edd 100644 --- a/code/game/machinery/teleporter.dm +++ b/code/game/machinery/teleporter.dm @@ -305,7 +305,7 @@ if(ishuman(M))//don't remove people from the round randomly you jerks var/mob/living/carbon/human/human = M if(human.dna && human.dna.species.id == "human") - M << "You hear a buzzing in your ears." + to_chat(M, "You hear a buzzing in your ears.") human.set_species(/datum/species/fly) human.apply_effect((rand(120 - accurate * 40, 180 - accurate * 60)), IRRADIATE, 0) diff --git a/code/modules/events/holiday/friday13th.dm b/code/modules/events/holiday/friday13th.dm index e1a393fb867..50c690f6e70 100644 --- a/code/modules/events/holiday/friday13th.dm +++ b/code/modules/events/holiday/friday13th.dm @@ -15,4 +15,4 @@ /datum/round_event/fridaythethirteen/announce() for(var/mob/living/L in player_list) - L << "You are feeling unlucky today." \ No newline at end of file + to_chat(L, "You are feeling unlucky today.") \ No newline at end of file diff --git a/code/modules/mining/machine_vending.dm b/code/modules/mining/machine_vending.dm index 42121d7952f..123c41a8004 100644 --- a/code/modules/mining/machine_vending.dm +++ b/code/modules/mining/machine_vending.dm @@ -275,7 +275,7 @@ I.access |= access_mining_station I.access |= access_mineral_storeroom I.access |= access_cargo - user << "You upgrade [I] with mining access." + to_chat(user, "You upgrade [I] with mining access.") qdel(src) ..() diff --git a/code/modules/paperwork/contract.dm b/code/modules/paperwork/contract.dm index f9b93e73125..634a2d056d9 100644 --- a/code/modules/paperwork/contract.dm +++ b/code/modules/paperwork/contract.dm @@ -186,7 +186,7 @@ to_chat(user, "You are already alive, this contract would do nothing.") else if(signed) - user<< "This contract has already been signed. It may not be signed again." + to_chat(user, "This contract has already been signed. It may not be signed again.") else to_chat(user, "You quickly scrawl your name on the contract") if(FulfillContract(target.current, blood)<=0) diff --git a/code/modules/power/singularity/emitter.dm b/code/modules/power/singularity/emitter.dm index f6bccc13d01..575026a6701 100644 --- a/code/modules/power/singularity/emitter.dm +++ b/code/modules/power/singularity/emitter.dm @@ -220,7 +220,7 @@ /obj/machinery/power/emitter/can_be_unfasten_wrench(mob/user, silent) if(state == EM_WELDED) if(!silent) - user << "[src] is welded to the floor!" + to_chat(user, "[src] is welded to the floor!") return FAILED_UNFASTEN return ..() diff --git a/code/modules/power/singularity/field_generator.dm b/code/modules/power/singularity/field_generator.dm index c73099e676a..dc72a29e333 100644 --- a/code/modules/power/singularity/field_generator.dm +++ b/code/modules/power/singularity/field_generator.dm @@ -80,7 +80,7 @@ field_generator power level display /obj/machinery/field/generator/can_be_unfasten_wrench(mob/user, silent) if(state == FG_WELDED) if(!silent) - user << "[src] is welded to the floor!" + to_chat(user, "[src] is welded to the floor!") return FAILED_UNFASTEN return ..()