Some translations were missing concerning sunflowers, fixes #44

This commit is contained in:
Yohann D'ANELLO
2020-12-12 17:39:12 +01:00
parent 73e1fac89a
commit 288a6ac2c9
8 changed files with 98 additions and 42 deletions

View File

@ -43,8 +43,10 @@ class Sunflower(FriendlyEntity):
"""
A friendly sunflower
"""
dialogue_option = [_("Flower power!!"), _("The sun is warm today")]
def __init__(self, maxhealth: int = 15,
*args, **kwargs) -> None:
super().__init__(name="sunflower", maxhealth=maxhealth, *args, **kwargs)
@property
def dialogue_option(self):
return [_("Flower power!!"), _("The sun is warm today")]