3 #include "system/angband.h"
4 #include "store/store-owners.h"
7 #define STORE_INVEN_MAX 24 /* Max number of discrete objs in inven */
8 #define STORE_TURNOVER 9 /* Normal shop turnover, per day */
9 #define STORE_MIN_KEEP 6 /* Min slots to "always" keep full */
10 #define STORE_MAX_KEEP 18 /* Max slots to "always" keep full */
11 #define STORE_SHUFFLE 21 /* 1/Chance (per day) of an owner changing */
12 #define STORE_TICKS 1000 /* Number of ticks between turnovers */
15 extern int store_bottom;
16 extern int xtra_stock;
17 extern const owner_type *ot_ptr;
18 extern s16b old_town_num;
19 extern s16b inner_town_num;
21 extern int cur_store_feat;
22 extern bool allow_inc;
24 void store_shuffle(player_type *player_ptr, int which);
25 void store_maintenance(player_type *player_ptr, int town_num, int store_num);
26 void store_init(int town_num, int store_num);
27 void store_examine(player_type *player_ptr);
28 int store_check_num(object_type *o_ptr);
29 int get_stock(COMMAND_CODE *com_val, concptr pmt, int i, int j);