From 60e81a364717040850385ef74b9e25e79fa84c95 Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 18 Nov 2017 11:44:00 -0500 Subject: [PATCH] Misc code removals/changes (#3813) * ? * merge dev * pasue * anti-pasue * f * done * revert * miscounted * changes * revert --- .travis.yml | 2 +- code/game/machinery/teleporter.dm | 4 ++-- code/modules/admin/verbs/randomverbs.dm | 2 +- code/modules/mob/living/carbon/human/human_powers.dm | 4 ++-- code/modules/projectiles/gun.dm | 3 --- code/modules/shuttles/shuttle_specops.dm | 4 ++-- 6 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce9d64adbf1..ef62a52cead 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: global: BYOND_MAJOR="511" BYOND_MINOR="1385" - MACRO_COUNT=120 + MACRO_COUNT=77 FLYWAY_BUILD="4.2.0" matrix: - USE_MAP=aurora diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm index b45113c730d..6531f9d898b 100644 --- a/code/game/machinery/teleporter.dm +++ b/code/game/machinery/teleporter.dm @@ -89,7 +89,7 @@ var/list/L = list() var/list/areaindex = list() - for(var/obj/item/device/radio/beacon/R in world) + for(var/obj/item/device/radio/beacon/R in teleportbeacons) var/turf/T = get_turf(R) if (!T) continue @@ -102,7 +102,7 @@ areaindex[tmpname] = 1 L[tmpname] = R - for (var/obj/item/weapon/implant/tracking/I in world) + for (var/obj/item/weapon/implant/tracking/I in implants) if (!I.implanted || !ismob(I.loc)) continue else diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 4923f1df6bd..98a95f9cd09 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -488,7 +488,7 @@ Traitors and the like can also be revived with the previous role mostly intact. else M.add_ion_law(input) for(var/mob/living/silicon/ai/O in mob_list) - O << "\red " + input + "\red...LAWS UPDATED" + O << "" + input + "...LAWS UPDATED" O.show_laws() log_admin("Admin [key_name(usr)] has added a new AI law - [input]",admin_key=key_name(usr)) diff --git a/code/modules/mob/living/carbon/human/human_powers.dm b/code/modules/mob/living/carbon/human/human_powers.dm index d058cdc0438..19b19ce1128 100644 --- a/code/modules/mob/living/carbon/human/human_powers.dm +++ b/code/modules/mob/living/carbon/human/human_powers.dm @@ -229,8 +229,8 @@ var/msg = sanitize(input("Message:", "Psychic Whisper") as text|null) if(msg) log_say("PsychicWhisper: [key_name(src)]->[M.key] : [msg]",ckey=key_name(src)) - M << "\green You hear a strange, alien voice in your head... \italic [msg]" - src << "\green You said: \"[msg]\" to [M]" + M << "You hear a strange, alien voice in your head... \italic [msg]" + src << "You said: \"[msg]\" to [M]" return /mob/living/carbon/human/proc/bugbite() diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 3b0a07643b9..30cf48e60dd 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -78,12 +78,9 @@ //aiming system stuff - var/keep_aim = 1 //1 for keep shooting until aim is lowered - //0 for one bullet after tarrget moves and aim is lowered var/multi_aim = 0 //Used to determine if you can target multiple people. var/tmp/list/mob/living/aim_targets //List of who yer targeting. var/tmp/mob/living/last_moved_mob //Used to fire faster at more than one person. - var/tmp/told_cant_shoot = 0 //So that it doesn't spam them with the fact they cannot hit them. var/tmp/lock_time = -100 /obj/item/weapon/gun/Initialize() diff --git a/code/modules/shuttles/shuttle_specops.dm b/code/modules/shuttles/shuttle_specops.dm index 8cbbebba2bc..852dbf2b7dd 100644 --- a/code/modules/shuttles/shuttle_specops.dm +++ b/code/modules/shuttles/shuttle_specops.dm @@ -180,10 +180,10 @@ sleep(10) var/spawn_marauder[] = new() - for(var/obj/effect/landmark/L in world) + for(var/obj/effect/landmark/L in landmarks_list) if(L.name == "Marauder Entry") spawn_marauder.Add(L) - for(var/obj/effect/landmark/L in world) + for(var/obj/effect/landmark/L in landmarks_list) if(L.name == "Marauder Exit") var/obj/effect/portal/P = new(L.loc) P.invisibility = 101//So it is not seen by anyone.