From b6fdb943f88f0cc7106ee24ca33bd7c71d249e42 Mon Sep 17 00:00:00 2001 From: Anorak2024 Date: Mon, 14 Oct 2024 16:55:34 +0300 Subject: [PATCH] dsfd --- code/datums/spell.dm | 2 +- .../antagonists/traitor/affiliates/items/mi13/spy_kit.dm | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/code/datums/spell.dm b/code/datums/spell.dm index 04b96e42a1f..95c63471c2d 100644 --- a/code/datums/spell.dm +++ b/code/datums/spell.dm @@ -397,7 +397,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) /obj/effect/proc_holder/spell/proc/try_perform(list/targets, mob/user) SHOULD_NOT_OVERRIDE(TRUE) if(!length(targets)) - to_chat(user, span_warning("Подходящих целей не найдено.")) + to_chat(user, span_warning("No suitable target found.")) return FALSE if(should_remove_click_intercept(user)) // returns TRUE by default diff --git a/code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm b/code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm index 6ce4d6ed225..a24934da3f9 100644 --- a/code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm +++ b/code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm @@ -142,8 +142,5 @@ /obj/item/storage/box/syndie_kit/spy_bugs_kit/populate_contents() var/network = "MI13_[rand(111111, 999999)]" new /obj/item/camera_bug/spy_monitor(src, list(network)) - new /obj/item/spy_bug(src, list(network), "1") - new /obj/item/spy_bug(src, list(network), "2") - new /obj/item/spy_bug(src, list(network), "3") - new /obj/item/spy_bug(src, list(network), "4") - new /obj/item/spy_bug(src, list(network), "5") + for(var/i = 1; i <= 5; ++i) + new /obj/item/spy_bug(src, list(network), "[i]")