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

Function getRandNameString

crawl-ref/source/database.cc:866–871  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////// Randname DB specific functions.

Source from the content-addressed store, hash-verified

864/////////////////////////////////////////////////////////////////////////////
865// Randname DB specific functions.
866string getRandNameString(const string &itemtype, const string &suffix)
867{
868 int num_replacements = 0;
869
870 return _getRandomisedStr(RandartDB, itemtype, suffix, num_replacements);
871}
872
873/////////////////////////////////////////////////////////////////////////////
874// Help DB specific functions.

Callers 7

replace_name_partsFunction · 0.85
_artefact_name_lookupFunction · 0.85
make_artefact_nameFunction · 0.85
_gen_randlevel_nameFunction · 0.85
_maybe_gen_book_subjectFunction · 0.85
_gen_randbook_nameFunction · 0.85
_gen_randbook_ownerFunction · 0.85

Calls 1

_getRandomisedStrFunction · 0.85

Tested by

no test coverage detected