blob: 0bbaae84574e792f0216240b695ddb8673d07fcd (
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
|
/*
* File: shopping.h
* Summary: Shop keeper functions.
* Written by: Linley Henzell
*/
#ifndef SHOPPING_H
#define SHOPPING_H
#include "externs.h"
#include "itemname.h"
int artefact_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
|