Changes

Jump to navigation Jump to search
tweak copied content to fit page
Line 1: Line 1:  
←[[Modding:Index|Index]]
 
←[[Modding:Index|Index]]
   −
Animal data is stored in <samp>Content\Data\FarmAnimals.xnb</samp>, which can be [[Modding:Editing XNB files#unpacking|unpacked for editing]]. Here's the raw data as of {{version|1.5.1}} for reference:
+
This page explains how to create and edit in-game [[Animals|farm animals]].
   −
===Custom farm animals===
+
==Data format==
You can now create and customize [[Animals|farm animals]] by editing the revamped <samp>Data/FarmAnimals</samp> asset.
+
You can add or edit farm animals by editing the <samp>Data/FarmAnimals</samp> [[Modding:Editing XNB files|asset]].
    
This consists of a string → model lookup, where...
 
This consists of a string → model lookup, where...
Line 10: Line 10:  
* The value is a model with the fields listed below.
 
* The value is a model with the fields listed below.
   −
====Main info====
+
===Main info===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 39: Line 39:  
|}
 
|}
   −
====Animal shop====
+
===Animal shop===
 
These fields affect how this farm animal type is shown in [[Marnie's Ranch|Marnie's animal shop]]. Animals are automatically listed if they have a valid <samp>PurchasePrice</samp> value.
 
These fields affect how this farm animal type is shown in [[Marnie's Ranch|Marnie's animal shop]]. Animals are automatically listed if they have a valid <samp>PurchasePrice</samp> value.
   Line 88: Line 88:  
|}
 
|}
   −
====Hatching====
+
===Hatching===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 127: Line 127:  
|}
 
|}
   −
====Growth====
+
===Growth===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 140: Line 140:  
|}
 
|}
   −
====Produce====
+
===Produce===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 224: Line 224:  
|}
 
|}
   −
====Audio & sprite====
+
===Audio & sprite===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 297: Line 297:  
|}
 
|}
   −
====Player profession effects====
+
===Player profession effects===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 313: Line 313:  
|}
 
|}
   −
====Behavior====
+
===Behavior===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 340: Line 340:  
|}
 
|}
   −
====Other====
+
===Other===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
translators
8,437

edits

Navigation menu