Changes

Jump to navigation Jump to search
1,190 bytes added ,  02:42, 1 May 2022
Created page with "← Index This page explains how the game stores and parses fruit tree data. This is an advanced guide for mod developers. ==Raw data== Fruit tree data is..."
← [[Modding:Index|Index]]

This page explains how the game stores and parses fruit tree data. This is an advanced guide for mod developers.

==Raw data==
Fruit tree data is stored in <samp>Content\Data\fruitTrees.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:

{{collapse|Data|content=<syntaxhighlight lang="json">
{
"628": "0/spring/638/1700",
"629": "1/spring/634/1000",
"630": "2/summer/635/2000",
"631": "3/summer/636/3000",
"632": "4/fall/637/3000",
"633": "5/fall/613/2000",
"69": "7/island/91/2000",
"835": "8/island/834/2000"
}
</syntaxhighlight>}}

==Format==
{| class="wikitable"
|-
! Index
! Field
! colspan="2"|Example Value
|-
| Key
| Seed Index <small>(from [[Modding:Items|ObjectInformation.xnb]])</small>
| 628 <small>''(Cherry Sapling)''</small>
|-
| 0
| Tree ID <small>(a unique, arbitrary number for each fruit tree)</small>
| 0
|-
| 1
| Growth Season <small>(multiple seasons unsupported)</small>
| spring
|-
| 2
| Index of Harvest <small>(from [[Modding:Items|ObjectInformation.xnb]])</small>
| 638 <small>''(Cherry)''</small>
|-
| 3
| Unused
| 1700
|}
118

edits

Navigation menu