1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
660 | |
660 | |
661 | if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) |
661 | if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) |
662 | { |
662 | { |
663 | op->statusmsg (format ("You drop the %s.", query_name (tmp))); |
663 | op->statusmsg (format ("You drop the %s.", query_name (tmp))); |
664 | op->statusmsg ("The gods who lent it to you retrieves it."); |
664 | op->statusmsg ("The gods who lent it to you retrieves it."); |
665 | |
|
|
666 | if (op->type == PLAYER) |
|
|
667 | esrv_del_item (op->contr, tmp->count); |
|
|
668 | |
665 | |
669 | tmp->destroy (); |
666 | tmp->destroy (); |
670 | op->update_stats (); |
667 | op->update_stats (); |
671 | return; |
668 | return; |
672 | } |
669 | } |