R.E.P.O.R.E.P.O.wiki
Illustrative community picture showing the tax token machine.
Illustrative community picture showing the tax token machine from R.E.P.O. Fandom Wiki, CC-BY-SA-4.0 (license), by Mikola2023. It has been re-encoded for this page. It is not a screenshot taken by this site.

Extraction and the shop · R.E.P.O. v0.4.0 · read from a local copy

What the shop puts out

The shop holds the volumes it can use and the items it may offer.

The shop between runs in R.E.P.O. chooses its stock rather than displaying a fixed shelf: it holds the volumes it may put things in, keeps separate pools of ordinary items, consumables, upgrades and health packs, has secret stock as well, and works to a target amount for each kind.

What the game establishes

In play

What is for sale between runs is decided rather than fixed. The shop holds the volumes it can put something into and the things it might offer, so the shelf is the result of a choice rather than a list built by hand.

The stock is kept in kinds. Ordinary items, consumables, upgrades and health packs each have their own pool, which is why a shop can be short of one kind and full of another.

There is secret stock as well. Separate volumes and separate items are held for it, so the shop can keep something back rather than putting everything on display.

It works to numbers. There is a target amount of items to put out and a separate amount for consumables, for upgrades and for health packs, which is why the shelf fills to a shape rather than at random.

It carries its own totals. There is a running cost and a currency total, so the shop keeps account of what it has laid out and what it has taken.

It knows when the player is a thief. There is a flag for it, which is how the shop can respond to how you have been behaving rather than only to what you buy.

It also keeps the small parts of presentation. There is a helper for rotating an item, which is how what is on offer can be turned to be seen instead of sitting at whatever angle it arrived at.

And it knows where the run ends. The shop holds a reference to the extraction point, which is how the place you leave from is tied to the place you spend in.

What this entry does not tell you: how many items the shop will put out, what anything costs, or what decides that a secret item appears. We have not verified those numbers, so we do not print them.

Related

Version and sources

A local copy of the game, read only. The grounding for each fact is listed on the technical reference pages; nothing here is estimated. Documented build: 0.4.0.