mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 10:40:13 +01:00
Get/Take Extra Description Message
Changes the message from 'You don't see that' to 'You cant take <xyz>' when a player tries to take something in a room extra description
This commit is contained in:
parent
b5ac9f1dfb
commit
82f821733d
1 changed files with 10 additions and 1 deletions
|
|
@ -289,7 +289,16 @@ static void get_from_room(struct char_data *ch, char *arg, int howmany)
|
|||
|
||||
if (dotmode == FIND_INDIV) {
|
||||
if (!(obj = get_obj_in_list_vis(ch, arg, NULL, world[IN_ROOM(ch)].contents)))
|
||||
{
|
||||
/* Are they trying to take something in a room extra description? */
|
||||
if (find_exdesc(arg, world[IN_ROOM(ch)].ex_description) != NULL)
|
||||
{
|
||||
send_to_char(ch, "You can't take %s %s.\r\n", AN(arg), arg);
|
||||
return;
|
||||
}
|
||||
send_to_char(ch, "You don't see %s %s here.\r\n", AN(arg), arg);
|
||||
}
|
||||
|
||||
else {
|
||||
struct obj_data *obj_next;
|
||||
while(obj && howmany--) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue