src/shop
Guide: Shops, Sanctums, Inns & Forge
Files
| File | Description |
|---|---|
shop.c | The shop object: every counter the party trades at. |
shop_buy.c | Buying: the stock list, the money and party windows, quantities and prices. |
shop_cursor.c | The quantity bar, the price digits and their sprites, the field's tint behind the sanctum and the Djinn, the hand cursor's glides, and loading a picture into VRAM. |
shop_forge.c | The forge: its recipes, the materials the party holds and the roll for the result. |
shop_inn.c | The inn: room prices, checking in and the night's sleep. |
shop_internal.h | What every part of the shop object shares: its includes, its state, the counters and services it runs, the stock table's columns and the tables shop_tables.c holds. |
shop_item_picker.c | The forge's counter; the item picker scripts use to choose one of a party member's items, to show Naribwe's fortune teller or to drop; and the grid of item icons the shop's windows draw. |
shop_repair.c | Repairing broken items. |
shop_run.c | Running a shop: the artifacts it lists, opening its state, the counter's loop and the message helpers every counter uses. |
shop_sanctum.c | The sanctum's services, their donations and their sparkles. |
shop_sell.c | Selling: choosing a party member, the item grid and the sale. |
shop_stock.c | The Game Ticket counter and every shop's stock. |
shop_tables.c | The shop's tables: the quantity bar's and the price digits' tile offsets, the Game Ticket costs, the gift items, every shop's stock, the forge's recipes, the sanctum's tunes and the inns' prices. |