Open myk002 opened 7 months ago
Is the intent to determine whether a stone is marked as economic (and would be excluded by most jobs) or whether the stone has potential economic uses (i.e. if the game would mark it as economic by default)?
I believe it's the latter definition that the requester (which I apparently forgot to cite) was going for
could be done by adding economic
and noneconomic
bits to the bitfield, and adding appropriate tests in MaterialInfo::matches
the process for determining if a stone "has economic uses" is, however, somewhat nontrivial, which means this test could be expensive if not cached
either with a new parameter or by augmenting the df.dfhack_material_category infrastructure