diff --git a/cooperative_cuisine/items.py b/cooperative_cuisine/items.py index da74f68a17e3f5ffdd010f2989765f96ce276069..fbfa2dab675b0fddea6b48ba4f5def73f4a349c4 100644 --- a/cooperative_cuisine/items.py +++ b/cooperative_cuisine/items.py @@ -472,6 +472,11 @@ class Effect: """For fire: how much the player still has to extinguish.""" def to_dict(self) -> EffectState: + """Converts the current object to a dictionary representation. + + Returns: + dict: A dictionary representation of the object. + """ return { "id": self.uuid, "type": self.name,