SpelunkyFan wiki

Bomb Shop

Verified against the spelunky.ai port v0.1.10 on .

The Bomb Shop is a shop in Spelunky Classic that sells bombs, in bags and boxes, and the Paste that makes them stick.

Its Shopkeeper welcomes the player with "WELCOME TO TONY'S BOMB SHOP!", his name one of 32 drawn at random [6] [7]. It sells the player's bombs, in Bomb Bags and Bomb Boxes, and the Paste that makes them sticky. Like every shop it's a side room off the way through a level, with four wares on its floor and the Shopkeeper beside them.

Stock

#

The shop has four wares, and each is rolled on its own [8] [9]. The rolls go down the table until one hits; a hit on the Paste when the level already has one rolls again from the top [10]:

WareRoll
Paste1 in 5, if the level has none[11]
Bomb Box, 12Otherwise 1 in 4[12]
Bomb Bag, 3Otherwise[13]

So until the level has a Paste, each ware is a Paste one time in five, a Bomb Box one time in five (4 in 5 times 1 in 4) and a Bomb Bag three times in five; once it has one, a Box one time in four and a Bag otherwise. The check is for a Paste on the level, not for the player's, so a Bomb Shop sells the Paste to a player who already has it [14] [15].

Prices

#

A ware costs its base price on level 2, and 10% of that more for each level after it [16]. Each ware's own page has its price on every level:

WareLevel 2Level 5Level 9Level 13Level 15
Bomb Bag$2,500$3,250$4,250$5,250$5,750
Bomb Box$10,000$13,000$17,000$21,000$23,000
Paste$3,000$3,900$5,100$6,300$6,900

A box of 12 costs four times a bag of 3, so a bomb costs the same either way. A Black Market's Bomb Shop prices its wares by the level the market is on [17].

Shopkeeper

#
Buying bombs in a Bomb Shop. The player walks into a Bomb Shop on level 2 and its shopkeeper welcomes him. He picks up a bag of three bombs for $2500 and pays, and his bombs go from 4 to 7.

The Shopkeeper sells as in every shop (the General Store has the details): he names the price of a ware the player holds, and the pay key buys it [18] [19]. A bag or a box is used up as it's bought, adding its bombs to the player's, and the Paste goes on, making every bomb he throws from then on sticky [20]. In the clip, the player picks up a bag priced at $2,500 and pays for it, and his bombs go from 4 to 7 [21].

The wares are bombs not yet lit, and nothing in them angers him. A bomb the player lights inside the shop within 96 pixels of him does ("TERRORIST!"), and so does breaking a block of the shop's walls or floor ("DIE, YOU VANDAL!") [22] [23]. Either angers every Shopkeeper near the screen, not only the shop's, and in a Black Market a burning bomb adds to the thief count again on every step for each one off screen (the General Store has the details) [15] [24]. Angered, he gives the wares away and attacks with his Shotgun [25].

Stealing

#

Carrying a ware out of the shop's room unpaid angers the Shopkeeper ("COME BACK HERE, THIEF!") and gives it to the player as if bought [26] [27]. A player who runs and jumps out of an Ice Caves Bomb Shop with the Paste has it on as he leaves [28]. A theft marks the player a thief into the next level, whose exit has a Shopkeeper waiting by it and whose shops' wares are free (the General Store has the rules) [29].

Locations

#

A level from 2 to 15 that rolls a shop builds one of seven kinds, each as likely, so a shop is a Bomb Shop one time in seven (one in six on a Temple sacrifice pit level, which never has a Kissing Parlor) [30] [1] [31] [4]. The Mines has how levels roll shops. A Black Market has five shops that sell items, as a rule one of each kind, a Bomb Shop among them (the General Store has the exception) [5] [15].

Trivia

#
  • Its sign shows a bomb, and the source's name for the shop is "Bomb" [32].
  • The Weapon Shop sells Bomb Bags and Bomb Boxes too, and a Weapon Shop that fails twenty times to find a weapon the level hasn't got sells a Bomb Bag instead [33].

FAQ

#
What does the Bomb Shop sell in Spelunky Classic?

Four wares, each a Bomb Bag (3), a Bomb Box (12) or the Paste, which makes the player's bombs stick to what they touch. A level has one Paste at most.

How much does a box of bombs cost in Spelunky Classic?

$10,000 on level 2, and 10% of that more on each level after it, up to $23,000 on level 15. A bag costs $2,500 on level 2.

Can you bomb a Bomb Shop in Spelunky Classic?

Only at a cost. A bomb the player lights inside any shop, near the Shopkeeper, angers him ("TERRORIST!"), as does breaking the shop's walls or floor.

See also

#

References

#
  1. scripts/scrRoomGen.gml:173-204
  2. scripts/scrRoomGen2.gml:160-189
  3. scripts/scrRoomGen3.gml:122-152
  4. scripts/scrRoomGen4.gml:155-188
  5. scripts/scrRoomGenMarket.gml:117-140
  6. objects/oShopkeeper/step.gml:127
  7. scripts/scrGetName.gml:24-60
  8. scripts/scrRoomGen.gml:173-191
  9. scripts/scrRoomGen.gml:448-451
  10. scripts/scrShopItemsGen.gml:24-35
  11. scripts/scrShopItemsGen.gml:28-31
  12. scripts/scrShopItemsGen.gml:32
  13. scripts/scrShopItemsGen.gml:33
  14. scripts/scrShopItemsGen.gml:30
  15. Quirk 1 (docs/quirks.md)
  16. scripts/scrShopItemsGen.gml:179-191
  17. scripts/scrRoomGenMarket.gml:357-360
  18. objects/oShopkeeper/step.gml:72-85
  19. objects/oPlayer1/step.gml:1359-1389
  20. scripts/scrStealItem.gml:68-102
  21. Clip bomb-shop/buy
  22. objects/oBomb/step.gml:6-17
  23. objects/oSolid/destroy.gml:1-7
  24. Replay fidelity/replays/shop-seed-9-market-bomb.txt
  25. objects/oShopkeeper/step.gml:337-408
  26. objects/oPlayer1/step.gml:541-557
  27. objects/oItem/step.gml:17-34
  28. Replay fidelity/replays/item-seed-53-paste.txt
  29. scripts/scrInitLevel.gml:245-257
  30. scripts/scrLevelGen.gml:239-297
  31. scripts/scrRoomGenYeti.gml:149-181
  32. scripts/scrRoomGen.gml:181
  33. scripts/scrShopItemsGen.gml:36-67

Source code

  • scripts/scrShopItemsGen.gml
  • scripts/scrRoomGen.gml
  • scripts/scrRoomGenMarket.gml
  • objects/oShopkeeper/step.gml
  • scripts/scrStealItem.gml
#