MCPcopy Create free account
hub / github.com/crawl/crawl / origin_describable

Function origin_describable

crawl-ref/source/items.cc:1246–1253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1244}
1245
1246bool origin_describable(const item_def &item)
1247{
1248 return origin_known(item)
1249 && !_origin_is_special(item)
1250 && !is_stackable_item(item)
1251 && item.quantity == 1
1252 && item.base_type != OBJ_CORPSES;
1253}
1254
1255static string _article_it(const item_def &/*item*/)
1256{

Callers 3

_sdump_inventoryFunction · 0.85
get_item_descriptionFunction · 0.85
origin_descFunction · 0.85

Calls 3

origin_knownFunction · 0.85
_origin_is_specialFunction · 0.85
is_stackable_itemFunction · 0.85

Tested by

no test coverage detected