| Total Complexity | 2 | 
| Total Lines | 12 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | from intelligine.cst import TYPE, TYPE_RESOURCE_EXPLOITABLE, COL_EATABLE, COL_SMELL, SMELL_FOOD, TYPE_RESOURCE_EATABLE  | 
            ||
| 5 | class StockedFood(Food):  | 
            ||
| 6 | |||
| 7 | def __init__(self, collection, context):  | 
            ||
| 8 | super().__init__(collection, context)  | 
            ||
| 9 | context.metas.list.remove(TYPE, self.get_id(), TYPE_RESOURCE_EXPLOITABLE)  | 
            ||
| 10 | context.metas.list.add(TYPE, self.get_id(), TYPE_RESOURCE_EATABLE)  | 
            ||
| 11 | self._add_col(COL_EATABLE)  | 
            ||
| 12 | self._add_col(COL_SMELL)  | 
            ||
| 13 | self._set_smell(SMELL_FOOD)  | 
            ||
| 14 | |||
| 15 | def __new__(cls, *args, **kwargs):  | 
            ||
| 16 | return Food(*args, **kwargs)  | 
            ||
| 17 |