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

Method is_designated

plugins/logistics.cpp:254–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 : StockProcessor("melt", stockpile_number, enabled, stats), melt_masterworks(melt_masterworks) { }
253
254 bool is_designated(color_ostream &out, df::item *item) override {
255 return item->flags.bits.melt;
256 }
257
258 bool can_designate(color_ostream &out, df::item *item) override {
259 if (!melt_masterworks && item->getQuality() >= df::item_quality::Masterful)

Callers 1

scan_itemFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected