Jump to content

ItemShopData.tsv: Difference between revisions

From Battle Cats Game Modding Wiki
Created page with "{{Game file | File name = itemShopData.tsv | Pack name = DataLocal | Short description = contains various text strings used by the game. | Structure = The file is a TSV file with 7 columns 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 catfoo..."
 
tsv files category
Line 14: Line 14:
0 22 500 1 0 catfood 15  
0 22 500 1 0 catfood 15  
</syntaxhighlight>
</syntaxhighlight>
[[Category:TSV files]]
This means that the first item in the shop sells catfood in sets of 500 for the price of 1 catfood.
This means that the first item in the shop sells catfood in sets of 500 for the price of 1 catfood.



Revision as of 14:12, 4 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 with 7 columns as so:

  1. Shop ID - the unique identifier of the shop item.
  2. Gacha Item ID - what item should be on sale, the ID references GatyaitemName.csv and Gatyaitembuy.csv.
  3. Quantity - the number of items to buy per purchase.
  4. Catfood cost - the amount of catfood this item costs to purchase.
  5. 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).
  6. Item category name - a localized string specifying the name of the category to display on the top left of the screen.
  7. 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.