version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.23 2001/05/09 09:39:56 darth_bob Exp $"; | | * "$Id: c_object.c,v 1.24 2001/05/14 11:42:07 darth_bob Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
} | | } |
} | | } |
if(QUERY_FLAG(tmp, FLAG_UNPAID)) | | if(QUERY_FLAG(tmp, FLAG_UNPAID)) |
(void) sprintf(buf,"The %s will cost you %s.", query_name(tmp), | | (void) sprintf(buf,"%s will cost you %s.", query_name(tmp), |
query_cost_string(tmp,pl,F_BUY)); | | query_cost_string(tmp,pl,F_BUY)); |
else | | else |
(void) sprintf(buf,"You pick up the %s.", query_name(tmp)); | | (void) sprintf(buf,"You pick up the %s.", query_name(tmp)); |
| | |
| | |
if(tmp->value&&!QUERY_FLAG(tmp, FLAG_STARTEQUIP)) { | | if(tmp->value&&!QUERY_FLAG(tmp, FLAG_STARTEQUIP)) { |
if(QUERY_FLAG(tmp, FLAG_UNPAID)) | | if(QUERY_FLAG(tmp, FLAG_UNPAID)) |
sprintf(buf,"The %s would cost you %s.", | | sprintf(buf,"%s would cost you %s.", |
tmp->nrof>1?"They":"It",query_cost_string(tmp,op,F_BUY)); | | tmp->nrof>1?"They":"It",query_cost_string(tmp,op,F_BUY)); |
else | | else |
sprintf(buf,"You would get %s for the %s.", | | sprintf(buf,"You would get %s for the %s.", |