Пример #1
0
 def remove_custom_recipes(self, urns):
     ids = [int(x[len('custom:'):]) for x in urns]
     for id_ in ids:
         remove_custom_recipe(id_)
     self.custom_recipe_collection = get_custom_recipe_collection()
Пример #2
0
 def remove_custom_recipes(self, urns):
     ids = [int(x[len('custom:'):]) for x in urns]
     for id_ in ids:
         remove_custom_recipe(id_)
     self.custom_recipe_collection = get_custom_recipe_collection()