blob: fb9fc2e88c01a45e25ead0772e2b59a37c32d13e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* File: shopping.h
* Summary: Shop keeper functions.
* Written by: Linley Henzell
*
* Modified for Crawl Reference by $Author$ on $Date$
*/
#ifndef SHOPPING_H
#define SHOPPING_H
#include "externs.h"
#include "itemname.h"
int randart_value( const item_def &item );
// ident == true overrides the item ident level and gives the price
// as if the item was fully id'd
unsigned int item_value( item_def item, bool ident = false );
void shop();
shop_struct *get_shop(const coord_def& where);
std::string shop_name(const coord_def& where);
std::string shop_name(const coord_def& where, bool add_stop);
bool shoptype_identifies_stock(shop_type type);
bool is_shop_item(const item_def &item);
#endif
|