all repos — groupgardenbot @ b0ffc4f6ed4b036cbf9176f78db121948a05900b

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

Constants.py (view raw)

  1stage_descriptions = {
  2        0:[
  3    "You're excited about your new seed.",
  4    "You wonder what kind of plant your seed will grow into.",
  5    "You're ready for a new start with this plant.",
  6    "You're tired of waiting for your seed to grow.",
  7    "You wish your seed could tell you what it needs.",
  8    "You can feel the spirit inside your seed.",
  9    "These pretzels are making you thirsty.",
 10    "Way to plant, Ann!",
 11    "'To see things in the seed, that is genius' - Lao Tzu",
 12    ],
 13        1:[
 14    "The seedling fills you with hope.",
 15    "The seedling shakes in the wind.",
 16    "You can make out a tiny leaf - or is that a thorn?",
 17    "You can feel the seedling looking back at you.",
 18    "You blow a kiss to your seedling.",
 19    "You think about all the seedlings who came before it.",
 20    "You and your seedling make a great team.",
 21    "Your seedling grows slowly and quietly.",
 22    "You meditate on the paths your plant's life could take.",
 23    ],
 24        2:[
 25    "The {} {} makes you feel relaxed.",
 26    "You sing a song to your {} {}.",
 27    "You quietly sit with your {} {} for a few minutes.",
 28    "Your {} {} looks pretty good.",
 29    "You play loud techno to your {} {}.",
 30    "You play piano to your {} {}.",
 31    "You play rap music to your {} {}.",
 32    "You whistle a tune to your {} {}.",
 33    "You read a poem to your {} {}.",
 34    "You tell a secret to your {} {}.",
 35    "You play your favorite record for your {} {}.",
 36    ],
 37        3:[
 38    "{}Your {} is growing nicely!",
 39    "{}You're proud of the dedication it took to grow your {}.",
 40    "{}You take a deep breath with your {}.",
 41    "{}You think of all the words that rhyme with {}.",
 42    "{}The {} looks full of life.",
 43    "{}The {} inspires you.",
 44    "{}Your {} makes you forget about your problems.",
 45    "{}Your {} gives you a reason to keep going.",
 46    "{}Looking at your {} helps you focus on what matters.",
 47    "{}You think about how nice this {} looks here.",
 48    "{}The buds of your {} might bloom soon.",
 49    ],
 50        4:[
 51    "The {} flowers look nice on your {}!",
 52    "The {} flowers have bloomed and fill you with positivity.",
 53    "The {} flowers remind you of your childhood.",
 54    "The {} flowers remind you of spring mornings.",
 55    "The {} flowers remind you of a forgotten memory.",
 56    "The {} flowers remind you of your happy place.",
 57    "The aroma of the {} flowers energize you.",
 58    "The {} {} has grown beautiful flowers."
 59    "The {} petals remind you of that favorite shirt you lost.",
 60    "The {} flowers remind you of your crush.",
 61    "You smell the {} flowers and are filled with peace.",
 62    ],
 63        5:[
 64    "You fondly remember the time you spent caring for your {} {}.",
 65    "Seed pods have grown on your {} {}.",
 66    "You feel like your {} {} appreciates your care.",
 67    "The {} fills you with love.",
 68    "You're ready for whatever comes after your {} {}.",
 69    "You're excited to start growing your next plant.",
 70    "You reflect on when your {} {} was just a seedling.",
 71    "You grow nostalgic about the early days with your {} {}.",
 72    ],
 73        99:[
 74    "You wish you had taken better care of your plant.",
 75    "If only you had watered your plant more often..",
 76    "Your plant is dead, there's always next time.",
 77    "You cry over the withered leaves of your plant.",
 78    "Your plant died. Maybe you need a fresh start.",
 79    ],
 80}
 81
 82def get_stage_description(stage: int, number: int, species: str, color: str) -> str:
 83    return stage_descriptions[stage][number].format(color, species)
 84
 85plant_art_list = [
 86    'poppy',
 87    'cactus',
 88    'aloe',
 89    'flytrap',
 90    'jadeplant',
 91    'fern',
 92    'daffodil',
 93    'sunflower',
 94    'baobab',
 95    'lithops',
 96    'hemp',
 97    'pansy',
 98    'iris',
 99    'agave',
100    'ficus',
101    'moss',
102    'sage',
103    'snapdragon',
104    'columbine',
105    'brugmansia',
106    'palm',
107    'pachypodium',
108    ]
109
110stage_list = [
111    'seed',
112    'seedling',
113    'young',
114    'mature',
115    'flowering',
116    'seed-bearing',
117]
118
119color_list = [
120    'red',
121    'orange',
122    'yellow',
123    'green',
124    'blue',
125    'indigo',
126    'violet',
127    'white',
128    'black',
129    'gold',
130    'rainbow',
131]
132
133rarity_list = [
134    'common',
135    'uncommon',
136    'rare',
137    'legendary',
138    'godly',
139]
140
141species_list = [
142    'poppy',
143    'cactus',
144    'aloe',
145    'venus flytrap',
146    'jade plant',
147    'fern',
148    'daffodil',
149    'sunflower',
150    'baobab',
151    'lithops',
152    'hemp',
153    'pansy',
154    'iris',
155    'agave',
156    'ficus',
157    'moss',
158    'sage',
159    'snapdragon',
160    'columbine',
161    'brugmansia',
162    'palm',
163    'pachypodium',
164]
165
166mutation_list = [
167    '',
168    'humming',
169    'noxious',
170    'vorpal',
171    'glowing',
172    'electric',
173    'icy',
174    'flaming',
175    'psychic',
176    'screaming',
177    'chaotic',
178    'hissing',
179    'gelatinous',
180    'deformed',
181    'shaggy',
182    'scaly',
183    'depressed',
184    'anxious',
185    'metallic',
186    'glossy',
187    'psychedelic',
188    'bonsai',
189    'foamy',
190    'singing',
191    'fractal',
192    'crunchy',
193    'goth',
194    'oozing',
195    'stinky',
196    'aromatic',
197    'juicy',
198    'smug',
199    'vibrating',
200    'lithe',
201    'chalky',
202    'naive',
203    'ersatz',
204    'disco',
205    'levitating',
206    'colossal',
207    'luminous',
208    'cosmic',
209    'ethereal',
210    'cursed',
211    'buff',
212    'narcotic',
213    'gnu/linux',
214    'abraxan', # rip dear friend
215]
216
217plant_names = [
218    'Adele',
219    'Alessandro',
220    'Alessia',
221    'Alice',
222    'Andrea',
223    'Anna',
224    'Antonio',
225    'Arianna',
226    'Aurora',
227    'Azzurra',
228    'Beatrice',
229    'Bianca',
230    'Camilla',
231    'Chiara',
232    'Christian',
233    'Davide',
234    'Diego',
235    'Edoardo',
236    'Elena',
237    'Elia',
238    'Emma',
239    'Enea',
240    'Federico',
241    'Filippo',
242    'Francesca',
243    'Francesco',
244    'Gabriel',
245    'Gabriele',
246    'Gaia',
247    'Ginevra',
248    'Gioele',
249    'Giorgia',
250    'Giovanni',
251    'Giulia',
252    'Giulio',
253    'Giuseppe',
254    'Greta',
255    'Isabel',
256    'Leonardo',
257    'Lorenzo',
258    'Luca',
259    'Ludovica',
260    'Marco',
261    'Martina',
262    'Matilde',
263    'Matteo',
264    'Mattia',
265    'Mia',
266    'Michele',
267    'Nicole',
268    'Nicolò',
269    'Noemi',
270    'Pietro',
271    'Rebecca',
272    'Riccardo',
273    'Samuele',
274    'Sara',
275    'Sofia',
276    'Tommaso',
277    'Vittoria',
278]