Keeping your shelves stocked is the foundation of every profitable day. Without inventory, customers have nothing to buy — but overspending on restock before you know what customers want can leave you unable to pay rent. Understanding the restocking system is essential to surviving past the early days.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mukybaby/Simple-Shop-Sim/llms.txt
Use this file to discover all available pages before exploring further.
Viewing inventory
Whenever you choose option 1 from the main menu, the game prints a formatted inventory table before asking what you want to restock:- Name — the item identifier used when matching customers to stock.
- Stock — how many units are currently on the shelf.
- Price — the base selling price in dollars. This can change mid-day if you bargain with customers.
Restocking an item
Open the restock menu
From the main menu (open or closed), enter
1 and press Enter. The inventory table is printed automatically.Choose an item
Enter the item’s number (e.g.,
1 for Apple, 2 for Bread, 3 for Potion) and press Enter.Default items
All three items are loaded fromres/items.json at startup. Each begins with 5 units of stock regardless of price.
| Item | Base Price | Starting Stock |
|---|---|---|
| Apple | $5 | 5 |
| Bread | $10 | 5 |
| Potion | $25 | 5 |
Cash management
You begin every game with $100 in cash. That budget must cover both restocking and daily rent, so spending it wisely matters.- Restock cost is charged immediately: buying 4 Potions (100 — your entire starting wallet.
- Rent is charged at the end of each day and scales with the day number: Day 1 costs 20, and so on.
- Revenue only comes in when customers successfully complete a purchase, so you need to balance stock investment against guaranteed income.
You can restock at any time — even while the shop is open between serving customers. There is no restriction on when option 1 is available, so you can top up mid-day if you notice a popular item running low.