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