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]:
| Ware | Roll | |
|---|---|---|
| Rope Pile | 1 in 20 on the first try, 1 in 19 on the second... | [11] |
| Spring Shoes | Otherwise 1 in 6, if the level has none | [12] |
| Spectacles | Otherwise 1 in 6, if the level has none | [13] |
| Climbing Gloves | Otherwise 1 in 6, if the level has none | [14] |
| Pitcher's Mitt | Otherwise 1 in 6, if the level has none | [15] |
| Cape | Otherwise 1 in 6, if the level has none | [16] |
| Spike Shoes | Otherwise 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:
| Ware | Level 2 | Level 5 | Level 9 | Level 13 | Level 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
#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
#scripts/scrRoomGen.gml:173-204scripts/scrRoomGen2.gml:160-189scripts/scrRoomGen3.gml:122-152scripts/scrRoomGen4.gml:155-188scripts/scrRoomGenMarket.gml:117-140objects/oShopkeeper/step.gml:129scripts/scrGetName.gml:24-60scripts/scrRoomGen.gml:173-191scripts/scrRoomGen.gml:448-451scripts/scrShopItemsGen.gml:68-101scripts/scrShopItemsGen.gml:74scripts/scrShopItemsGen.gml:75-78scripts/scrShopItemsGen.gml:79-82scripts/scrShopItemsGen.gml:83-86scripts/scrShopItemsGen.gml:87-90scripts/scrShopItemsGen.gml:91-94scripts/scrShopItemsGen.gml:95-98- Quirk 1 (docs/quirks.md)
scripts/scrShopItemsGen.gml:179-191scripts/scrRoomGenMarket.gml:357-360objects/oShopkeeper/step.gml:72-85objects/oPlayer1/step.gml:1359-1389scripts/scrStealItem.gml:103-114scripts/scrStealItem.gml:126-222scripts/scrShopkeeperAnger.gml:7-23objects/oShopkeeper/step.gml:337-408objects/oPlayer1/step.gml:541-557objects/oItem/step.gml:17-34- Clip clothing-shop/theft
scripts/scrInitLevel.gml:245-257scripts/scrLevelGen.gml:239-297scripts/scrRoomGenYeti.gml:149-181scripts/scrRoomGen.gml:443scripts/scrShopItemsGen.gml:187-188scripts/scrShopItemsGen.gml:68-155
Source code
scripts/scrShopItemsGen.gmlscripts/scrRoomGen.gmlscripts/scrRoomGenMarket.gmlobjects/oShopkeeper/step.gmlscripts/scrStealItem.gml