54 #define STORE_GENERAL 0 55 #define STORE_ARMOURY 1 56 #define STORE_WEAPON 2 57 #define STORE_TEMPLE 3 58 #define STORE_ALCHEMIST 4 63 #define STORE_MUSEUM 9 71 #define STORE_INVEN_MAX 24 72 #define STORE_CHOICES 48 73 #define STORE_OBJ_LEVEL 5 74 #define STORE_TURNOVER 9 75 #define STORE_MIN_KEEP 6 76 #define STORE_MAX_KEEP 18 77 #define STORE_SHUFFLE 21 78 #define STORE_TICKS 1000 84 extern void store_maint(
int town_num,
int store_num);
85 extern void store_init(
int town_num,
int store_num);
byte extra
Definition: store.h:31
void store_maint(int town_num, int store_num)
店の品揃えを変化させる / Maintain the p_ptr->inventory_list at the stores.
Definition: store.c:6053
const char * concptr
文字列定数用ポインタ定義 / A simple pointer (to unmodifiable strings)
Definition: h-type.h:47
PRICE max_cost
Definition: store.h:11
byte store_table[MAX_STORES][STORE_CHOICES][2]
店舗で販売するオブジェクトを定義する / Hack – Objects sold in the stores – by tval/sval pair.
Definition: store.c:1081
s16b bad_buy
Definition: store.h:36
s32b last_visit
Definition: store.h:40
s16b stock_num
Definition: store.h:46
#define STORE_CHOICES
Definition: store.h:72
byte min_inflate
Definition: store.h:13
byte max_inflate
Definition: store.h:12
const owner_type owners[MAX_STORES][MAX_OWNERS]
闘技場のモンスターID及び報酬アイテムテーブル / Store owners (exactly four "possible" owners per store, chosen randomly)
Definition: store.c:68
void store_shuffle(int which)
現在の町の店主を交代させる / Shuffle one of the stores.
Definition: store.c:5983
s32b store_open
Definition: store.h:38
signed long s32b
Definition: h-type.h:107
s16b insult_cur
Definition: store.h:33
#define MAX_STORES
store.c用の店舗の種類最大数 / Total number of stores (see "store.c", etc)
Definition: store.h:64
s16b * table
Definition: store.h:44
s16b table_num
Definition: store.h:42
concptr owner_name
Definition: store.h:10
bool combine_and_reorder_home(int store_num)
現在の町の指定された店舗のアイテムを整理する / Combine and reorder items in store.
Definition: store.c:2867
byte owner_race
Definition: store.h:16
s16b table_size
Definition: store.h:43
byte haggle_per
Definition: store.h:14
object_type * stock
Definition: store.h:48
void store_init(int town_num, int store_num)
店舗情報を初期化する / Initialize the stores
Definition: store.c:6137
byte type
Definition: store.h:28
void move_to_black_market(object_type *o_ptr)
アイテムを町のブラックマーケットに移動させる /
Definition: store.c:6192
s16b stock_size
Definition: store.h:47
s32b PRICE
ゲーム中の金額価値の型定義
Definition: h-type.h:209
signed short s16b
Definition: h-type.h:98
byte insult_max
Definition: store.h:15
byte owner
Definition: store.h:30
#define MAX_OWNERS
各店舗毎の店主定義最大数 / Total number of owners per store (see "store.c", etc)
Definition: store.h:66
s16b good_buy
Definition: store.h:35
void do_cmd_store(void)
店舗処理全体のメインルーチン / Enter a store, and interact with it.
Definition: store.c:5706