all repos — groupgardenbot @ 64d444b4247f96a1cab7164bb35f9f075d20b704

An extension of the game "botany", originally designed for unix-based systems, to the Telegram Bot API.

better status strings
Bi-Rabittoh andronacomarco@gmail.com
Sat, 24 Sep 2022 22:44:50 +0200
commit

64d444b4247f96a1cab7164bb35f9f075d20b704

parent

78adc3594b992c35bf1041cd9123a20d7bea306b

2 files changed, 42 insertions(+), 41 deletions(-)

jump to
A .env.example

@@ -0,0 +1,1 @@

+token=
M Constants.pyConstants.py

@@ -22,53 +22,53 @@ "Your seedling grows slowly and quietly.",

"You meditate on the paths your plant's life could take.", ], 2:[ - "The {} {} makes you feel relaxed.", - "You sing a song to your {} {}.", - "You quietly sit with your {} {} for a few minutes.", - "Your {} {} looks pretty good.", - "You play loud techno to your {} {}.", - "You play piano to your {} {}.", - "You play rap music to your {} {}.", - "You whistle a tune to your {} {}.", - "You read a poem to your {} {}.", - "You tell a secret to your {} {}.", - "You play your favorite record for your {} {}.", + "The {plant} makes you feel relaxed.", + "You sing a song to your {plant}.", + "You quietly sit with your {plant} for a few minutes.", + "Your {plant} looks pretty good.", + "You play loud techno to your {plant}.", + "You play piano to your {plant}.", + "You play rap music to your {plant}.", + "You whistle a tune to your {plant}.", + "You read a poem to your {plant}.", + "You tell a secret to your {plant}.", + "You play your favorite record for your {plant}.", ], 3:[ - "{}Your {} is growing nicely!", - "{}You're proud of the dedication it took to grow your {}.", - "{}You take a deep breath with your {}.", - "{}You think of all the words that rhyme with {}.", - "{}The {} looks full of life.", - "{}The {} inspires you.", - "{}Your {} makes you forget about your problems.", - "{}Your {} gives you a reason to keep going.", - "{}Looking at your {} helps you focus on what matters.", - "{}You think about how nice this {} looks here.", - "{}The buds of your {} might bloom soon.", + "Your {plant} is growing nicely!", + "You're proud of the dedication it took to grow your {plant}.", + "You take a deep breath with your {plant}.", + "You think of all the words that rhyme with {plant}.", + "The {plant} looks full of life.", + "The {plant} inspires you.", + "Your {plant} makes you forget about your problems.", + "Your {plant} gives you a reason to keep going.", + "Looking at your {plant} helps you focus on what matters.", + "You think about how nice this {plant} looks here.", + "The buds of your {plant} might bloom soon.", ], 4:[ - "The {} flowers look nice on your {}!", - "The {} flowers have bloomed and fill you with positivity.", - "The {} flowers remind you of your childhood.", - "The {} flowers remind you of spring mornings.", - "The {} flowers remind you of a forgotten memory.", - "The {} flowers remind you of your happy place.", - "The aroma of the {} flowers energize you.", - "The {} {} has grown beautiful flowers." - "The {} petals remind you of that favorite shirt you lost.", - "The {} flowers remind you of your crush.", - "You smell the {} flowers and are filled with peace.", + "The {color} flowers look nice on your {plant}!", + "The {color} flowers have bloomed and fill you with positivity.", + "The {color} flowers remind you of your childhood.", + "The {color} flowers remind you of spring mornings.", + "The {color} flowers remind you of a forgotten memory.", + "The {color} flowers remind you of your happy place.", + "The aroma of the {color} flowers energize you.", + "The {color} {plant} has grown beautiful flowers." + "The {color} petals remind you of that favorite shirt you lost.", + "The {color} flowers remind you of your crush.", + "You smell the {color} flowers and are filled with peace.", ], 5:[ - "You fondly remember the time you spent caring for your {} {}.", - "Seed pods have grown on your {} {}.", - "You feel like your {} {} appreciates your care.", - "The {} fills you with love.", - "You're ready for whatever comes after your {} {}.", + "You fondly remember the time you spent caring for your {plant}.", + "Seed pods have grown on your {plant}.", + "You feel like your {plant} appreciates your care.", + "The {plant} fills you with love.", + "You're ready for whatever comes after your {plant}.", "You're excited to start growing your next plant.", - "You reflect on when your {} {} was just a seedling.", - "You grow nostalgic about the early days with your {} {}.", + "You reflect on when your {plant} was just a seedling.", + "You grow nostalgic about the early days with your {plant}.", ], 99:[ "You wish you had taken better care of your plant.",

@@ -80,7 +80,7 @@ ],

} def get_stage_description(stage: int, number: int, species: str, color: str) -> str: - return stage_descriptions[stage][number].format(color, species) + return stage_descriptions[stage][number].format(color=color, species=species) plant_art_list = [ 'poppy',