OSDN Git Service

For the Styx ogre, replaced "a" with "an" in the English description since it comes...
[hengband/hengband.git] / src / store.h
1 #pragma once
2
3 #include "angband.h"
4 #include "market/store-owners.h"
5
6  /*
7   * Store constants
8   */
9 #define STORE_INVEN_MAX 24              /* Max number of discrete objs in inven */
10 #define STORE_TURNOVER  9               /* Normal shop turnover, per day */
11 #define STORE_MIN_KEEP  6               /* Min slots to "always" keep full */
12 #define STORE_MAX_KEEP  18              /* Max slots to "always" keep full */
13 #define STORE_SHUFFLE   21              /* 1/Chance (per day) of an owner changing */
14 #define STORE_TICKS     1000            /* Number of ticks between turnovers */
15
16 /* store.c */
17 extern bool combine_and_reorder_home(int store_num);
18 extern void do_cmd_store(player_type *player_ptr);
19 extern void store_shuffle(player_type *player_ptr, int which);
20 extern void store_maint(player_type *player_ptr, int town_num, int store_num);
21 extern void store_init(int town_num, int store_num);