From 8d5684dfb1536589ce3cd6977038b8dfa0a2b0cc Mon Sep 17 00:00:00 2001
From: Legendaxe <102746941+Legendaxe@users.noreply.github.com>
Date: Fri, 13 Oct 2023 23:55:57 +0300
Subject: [PATCH] renamed local variables
---
modular_ss220/credits/code/credits.dm | 30 +++++++++++++--------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/modular_ss220/credits/code/credits.dm b/modular_ss220/credits/code/credits.dm
index d389fcd5efbf..5014f4e464a1 100644
--- a/modular_ss220/credits/code/credits.dm
+++ b/modular_ss220/credits/code/credits.dm
@@ -105,16 +105,16 @@ GLOBAL_LIST(end_titles)
possible_titles += "[pick("ПОВОРОТ НЕ ТУДА", "ОХОТА ЗА ЗЕЛЕНОЙ \"КОЛБАСКОЙ\"", "ЧУЖОЙ ПРОТИВ ТОРГОВОГО АВТОМАТА", "КОСМИЧЕСКИЕ ДАЛЬНОБОЙЩИКИ")]"
titles += "
EPISODE [GLOB.round_id]
[pick(possible_titles)]
"
- for(var/mob/living/carbon/human/H in GLOB.alive_mob_list | GLOB.dead_mob_list)
- if(findtext(H.real_name,"(mannequin)"))
+ for(var/mob/living/carbon/human/human in GLOB.alive_mob_list | GLOB.dead_mob_list)
+ if(findtext(human.real_name,"(mannequin)"))
continue
- if(ismonkeybasic(H))
+ if(ismonkeybasic(human))
continue
- if(H.last_known_ckey == null) //don't mention these losers (prespawned corpses mostly)
+ if(human.last_known_ckey == null)
continue
if(!length(cast) && !chunksize)
chunk += "В съемках участвовали:"
- chunk += "[H.real_name] в роли [uppertext(H.job)]"
+ chunk += "[human.real_name] в роли [uppertext(human.job)]"
chunksize++
if(chunksize > 2)
cast += "[jointext(chunk,"
")]"
@@ -127,11 +127,11 @@ GLOBAL_LIST(end_titles)
var/list/corpses = list()
- for(var/mob/living/carbon/human/H in GLOB.dead_mob_list)
- if(H.last_known_ckey == null) //no prespawned corpses
+ for(var/mob/living/carbon/human/human in GLOB.dead_mob_list)
+ if(human.last_known_ckey == null)
continue
- else if(H.real_name)
- corpses += H.real_name
+ else if(human.real_name)
+ corpses += human.real_name
if(length(corpses))
titles += "Основано на реальных событиях
В память о [english_list(corpses)]."
@@ -139,14 +139,14 @@ GLOBAL_LIST(end_titles)
var/list/staff = list("Съемочная группа:")
var/list/staffjobs = list("Носильщик кофе", "Оператор", "Надоедливый крикун", "Ответсвенный за лопату", "Хореограф", "Исторический консультант", "Дизайнер костюмов", "Главный редактор", "Исполнительный директор")
var/list/goodboys = list()
- for(var/client/C)
- if(!C.holder)
+ for(var/client/client)
+ if(!client.holder)
continue
- if(C.holder.rights & (R_DEBUG|R_ADMIN|R_MOD))
- staff += "[uppertext(pick(staffjobs))] - '[C.key]'"
- else if(C.holder.rights & R_MENTOR)
- goodboys += "[C.key]"
+ if(client.holder.rights & (R_DEBUG|R_ADMIN|R_MOD))
+ staff += "[uppertext(pick(staffjobs))] - '[client.key]'"
+ else if(client.holder.rights & R_MENTOR)
+ goodboys += "[client.key]"
titles += "[jointext(staff,"
")]"
if(length(goodboys))