version 1.163 | | version 1.164 |
---|
| | |
/* alchemy.c */ | | /* alchemy.c */ |
char *cauldron_sound(void); | | |
void attempt_do_alchemy(object *caster, object *cauldron); | | void attempt_do_alchemy(object *caster, object *cauldron); |
int content_recipe_value(object *op); | | int content_recipe_value(object *op); |
int numb_ob_inside(object *op); | | int numb_ob_inside(object *op); |
| | |
/* player.c */ | | /* player.c */ |
player *find_player(const char *plname); | | player *find_player(const char *plname); |
player *find_player_partial_name(const char *plname); | | player *find_player_partial_name(const char *plname); |
void display_motd(object *op); | | void display_motd(const object *op); |
void send_rules(object *op); | | void send_rules(const object *op); |
void send_news(object *op); | | void send_news(const object *op); |
int playername_ok(const char *cp); | | int playername_ok(const char *cp); |
int add_player(NewSocket *ns); | | int add_player(NewSocket *ns); |
archetype *get_player_archetype(archetype *at); | | archetype *get_player_archetype(archetype *at); |
| | |
int trap_disarm(object *disarmer, object *trap, int risk, object *skill); | | int trap_disarm(object *disarmer, object *trap, int risk, object *skill); |
void trap_adjust(object *trap, int difficulty); | | void trap_adjust(object *trap, int difficulty); |
/* shop.c */ | | /* shop.c */ |
uint64 query_cost(object *tmp, object *who, int flag); | | double shopkeeper_approval(const mapstruct *map, const object *player); |
const char *cost_string_from_value(uint64 cost); | | uint64 query_cost(const object *tmp, object *who, int flag); |
const char *query_cost_string(object *tmp, object *who, int flag); | | const char *query_cost_string(const object *tmp, object *who, int flag); |
uint64 query_money(object *op); | | uint64 query_money(const object *op); |
int pay_for_amount(uint64 to_pay, object *pl); | | int pay_for_amount(uint64 to_pay, object *pl); |
int pay_for_item(object *op, object *pl); | | int pay_for_item(object *op, object *pl); |
int can_pay(object *pl); | | int can_pay(object *pl); |
int get_payment(object *pl, object *op); | | int get_payment(object *pl, object *op); |
void sell_item(object *op, object *pl); | | void sell_item(object *op, object *pl); |
double shop_specialisation_ratio(object *item, mapstruct *map); | | int describe_shop(const object *op); |
double shop_greed(mapstruct *map); | | |
double shopkeeper_approval(mapstruct *map, object *player); | | |
int describe_shop(object *op); | | |
void shop_listing(object *op); | | void shop_listing(object *op); |
/* skills.c */ | | /* skills.c */ |
int steal(object *op, int dir, object *skill); | | int steal(object *op, int dir, object *skill); |