![]() |
Crossfire Server, Trunk
1.75.0
|
Shop-related information for a map. More...
#include <map.h>
Data Fields | |
int | index |
Being the size of the shopitems array. More... | |
const char * | name |
Name of the item in question, null if it is the default item. More... | |
const char * | name_pl |
Plural name. More... | |
int8_t | strength |
The degree of specialisation the shop has in this item, as a percentage from -100 to 100. More... | |
int | typenum |
Itemtype number we need to match, -1 if it is the default price. More... | |
Shop-related information for a map.
This is one item type the shop will deal in, and the price-chance.
int shopitems::index |
Being the size of the shopitems array.
Definition at line 301 of file map.h.
Referenced by include_map_in_map(), parse_shop_string(), shop_describe(), and shop_specialisation_ratio().
const char* shopitems::name |
Name of the item in question, null if it is the default item.
Definition at line 296 of file map.h.
Referenced by parse_shop_string(), and shop_describe().
const char* shopitems::name_pl |
Plural name.
Definition at line 297 of file map.h.
Referenced by parse_shop_string(), and shop_describe().
int8_t shopitems::strength |
The degree of specialisation the shop has in this item, as a percentage from -100 to 100.
Definition at line 299 of file map.h.
Referenced by parse_shop_string(), shop_describe(), and shop_specialisation_ratio().
int shopitems::typenum |
Itemtype number we need to match, -1 if it is the default price.
Definition at line 298 of file map.h.
Referenced by parse_shop_string(), and shop_specialisation_ratio().