MCPcopy Create free account
hub / github.com/DFHack/dfhack / addQuality

Function addQuality

library/modules/Items.cpp:630–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628};
629
630static void addQuality(string &tmp, int quality) {
631 if (quality > 0 && quality <= 5) {
632 char c = quality_table[quality];
633 tmp = c + tmp + c;
634 }
635}
636
637static bool title_from_content(string &result, const vector<int32_t> &vec) {
638 for (auto content : vec)

Callers 1

getDescriptionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected