| 136 | ITEM(FOOD, food, itemdef_foodst) |
| 137 | |
| 138 | bool ItemTypeInfo::decode(df::item_type type_, int16_t subtype_) { |
| 139 | type = type_; |
| 140 | subtype = subtype_; |
| 141 | custom = Items::getSubtypeDef(type_, subtype_); |
| 142 | |
| 143 | return isValid(); |
| 144 | } |
| 145 | |
| 146 | bool ItemTypeInfo::decode(df::item *ptr) { |
| 147 | if (ptr) |
no test coverage detected