Changes

Create page
{{stub}}

← [[Modding:Index|Index]]

This page explains how to add and edit [[Special Items & Powers|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 <samp>Data/Powers</samp>. 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==
{| class="wikitable"
! Field
! Description
|-
| <samp>DisplayName</samp>
| A [[Modding:Tokenizable strings|tokenizable string]] used to display the translated name of the item, once unlocked.
|-
| <samp>Description</samp> ''(Optional)''
| A [[Modding:Tokenizable strings|tokenizable string]] used to display the translated description of the item, once unlocked.
|-
| <samp>TexturePath</samp>
| The path to the texture to use for the item sprite.
|-
| <samp>TexturePosition</samp>
| The pixel coordinates of the upper left corner of the sprite in the texture. Sprites are always <samp>16 x 16</samp>
|-
| <samp>UnlockedCondition</samp>
| A [[Modding:Game state queries|game state query]] used to determine whether or not the item has been unlocked.
|}

==Raw Data==
TODO