Changes

link to item id page instead
Line 54: Line 54:     
<ul>
 
<ul>
<li>''Universal tastes'' apply to all villagers. Their key is <tt>Universal_''Taste''</tt>, and their value is a space-delimited array of reference IDs (item ID if ≥0, category ID if <0). For example, consider this entry:
+
<li>''Universal tastes'' apply to all villagers. Their key is <tt>Universal_''Taste''</tt>, and their value is a space-delimited array of reference IDs ([[Modding:Object data|item ID]] if ≥0, category ID if <0). For example, consider this entry:
    
<source lang="json">
 
<source lang="json">
Line 60: Line 60:  
</source>
 
</source>
   −
This data means villagers should have a universal like for category -2, item 72, etc.</li>
+
This data means villagers should have a universal like for category -2, [[Modding:Object data|item 72]], etc.</li>
    
<li>''Personal tastes'' apply to a specific villager. Their key is the villager's internal name (like <tt>Abigail</tt>), and their value alternates dialogue text with a list of reference IDs in this order: love, like, dislike, hate, and neutral. For example, consider Abigail's gift tastes:
 
<li>''Personal tastes'' apply to a specific villager. Their key is the villager's internal name (like <tt>Abigail</tt>), and their value alternates dialogue text with a list of reference IDs in this order: love, like, dislike, hate, and neutral. For example, consider Abigail's gift tastes:
Line 109: Line 109:  
The data format allows tastes to conflict in multiple ways:
 
The data format allows tastes to conflict in multiple ways:
   −
* between an item ID and category ID;
+
* between an [[Modding:Object data|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);
Line 171: Line 171:  
return TASTE
 
return TASTE
 
</pre>
 
</pre>
  −
==See also==
  −
[[Modding:Object_data]]
      
[[Category:Modding]]
 
[[Category:Modding]]
    
[[pt:Modificações:Dados dos gostos do presente]]
 
[[pt:Modificações:Dados dos gostos do presente]]
106,033

edits