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

Function getMiscString

crawl-ref/source/database.cc:919–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917// Miscellaneous DB specific functions.
918
919string getMiscString(const string &misc, const string &suffix)
920
921{
922 int num_replacements = 0;
923
924 string txt = _getRandomisedStr(MiscDB, misc, suffix, num_replacements);
925 _execute_embedded_lua(txt);
926
927 return txt;
928}
929
930/////////////////////////////////////////////////////////////////////////////
931// Hints DB specific functions.

Callers 9

_announce_goal_messageFunction · 0.85
_hell_effectsFunction · 0.85
triggerMethod · 0.85
god_nameFunction · 0.85
get_monster_db_descFunction · 0.85
_walk_on_decorFunction · 0.85
_generate_gizmo_nameFunction · 0.85

Calls 2

_getRandomisedStrFunction · 0.85
_execute_embedded_luaFunction · 0.85

Tested by

no test coverage detected