In this example, each NPC will get their response from the <tt>give_flowersA</tt>, <tt>give_flowersB</tt>, and <tt>give_pendant</tt> dialogue key in their [[Modding:Dialogue#Character-specific dialogue|character dialogue]] files. (See [[#Format|format]] below for more info on the syntax.) Note that these should be added for all datable characters to avoid errors. For example, you could add this for Haley:
+
В этом примере каждый NPC получит свой ответ <tt>give_flowersA</tt>, <tt>give_flowersB</tt>, и <tt>give_pendant</tt> ключи диалога в их файлах [[Модификации:Диалоги#Общий диалог, специфичный для NPC|диалога]]. (Смотри [[#Формат|формат]] ниже приведена дополнительная информация о синтаксисе.) Обратите внимание, что они должны быть добавлены для всех вариантов, чтобы избежать ошибок. Например, вы могли бы добавить это для Хейли:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
{
{
Строка 193:
Строка 193:
</syntaxhighlight>
</syntaxhighlight>
−
This can be used for other generic responses, and you even can avoid the "Give Bouquet" by asking for an answered question's ID.
+
Это можно использовать для других общих ответов, и вы даже можете избежать "Подарить букет", запросив ID ответа на вопрос.