Changes
Jump to navigation
Jump to search
← 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
46
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version