This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Changes

Jump to: navigation, search

Modding:Achievement data

643 bytes added, 23:15, 5 October 2017
parsing info
← [[Modding:Index|Index]]
 
{{stub|missing parsing info}}
This page explains how the game stores and parses achievement data. This is an advanced guide for mod developers.
{| class="wikitable"
|-
! indexIndex! fieldField! example valueExample Value
|-
| 0
|-
| 2
| ???display achievement on collections tab before it's earned
| ''true''
|-
| 3
| ???prerequisite achievement
| ''-1''
|-
| 4
| hat earned (possibly achievement IDindex from <tt>hats.xnb</tt>)
| ''13''
|-
|}
If index 2 is "true" and index 3 is "-1" then the achievement star will be displayed on the collections tab (greyed out if not yet achieved). Otherwise, index 3 shows the number of the achievement that must be earned before the achievement will be displayed on the Collections tab. (Example: you must earn achievement 28 "Treasure Trove" before achievement 5 "A Complete Collection" will be displayed.)
 
The only achievement with a value of "false" in index 2 is the secret achievement that doesn't display until it's earned.
For a list of hats, see [[Modding:Hat data|Hat data]].
[[Category:Modding]]
Managers, moderator
70,170
edits

Navigation menu