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,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992 Frank Tore Johansen |
6 | * Copyright (©) 1992 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
9 | * the terms of the Affero GNU General Public License as published by the |
9 | * the terms of the Affero GNU General Public License as published by the |
… | |
… | |
1348 | |
1348 | |
1349 | /* properties of the artifact */ |
1349 | /* properties of the artifact */ |
1350 | tmp = object::create (); |
1350 | tmp = object::create (); |
1351 | add_abilities (tmp, art->item); |
1351 | add_abilities (tmp, art->item); |
1352 | tmp->type = type; |
1352 | tmp->type = type; |
1353 | SET_FLAG (tmp, FLAG_IDENTIFIED); |
1353 | tmp->set_flag (FLAG_IDENTIFIED); |
1354 | if ((ch = describe_item (tmp, 0)) && strlen (ch) > 1) |
1354 | if ((ch = describe_item (tmp, 0)) && strlen (ch) > 1) |
1355 | buf << "\rProperties of this artifact include:\r" << ch << "\n"; |
1355 | buf << "\rProperties of this artifact include:\r" << ch << "\n"; |
1356 | |
1356 | |
1357 | tmp->destroy (); |
1357 | tmp->destroy (); |
1358 | |
1358 | |