Changes

Jump to navigation Jump to search
→‎Data format: update for 1.6.4 (+ CanEatGoldenCrackers + SleepFrame + UseDoubleUniqueAnimationFrames, added missing ID fields)
Line 77: Line 77:  
! field
 
! field
 
! effect
 
! effect
 +
|-
 +
| <samp>ID</samp>
 +
| The [[Modding:Common data field types#Unique string ID|unique string ID]] for is purchase type within the current list.
 
|-
 
|-
 
| <samp>AnimalIDs</samp>
 
| <samp>AnimalIDs</samp>
Line 221: Line 224:  
| <samp>HarvestTool</samp>
 
| <samp>HarvestTool</samp>
 
| ''(Optional)'' The [[#Custom items|tool ID]] with which produced items can be collected from the animal, if the <samp>HarvestType</samp> is set to <samp>HarvestWithTool</samp>. The values recognized by the vanilla tools are <samp>Milk Pail</samp> and <samp>Shears</samp>. Default none.
 
| ''(Optional)'' The [[#Custom items|tool ID]] with which produced items can be collected from the animal, if the <samp>HarvestType</samp> is set to <samp>HarvestWithTool</samp>. The values recognized by the vanilla tools are <samp>Milk Pail</samp> and <samp>Shears</samp>. Default none.
 
+
|-
 +
| <samp>CanEatGoldenCrackers</samp>
 +
| ''(Optional)'' Whether players can feed this animal a golden cracker to double its normal output. Default true.
 
|}
 
|}
   Line 275: Line 280:  
| ''(Optional)'' Overrides the equivalent main field when this skin is selected. Defaults to the main field's value.
 
| ''(Optional)'' Overrides the equivalent main field when this skin is selected. Defaults to the main field's value.
 
|}
 
|}
 +
|-
 +
| <samp>SleepFrame</samp>
 +
| ''(Optional)'' The sprite index in the texture to display when sleeping. Default 12.
 +
|-
 +
| <samp>UseDoubleUniqueAnimationFrames</samp>
 +
| ''(Optional)'' Whether the texture has two frames for the randomized 'unique' animation instead of one. Default false.
 +
 +
The unique animation sprite indexes are:
 +
* If false: 13 (down), 14 (right), 12 (left if <samp>UseFlippedRightForLeft</samp> is false), and 15 (up).
 +
* If true: 16 (down), 18 (right), 22 (left), and 20 (up).
 
|-
 
|-
 
| <samp>ShadowWhenBaby</samp><br /><samp>ShadowWhenBabySwims</samp><br /><samp>ShadowWhenAdult</samp><br /><samp>ShadowWhenAdultSwims</samp>
 
| <samp>ShadowWhenBaby</samp><br /><samp>ShadowWhenBabySwims</samp><br /><samp>ShadowWhenAdult</samp><br /><samp>ShadowWhenAdultSwims</samp>
Line 355: Line 370:  
! field
 
! field
 
! effect
 
! effect
 +
|-
 +
| <samp>ID</samp>
 +
| The [[Modding:Common data field types#Unique string ID|unique string ID]] for this entry within the current list.
 
|-
 
|-
 
| <samp>StatName</samp>
 
| <samp>StatName</samp>
translators
8,403

edits

Navigation menu