Translate sun flower messages

This commit is contained in:
Yohann D'ANELLO
2020-12-01 17:12:22 +01:00
parent 29142cd91c
commit 654bab7c1d
4 changed files with 45 additions and 9 deletions

View File

@ -1,6 +1,8 @@
from ..interfaces import FriendlyEntity, Map
from ..interfaces import FriendlyEntity
from ..translations import gettext as _
from .player import Player
class Merchant(FriendlyEntity) :
"""
The class for merchants in the dungeon
@ -19,13 +21,14 @@ class Merchant(FriendlyEntity) :
This function is used to open the merchant's inventory in a menu,
and allow the player to buy/sell objects
"""
#TODO
# TODO
class Sunflower(FriendlyEntity) :
"""
A friendly sunflower
"""
dialogue_option = ["Flower power!!", "The sun is warm today"]
dialogue_option = [_("Flower power!!"), _("The sun is warm today")]
def __init__(self, maxhealth: int = 15,
*args, **kwargs) -> None: