Изменения

Строка 195: Строка 195:  
This can be used for other generic responses, and you even can avoid the "Give Bouquet" by asking for an answered question's ID.
 
This can be used for other generic responses, and you even can avoid the "Give Bouquet" by asking for an answered question's ID.
   −
==Algorithm==
+
==Алгоритм==
The game finds dialogue as follows:
+
Игра находит диалог следующим образом:
   −
# Event dialogue is read from the appropriate event commands (see [[Modding:Event data]]).
+
# Диалог событий считывается из соответствующих команд событий (смотри [[Модификации:События]]).
# Location-specific dialogue is read from <tt>StringsFromCSFiles {{t|location}}.cs</tt>.
+
# Диалог по конкретному местоположению читается из <tt>StringsFromCSFiles {{t|location}}.cs</tt>.
# Else character dialogue is read from the character-specific files.
+
# Диалог с другими персонажами считывается из файлов, относящихся к конкретным персонажам.
# If no dialogues were found, the game resorts to hardcoded dialogue from the <tt>StringsFromCSFiles</tt> files (specifically keys prefixed with <tt>NPC.cs</tt> NPC.cs).
+
# Если диалоги не были найдены, игра прибегает к жестко закодированному диалогу из <tt>StringsFromCSFiles</tt> (в частности, ключи с префиксом <tt>NPC.cs</tt> NPC.cs).
    
==Формат==
 
==Формат==
602

правки