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

Class ProductInfo

plugins/add-spatter.cpp:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43struct ProductInfo {
44 df::reaction *react;
45 improvement_product *product;
46
47 ReagentSource object;
48 MaterialSource material;
49
50 bool isValid() {
51 return object.reagent && (material.mat_type >= 0 || material.reagent);
52 }
53};
54
55struct ReactionInfo {
56 df::reaction *react;

Callers 1

find_reactionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected