ItemShopData.tsv: Difference between revisions
Fieryhenry (talk | contribs) No edit summary |
Fieryhenry (talk | contribs) headers |
||
| Line 3: | Line 3: | ||
| Pack name = [[DataLocal]] | | Pack name = [[DataLocal]] | ||
| Short description = contains various text strings used by the game. | | Short description = contains various text strings used by the game. | ||
| Structure = The file is a [[TSV file]] | | Structure = The file is a [[TSV file]] where each row is a shop item, the first row being a set of headers. The 7 columns are as so: | ||
# Shop ID - the unique identifier of the shop item. | # Shop ID - the unique identifier of the shop item. | ||
# [[Gatyaitems|Gacha Item]] ID - what item should be on sale, the ID references [[GatyaitemName.csv]] and [[Gatyaitembuy.csv]]. | # [[Gatyaitems|Gacha Item]] ID - what item should be on sale, the ID references [[GatyaitemName.csv]] and [[Gatyaitembuy.csv]]. | ||
Latest revision as of 10:31, 7 September 2025
itemShopData.tsv is a file inside of DataLocal which contains various text strings used by the game.
Structure
The file is a TSV file where each row is a shop item, the first row being a set of headers. The 7 columns are as so:
- Shop ID - the unique identifier of the shop item.
- Gacha Item ID - what item should be on sale, the ID references GatyaitemName.csv and Gatyaitembuy.csv.
- Quantity - the number of items to buy per purchase.
- Catfood cost - the amount of catfood this item costs to purchase.
- Render the current quantity - whether or not to display the current amount of this item the player has (0 = don't display, 1 = do display).
- Item category name - a localized string specifying the name of the category to display on the top left of the screen.
- Texture cut ID - ID of the cut in the item000 to display as this item's image.
Examples
0 22 500 1 0 catfood 15
This means that the first item in the shop sells catfood in sets of 500 for the price of 1 catfood.
It doesn't display the current amount.
The category name is the localized key catfood, the value of this would have to be specified in localizable.tsv.
The texture cut id is 15, the item000 texture files would have to be modified so that 15 points to a valid region inside the spritesheet.
Notes
The cost of an item cannot be lower than 1, if it is, the game will default to using a cost of 50 catfood.
Any blank lines or empty fields in the file will be read as an item whose columns are all zeros (or an empty string in the case of the category name), this means that it will overwrite the first shop item with one with an item id of 0, quantity of 0, cost of 50 (see above), have an empty category name and use the first region specified in the texture.