SpelunkyFan wiki

Clothing Shop

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

The Clothing Shop is a shop in Spelunky Classic that sells equipment the player wears, from Spring Shoes to the Cape, and Rope Piles.

Its Shopkeeper welcomes the player with "WELCOME TO SPOONY'S CLOTHING SHOP!", his name one of 32 drawn at random [6] [7]. It sells six pieces of equipment the player wears for the rest of the game, Spring Shoes, Spectacles, Climbing Gloves, the Pitcher's Mitt, the Cape and Spike Shoes, and Rope Piles. 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]. Each try first rolls for a Rope Pile, 1 in 20; failing that, it picks one of the six pieces of equipment, each as likely, and takes it if the level hasn't got one. A try that picks a piece the level has makes the next try's Rope Pile roll likelier, 1 in 19, then 1 in 18 and so on, so by the twentieth try a Rope Pile is certain [10]:

WareRoll
Rope Pile1 in 20 on the first try, 1 in 19 on the second...[11]
Spring ShoesOtherwise 1 in 6, if the level has none[12]
SpectaclesOtherwise 1 in 6, if the level has none[13]
Climbing GlovesOtherwise 1 in 6, if the level has none[14]
Pitcher's MittOtherwise 1 in 6, if the level has none[15]
CapeOtherwise 1 in 6, if the level has none[16]
Spike ShoesOtherwise 1 in 6, if the level has none[17]

So a Clothing Shop sells each piece once at most, and Rope Piles more often the more pieces the level already has. The check is for the piece on the level, not the player's, so the shop sells a piece the player already wears, and buying it again changes nothing [18].

Prices

#

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

WareLevel 2Level 5Level 9Level 13Level 15
Rope Pile$2,500$3,250$4,250$5,250$5,750
Pitcher's Mitt$4,000$5,200$6,800$8,400$9,200
Spike Shoes$4,000$5,200$6,800$8,400$9,200
Spring Shoes$5,000$6,500$8,500$10,500$11,500
Spectacles$8,000$10,400$13,600$16,800$18,400
Climbing Gloves$8,000$10,400$13,600$16,800$18,400
Cape$12,000$15,600$20,400$25,200$27,600

A Black Market's Clothing Shop prices its wares by the level the market is on [20].

Shopkeeper

#

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 [21] [22]. A piece of equipment goes on as it's bought, with its message, and a Rope Pile adds its ropes [23] [24]. A theft, a bomb lit in the shop or a block of its walls broken angers him, and he gives the wares away and attacks with his Shotgun [25] [26].

Stealing

#
Shoplifting from a Clothing Shop. In a Clothing Shop on level 5, the shopkeeper prices the spectacles the player picks up at $10,400. He runs and jumps out of the shop with them, which puts them on, and the shopkeeper fires after him and misses.

Carrying a piece out of the shop's room unpaid angers the Shopkeeper ("COME BACK HERE, THIEF!") and puts it on, as if bought. Whether it goes on at once depends on whether the player or the piece, held in front of him, leaves the room first: if the piece does, the player is left holding it, free, and picking it up again puts it on [27] [28] [18]. In the clip, the player picks up the Spectacles, which the Shopkeeper prices at $10,400 on level 5, and runs and jumps out of the shop with them: they go on, and the Shopkeeper fires after him [29].

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) [30].

Locations

#

A level from 2 to 15 that rolls a shop builds one of seven kinds, each as likely, so a shop is a Clothing Shop one time in seven (one in six on a Temple sacrifice pit level, which never has a Kissing Parlor) [31] [1] [32] [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 Clothing Shop among them (the General Store has the exception) [5] [18].

Trivia

#
  • Its sign shows a shirt [33].
  • Past level 2, the Shopkeeper names a ware without a shop name of its own by its type, so the clip's Spectacles are "A SPECTACLES FOR $10400.", and the Spike Shoes "A SPIKE SHOES" [18] [34].
  • A Rare Shop sells all six of its pieces too, among eleven [35].

FAQ

#
What does the Clothing Shop sell in Spelunky Classic?

Four wares, each one of six pieces of equipment, at most one of each a level: Spring Shoes, Spectacles, Climbing Gloves, the Pitcher's Mitt, the Cape and Spike Shoes; or a Rope Pile, as many as its rolls give.

What is the most expensive thing in a Clothing Shop in Spelunky Classic?

The Cape, at $12,000 on level 2 and 10% of that more on each level after it, up to $27,600 on level 15.

Does buying equipment twice do anything in Spelunky Classic?

No. A Clothing Shop can stock a piece the player already wears, as it only checks that the level hasn't got one, and buying it again changes nothing.

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:129
  7. scripts/scrGetName.gml:24-60
  8. scripts/scrRoomGen.gml:173-191
  9. scripts/scrRoomGen.gml:448-451
  10. scripts/scrShopItemsGen.gml:68-101
  11. scripts/scrShopItemsGen.gml:74
  12. scripts/scrShopItemsGen.gml:75-78
  13. scripts/scrShopItemsGen.gml:79-82
  14. scripts/scrShopItemsGen.gml:83-86
  15. scripts/scrShopItemsGen.gml:87-90
  16. scripts/scrShopItemsGen.gml:91-94
  17. scripts/scrShopItemsGen.gml:95-98
  18. Quirk 1 (docs/quirks.md)
  19. scripts/scrShopItemsGen.gml:179-191
  20. scripts/scrRoomGenMarket.gml:357-360
  21. objects/oShopkeeper/step.gml:72-85
  22. objects/oPlayer1/step.gml:1359-1389
  23. scripts/scrStealItem.gml:103-114
  24. scripts/scrStealItem.gml:126-222
  25. scripts/scrShopkeeperAnger.gml:7-23
  26. objects/oShopkeeper/step.gml:337-408
  27. objects/oPlayer1/step.gml:541-557
  28. objects/oItem/step.gml:17-34
  29. Clip clothing-shop/theft
  30. scripts/scrInitLevel.gml:245-257
  31. scripts/scrLevelGen.gml:239-297
  32. scripts/scrRoomGenYeti.gml:149-181
  33. scripts/scrRoomGen.gml:443
  34. scripts/scrShopItemsGen.gml:187-188
  35. scripts/scrShopItemsGen.gml:68-155

Source code

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