Crossfire Server, Branch 1.12
R12190
|
Those flags are mostly used for query_cost() and similar functions. More...
Defines | |
#define | F_APPROX 32 |
Flag to give a guess of item value. | |
#define | F_BUY 0 |
Item is being bought by player. | |
#define | F_IDENTIFIED 8 |
Flag to calculate value of identified item. | |
#define | F_NO_BARGAIN 4 |
Combine with F_BUY or F_SELL to disable bargaining calc. | |
#define | F_NOT_CURSED 16 |
Flag to calculate value of uncursed item. | |
#define | F_SELL 1 |
Item is being sold by player. | |
#define | F_SHOP 64 |
Consider the effect that the shop that the player is in has. | |
#define | F_TRUE 2 |
True value of item, unadjusted. |
Those flags are mostly used for query_cost() and similar functions.
#define F_APPROX 32 |
Flag to give a guess of item value.
Definition at line 731 of file define.h.
Referenced by examine(), query_cost(), and query_cost_string().
#define F_BUY 0 |
Item is being bought by player.
Definition at line 725 of file define.h.
Referenced by count_unpaid(), examine(), get_payment(), initConstants(), pay_for_item(), pick_up_object(), and query_cost().
#define F_IDENTIFIED 8 |
Flag to calculate value of identified item.
Definition at line 729 of file define.h.
Referenced by attempt_do_alchemy(), initConstants(), and query_cost().
#define F_NO_BARGAIN 4 |
Combine with F_BUY or F_SELL to disable bargaining calc.
Definition at line 728 of file define.h.
Referenced by initConstants(), pay_for_item(), query_cost(), and sell_item().
#define F_NOT_CURSED 16 |
Flag to calculate value of uncursed item.
Definition at line 730 of file define.h.
Referenced by attempt_do_alchemy(), initConstants(), and query_cost().
#define F_SELL 1 |
Item is being sold by player.
Definition at line 726 of file define.h.
Referenced by examine(), initConstants(), query_cost(), and sell_item().
#define F_SHOP 64 |
Consider the effect that the shop that the player is in has.
Definition at line 732 of file define.h.
Referenced by count_unpaid(), examine(), get_payment(), pay_for_item(), pick_up_object(), query_cost(), and sell_item().
#define F_TRUE 2 |
True value of item, unadjusted.
Definition at line 727 of file define.h.
Referenced by alchemy(), alchemy_object(), attempt_do_alchemy(), check_pick(), initConstants(), and query_cost().