| 41 | }; |
| 42 | |
| 43 | struct 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 | |
| 55 | struct ReactionInfo { |
| 56 | df::reaction *react; |