Alterações

Saltar para a navegação Saltar para a pesquisa
80 bytes adicionados ,  01h04min de 16 de novembro de 2017
→‎Mechanics: tradução parcial
Linha 616: Linha 616:  
|}
 
|}
   −
==Mechanics==
+
==Mecânica==
The merchant's standard stock is determined by a random number seeded with the game ID (XPath: <code>/SaveGame/uniqueIDForThisGame</code>) and the days played (XPath: <code>/SaveGame/stats/DaysPlayed</code>).
+
O estoque padrão do mercador é determinado por um número aleatório alimentado com o ID do jogo (XPath: <code>/SaveGame/uniqueIDForThisGame</code>) e a quantidade de dias jogados (XPath: <code>/SaveGame/stats/DaysPlayed</code>).
   −
For each item slot, a random integer (''num'') in the range [2,790) is chosen. ''num'' is then incremented and wrapped to the range [0,790) until there exists an item that satisfies all of the following conditions:
+
Para cada espaço de item, um número inteiro aleatório (''num'') entre [2, 790) é escolhido. ''num'' é então incrementado e encapsulado entre [0,790) até que exista um item que satisfaça todas as condições abaixo:
* ID is equal to ''num'';
+
* ID é igual a ''num'';
* not blacklisted; (see the [http://stardewvalleywiki.com/Talk:Travelling_Cart English Talk page] page for a list of "blacklisted" items)
+
* não está na lista negra; (veja a [http://stardewvalleywiki.com/Talk:Travelling_Cart Página de Conversação em Inglês] com a lista de itens na "lista negra")
* has a category;
+
* tem uma categoria;
* price greater than 0;
+
* seu preço é maior do que 0;
* not named "Weeds";
+
* não é chamado de "Weeds";
* type is not "Quest", "Minerals", or "Arch".
+
* não é do tipo "Quest", "Minerals", or "Arch".
    
The unit price is determined by the larger of 2 random integers in the ranges of [1,11)*100 and [3,6)*base_price. The stack size has a 90% chance to be 1, and 10% chance to be 5.
 
The unit price is determined by the larger of 2 random integers in the ranges of [1,11)*100 and [3,6)*base_price. The stack size has a 90% chance to be 1, and 10% chance to be 5.
89

edições

Menu de navegação