Alterações

Saltar para a navegação Saltar para a pesquisa
sem resumo de edição
Linha 112: Linha 112:  
* between an item ID and category ID;
 
* between an item ID and category ID;
 
* between a universal taste and personal taste;
 
* between a universal taste and personal taste;
* between conflicting values (''e.g.'', Jodi both loves and hates Daffodils (item ID 18) specifically);
+
* between conflicting values (''e.g.,'' Jodi both loves and hates Daffodils (item ID 18) specifically);
* and any combination of the above (''e.g.'', between a universal item ID and personal category ID).
+
* and any combination of the above (''e.g.,'' between a universal item ID and personal category ID).
    
The game uses a rather complicated algorithm to determine how much an NPC likes an gift (see <samp>NPC::getGiftTasteForThisItem</samp>). Here's a cleaned up version of the algorithm in pseudocode:
 
The game uses a rather complicated algorithm to determine how much an NPC likes an gift (see <samp>NPC::getGiftTasteForThisItem</samp>). Here's a cleaned up version of the algorithm in pseudocode:
105 474

edições

Menu de navegação