Alterações

89 bytes adicionados ,  06h37min de 28 de junho de 2022
Linha 8: Linha 8:     
=== Diálogo específico do personagem ===
 
=== Diálogo específico do personagem ===
<samp>Characters\Dialogue\*.xnb</samp> contém a maior parte do diálogo para cada caractere (um arquivo por caractere). O jogo escolherá o diálogo em uma das seções abaixo, na ordem mostrada aqui.
+
<samp>Characters\Dialogue\*.xnb</samp> contém a maior parte do diálogo de caada personagem(um arquivo por personagem). O jogo escolherá o diálogo em uma das seções abaixo, na ordem mostrada aqui.
    
====Diálogo especial====
 
====Diálogo especial====
Linha 18: Linha 18:  
|-
 
|-
 
| <samp>Rejeição de Dança</samp>
 
| <samp>Rejeição de Dança</samp>
| Diálogo usado para rejeitar uma oferta de dança na [[Dança da Flores]]. (Um diálogo diferente é usado se eles ja estiverem aceitado dançar com outro jogador.)
+
| Diálogo usado para rejeitar uma oferta de dança na [[Dança das Flores]]. (Um diálogo diferente é usado se eles ja estiverem aceitado dançar com outro jogador.)
 
|-
 
|-
 
| <samp>Divorciado</samp>
 
| <samp>Divorciado</samp>
Linha 30: Linha 30:  
|}
 
|}
   −
====Localização do Diálogo====
+
====Diálogo de Localização====
 
Caso contrário, o jogo escolherá o diálogo nesta ordem.
 
Caso contrário, o jogo escolherá o diálogo nesta ordem.
    
Variantes:
 
Variantes:
* Cada chave pode, opcionalmente, ser prefixada com um [[#Seasons|season name]], Como <samp>springMountain_47_23</samp>.
+
* Cada chave pode, opcionalmente, ser prefixada com um [[#Seasons|nome de estação]], Como <samp>springMountain_47_23</samp>.
   −
O jogo verificará as variantes nesta ordem: <samp>{{t|season}}{{t|key}}</samp>, e <samp>{{t|key}}</samp>. As variantes não estão listadas abaixo para simplificar.
+
O jogo verificará as variantes nesta ordem: <samp>{{t|estação}}{{t|key}}</samp>, e <samp>{{t|key}}</samp>. As variantes não estão listadas abaixo para simplificar.
    
{|class="wikitable"
 
{|class="wikitable"
Linha 43: Linha 43:  
! description
 
! description
 
|-
 
|-
| <samp>{{t|location}}_{{t|x}}_{{t|y}}</samp>
+
| <samp>{{t|localização}}_{{t|x}}_{{t|y}}</samp>
| Dialogue shown in the named location when the NPC is standing at tile position {{t|x}}, {{t|y}}.<br /><small>Example: <samp>Mountain_47_23: "I come here for the peace and quiet."</samp></small>
+
| Diálogo mostrado no local definido quando o NPC está em certa localização {{t|x}}, {{t|y}}.<br /><small>Exemplo: <samp>Mountain_47_23: "I come here for the peace and quiet."</samp></small>
 
|-
 
|-
| <samp>{{t|location}}_{{t|dayName}}</samp>
+
| <samp>{{t|localização}}_{{t|dia}}</samp>
| Dialogue shown in the named location on the given [[#Days of week|day of week]].<br /><small>Example: <samp>winter_Fri: "One thing I've learned living here... everyone stares at you if you look different."</samp></small>
+
| Diálogo mostrado no local definido em um dia específico [[#Days of week|dia da semana]].<br /><small>Exemplo: <samp>winter_Fri: "One thing I've learned living here... everyone stares at you if you look different."</samp></small>
 
|-
 
|-
| <samp>{{t|location}}{{t|hearts}}</samp>
+
| <samp>{{t|localização}}{{t|corações}}</samp>
| Dialogue shown in the named location if you have at least {{t|hearts}} hearts with them. The {{t|hearts}} will be checked in the order 10, 8, 6, 4, 2 (no other value will be recognised).<br /><small>Example: <samp>Saloon8: "Hi there @. I'm glad to see you! You're always welcome here."</samp></small>
+
| Diálogo mostrado no local definido se você tiver pelo menos {{t|corações}} corações com ele. Os {{t|corações}} serão checados nessa ordem: 10, 8, 6, 4, 2 (outras quantidades não será reconhecida).<br /><small>Exemplo: <samp>Saloon8: "Olá @. Fico feliz em te ver aqui! Você é sempre bem vindo."</samp></small>
 
|-
 
|-
| <samp>{{t|location}}</samp>
+
| <samp>{{t|localização}}</samp>
| Dialogue shown in the named location.<br /><small>Example: <samp>Saloon: "Now that I'm here I can finally relax and socialize a bit."</samp></small>
+
| Diálogo mostrado no local definido.<br /><small>Example: <samp>Saloon: "Agora que estou aqui, posso finalmente relaxar e socializar um pouco."</samp></small>
 
|}
 
|}
   −
====Diálogo da chuva====
+
====Diálogo na chuva====
 
<samp>Characters\Dialogue\rainy.xnb</samp> Contém uma entrada de diálogo por NPC. Existe, aproximadamente, 50% de chance que eles usem esse diálogo se nenhum deles combinarem, está chovendo, e você não é casado ou divorciado com nenhum deles.
 
<samp>Characters\Dialogue\rainy.xnb</samp> Contém uma entrada de diálogo por NPC. Existe, aproximadamente, 50% de chance que eles usem esse diálogo se nenhum deles combinarem, está chovendo, e você não é casado ou divorciado com nenhum deles.
   Linha 196: Linha 196:     
==Format==
 
==Format==
Dialogue text can contain tokens and commands which control the dialogue box, change the text (e.g. switch between gender-specific strings), inject values, etc. These are parsed by the <samp>Dialogue</samp> class.
+
Dialogue text can contain tokens and commands which control the dialogue box, change the text (''e.g.,'' switch between gender-specific strings), inject values, etc. These are parsed by the <samp>Dialogue</samp> class.
    
Special tokens:
 
Special tokens:
Linha 275: Linha 275:  
|-
 
|-
 
| <samp>$c {{t|probability}}#{{t|text1}}#{{t|text2}}</samp>
 
| <samp>$c {{t|probability}}#{{t|text1}}#{{t|text2}}</samp>
| Show {{t|text1}} with a {{t|probability}} between 0 and 1; otherwise, show {{t|text2}}.  E.g. <code>$c 0.9</code> for a 90% chance of {{t|text1}} and a 10% chance of {{t|text2}}.  NOTE: Replacer commands (see below) do not work in {{t|text1}}. This does not need to be the first command in a dialogue string. It is unaffected by daily luck.
+
| Show {{t|text1}} with a {{t|probability}} between 0 and 1; otherwise, show {{t|text2}}.  For example: <code>$c 0.9</code> for a 90% chance of {{t|text1}} and a 10% chance of {{t|text2}}.  NOTE: Replacer commands (see below) do not work in {{t|text1}}. This does not need to be the first command in a dialogue string. It is unaffected by daily luck.
 
|-
 
|-
 
| <samp>$d {{t|bus|joja|cc}}</samp>
 
| <samp>$d {{t|bus|joja|cc}}</samp>
Linha 391: Linha 391:  
The third response, <code>$r 43 -10 summer_Sat_13#Snoop around in your room</code>, sets response ID 43, reduces Haley's friendship by 10 points, and brings up the dialogue <code>summer_Sat_13</code> (Haley says, "What? You'd better not be doing that!").  All of the other responses set response ID 42, increase Haley's friendship by 10 points, and bring up the dialogue <code>summer_Sat_12</code> ("Hmm... sounds like a lot of work.").
 
The third response, <code>$r 43 -10 summer_Sat_13#Snoop around in your room</code>, sets response ID 43, reduces Haley's friendship by 10 points, and brings up the dialogue <code>summer_Sat_13</code> (Haley says, "What? You'd better not be doing that!").  All of the other responses set response ID 42, increase Haley's friendship by 10 points, and bring up the dialogue <code>summer_Sat_12</code> ("Hmm... sounds like a lot of work.").
   −
The next time <code>summer_Sat</code> is chosen, one of the response IDs listed in the <code>$q</code> command will have been given (either 42 or 43).  Therefore, the <code>$q</code> and everything after is scrapped, and dialogue <code>summer_Sat_old</code> is put in its place.  This new dialogue uses the <code>$p</code> command to change Haley's dialogue based on whether or not you gave response ID 43 to any previous question.  If you answered "Snoop around your room," everything before the <code>|</code> will be used, so Haley will now say, "Farming sounds so boring... Hey, you better not be snooping around in my room anymore!"  If response ID 43 has not been given (in this case, you must have given response ID 42, i.e. one of the other three responses to the previous question), everything after the <code>|</code> will be used, so Haley will instead say, "Farming sounds so boring... But I guess it could get you in pretty good shape."
+
The next time <code>summer_Sat</code> is chosen, one of the response IDs listed in the <code>$q</code> command will have been given (either 42 or 43).  Therefore, the <code>$q</code> and everything after is scrapped, and dialogue <code>summer_Sat_old</code> is put in its place.  This new dialogue uses the <code>$p</code> command to change Haley's dialogue based on whether or not you gave response ID 43 to any previous question.  If you answered "Snoop around your room," everything before the <code>|</code> will be used, so Haley will now say, "Farming sounds so boring... Hey, you better not be snooping around in my room anymore!"  If response ID 43 has not been given (in this case, you must have given response ID 42, ''i.e.,'' one of the other three responses to the previous question), everything after the <code>|</code> will be used, so Haley will instead say, "Farming sounds so boring... But I guess it could get you in pretty good shape."
    
===Comandos substitutos===
 
===Comandos substitutos===
16

edições