Modding:Bundles

From Stardew Valley Wiki
Revision as of 04:44, 4 October 2019 by Pathoschild (talk | contribs) (→‎Basic format: rename section to 'Format')
Jump to navigation Jump to search

Index

Raw data

Bundle data is stored in Content\Data\Bundles.xnb, which can be unpacked for editing. Here's the raw data as of 1.3.36 for reference:

Data 
{
  "Pantry/0": "Spring Crops/O 465 20/24 1 0 188 1 0 190 1 0 192 1 0/0",
  "Pantry/1": "Summer Crops/O 621 1/256 1 0 260 1 0 258 1 0 254 1 0/3",
  "Pantry/2": "Fall Crops/BO 10 1/270 1 0 272 1 0 276 1 0 280 1 0/2",
  "Pantry/3": "Quality Crops/BO 15 1/24 5 2 254 5 2 276 5 2 270 5 2/6/3",
  "Pantry/4": "Animal/BO 16 1/186 1 0 182 1 0 174 1 0 438 1 0 440 1 0 442 1 0 639 1 0 640 1 0 641 1 0 642 1 0 643 1 0/4/5",
  "Pantry/5": "Artisan/BO 12 1/432 1 0 428 1 0 426 1 0 424 1 0 340 1 0 344 1 0 613 1 0 634 1 0 635 1 0 636 1 0 637 1 0 638 1 0/1/6",
  "Crafts Room/13": "Spring Foraging/O 495 30/16 1 0 18 1 0 20 1 0 22 1 0/0",
  "Crafts Room/14": "Summer Foraging/O 496 30/396 1 0 398 1 0 402 1 0/3",
  "Crafts Room/15": "Fall Foraging/O 497 30/404 1 0 406 1 0 408 1 0 410 1 0/2",
  "Crafts Room/16": "Winter Foraging/O 498 30/412 1 0 414 1 0 416 1 0 418 1 0/6",
  "Crafts Room/17": "Construction/BO 114 1/388 99 0 388 99 0 390 99 0 709 10 0/4",
  "Crafts Room/19": "Exotic Foraging/O 235 5/88 1 0 90 1 0 78 1 0 420 1 0 422 1 0 724 1 0 725 1 0 726 1 0 257 1 0/1/5",
  "Fish Tank/6": "River Fish/O 685 30/145 1 0 143 1 0 706 1 0 699 1 0/6",
  "Fish Tank/7": "Lake Fish/O 687 1/136 1 0 142 1 0 700 1 0 698 1 0/0",
  "Fish Tank/8": "Ocean Fish/O 690 5/131 1 0 130 1 0 150 1 0 701 1 0/5",
  "Fish Tank/9": "Night Fishing/R 516 1/140 1 0 132 1 0 148 1 0/1",
  "Fish Tank/10": "Specialty Fish/O 242 5/128 1 0 156 1 0 164 1 0 734 1 0/4",
  "Fish Tank/11": "Crab Pot/O 710 3/715 1 0 716 1 0 717 1 0 718 1 0 719 1 0 720 1 0 721 1 0 722 1 0 723 1 0 372 1 0/1/5",
  "Boiler Room/20": "Blacksmith's/BO 13 1/334 1 0 335 1 0 336 1 0/2",
  "Boiler Room/21": "Geologist's/O 749 5/80 1 0 86 1 0 84 1 0 82 1 0/1",
  "Boiler Room/22": "Adventurer's/R 518 1/766 99 0 767 10 0 768 1 0 769 1 0/1/2",
  "Vault/23": "2,500g/O 220 3/-1 2500 2500/4",
  "Vault/24": "5,000g/O 369 30/-1 5000 5000/2",
  "Vault/25": "10,000g/BO 9 1/-1 10000 10000/3",
  "Vault/26": "25,000g/BO 21 1/-1 25000 25000/1",
  "Bulletin Board/31": "Chef's/O 221 3/724 1 0 259 1 0 430 1 0 376 1 0 228 1 0 194 1 0/4",
  "Bulletin Board/32": "Field Research/BO 20 1/422 1 0 392 1 0 702 1 0 536 1 0/5",
  "Bulletin Board/33": "Enchanter's/O 336 5/725 1 0 348 1 0 446 1 0 637 1 0/1",
  "Bulletin Board/34": "Dye/BO 25 1/420 1 0 397 1 0 421 1 0 444 1 0 62 1 0 266 1 0/6",
  "Bulletin Board/35": "Fodder/BO 104 1/262 10 0 178 10 0 613 3 0/3"
}

Format

All bundles share the same format, which cannot be re-ordered. Each field is explained below.

index syntax description
0 <Room ID> The room of the Community Center that the bundle is located in. Possible values are Pantry, Crafts Room, Fish Tank, Boiler Room, Vault, and Bulletin Board.
1 <Sprite Index> The index number for the bundle sprite, pulled from JunimoNote.xnb. Some index numbers will cause a menu crash if used, for unknown reasons. Starts from 0.
2 <Bundle Name> Name to display for the bundle. Can be changed freely.
3 <Type of object> <Object ID> <Number of object given> Reward given for completion of that bundle. Possible object types are O Object, <BO Big Object, or R Ring. IDs may overlap between categories, hence the need for the object type. By default, only multiples of regular objects can be rewarded, not Big Objects or Rings. You also cannot award more than one object per bundle (i.e. give a mayo machine and a cheese press for completing one bundle).
4 <Object ID> <Number needed> <Minimum quality> Objects needed for bundle. May repeat up to twelve entries; any over that will crash the bundle menu. Quality starts at 0 for no quality, up to 3 for iridium quality. Note that not all objects can be iridium quality.
5 <Color Index> Index number of bundle color, as found in JunimoNote.xnb. Starts from 0.
6 <Number of items> Number of items out of possible needed to complete bundle. May not exceed twelve. Higher numbers will cause the deposit spaces to expand out of the background box. If left blank, game will require all possible items for that bundle.
7 <Translated Name> Optional entry. Contains translated name of bundle if playing in language other than English.