Skip to content
Snippets Groups Projects
Commit 7871acde authored by Florian Schröder's avatar Florian Schröder
Browse files

create pot and stove classes

parent c3a9f5fe
No related branches found
No related tags found
1 merge request!10Resolve "Pot and stove and cooking tomato soup"
Pipeline #41490 passed
......@@ -212,3 +212,17 @@ class Trash(Counter):
def __repr__(self):
return "Trash"
class Stove(Counter):
def pick_up(self):
...
def drop_off(self, item) -> HoldableItem | None:
...
def can_drop_off(self, item) -> bool:
return False
def __repr__(self):
return "Stove"
......@@ -63,3 +63,17 @@ class Tomato(CuttableItem):
def __init__(self):
super().__init__(steps_needed=1500)
class Pot(ProgressibleItem):
def can_combine(self, other):
return False
def __init__(self):
super().__init__(steps_needed=1500)
def combine(self, other):
...
def __repr__(self):
return f"{self.__class__.__name__}()"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment