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

Function is_noble_zone

plugins/preserve-rooms.cpp:287–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285//
286
287static bool is_noble_zone(int32_t zone_id, const string & code) {
288 auto it = noble_zones.find(zone_id);
289 return it != noble_zones.end() && it->second[0] == code;
290}
291
292static int32_t get_spouse_hfid(color_ostream &out, df::historical_figure *hf) {
293 for (auto link : hf->histfig_links) {

Callers 1

assign_noblesFunction · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected