… | |
… | |
1361 | } |
1361 | } |
1362 | |
1362 | |
1363 | return retbuf; |
1363 | return retbuf; |
1364 | } |
1364 | } |
1365 | |
1365 | |
|
|
1366 | std::string |
|
|
1367 | object::describe_item (object *who) |
|
|
1368 | { |
|
|
1369 | return std::string (::describe_item (this, who)); |
|
|
1370 | } |
|
|
1371 | |
1366 | /* Return true if the item is magical. A magical item is one that |
1372 | /* Return true if the item is magical. A magical item is one that |
1367 | * increases/decreases any abilities, provides a resistance, |
1373 | * increases/decreases any abilities, provides a resistance, |
1368 | * has a generic magical bonus, or is an artifact. |
1374 | * has a generic magical bonus, or is an artifact. |
1369 | * This function is used by detect_magic to determine if an item |
1375 | * This function is used by detect_magic to determine if an item |
1370 | * should be marked as magical. |
1376 | * should be marked as magical. |