Modding:Powers
Jump to navigation
Jump to search
Article Stub
This article is a stub and is missing information. You can help Stardew Valley Wiki by expanding it! |
← Index
This page explains how to add and edit powers, also known as "special items". It is an advanced guide for modders. Before reading this page, see Modding:Editing XNB files for the basic concepts.
Overview
Powers are unique "items" that can be obtained only once per player, and permanently unlock new abilities. Information for powers is stored in Data/Powers. This does not, by itself, add any abilities to the player. It contains information used to display powers in the menu, and unlock them when needed.
Format
Field | Description |
---|---|
DisplayName | A tokenizable string used to display the translated name of the item, once unlocked. |
Description (Optional) | A tokenizable string used to display the translated description of the item, once unlocked. |
TexturePath | The path to the texture to use for the item sprite. |
TexturePosition | The pixel coordinates of the upper left corner of the sprite in the texture. Sprites are always 16 x 16 |
UnlockedCondition | A game state query used to determine whether or not the item has been unlocked. |
Raw Data
TODO