Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Items
(view source)
Revision as of 02:33, 25 March 2024
130 bytes added
,
25 March
→Data format
:
Continue to change field description table based on the work done in Modding:Migrate to Stardew Valley 1.6
Line 520:
Line 520:
| <samp>Price</samp>
| <samp>Price</samp>
| ''(Optional)'' The price when sold by the player. This is not the price when bought from a shop. Default 0.
| ''(Optional)'' The price when sold by the player. This is not the price when bought from a shop. Default 0.
+
|}
+
+
====Appearance====
+
{| class="wikitable"
+
|-
+
! field
+
! purpose
+
|-
+
| <samp>Texture</samp>
+
| The asset name for the texture containing the item's sprite. Defaults to <samp>Maps/springobjects</samp>.
+
|-
+
| <samp>SpriteIndex</samp>
+
| The sprite's index within the <samp>Texture</samp>, where 0 is the top-left sprite.
|}
|}
Line 550:
Line 563:
| integer
| integer
| The gold price of the item when sold by the player. This is not the price when bought from a shop.
| The gold price of the item when sold by the player. This is not the price when bought from a shop.
−
|-
−
| Texture
−
| string
−
| The asset name for the texture containing the item's sprite, or null for Maps/springobjects.
−
|-
−
| SpriteIndex
−
| integer
−
| The sprite's index in the spritesheet.
|-
|-
| Edibility
| Edibility
BarleyZP
47
edits