all repos — groupgardenbot @ 3f2b3ea4ccd06861e8186be49c35a3862512f33b

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 {species} makes you feel relaxed.",
 26    "You sing a song to your {species}.",
 27    "You quietly sit with your {species} for a few minutes.",
 28    "Your {species} looks pretty good.",
 29    "You play loud techno to your {species}.",
 30    "You play piano to your {species}.",
 31    "You play rap music to your {species}.",
 32    "You whistle a tune to your {species}.",
 33    "You read a poem to your {species}.",
 34    "You tell a secret to your {species}.",
 35    "You play your favorite record for your {species}.",
 36    ],
 37        3:[
 38    "Your {species} is growing nicely!",
 39    "You're proud of the dedication it took to grow your {species}.",
 40    "You take a deep breath with your {species}.",
 41    "You think of all the words that rhyme with {species}.",
 42    "The {species} looks full of life.",
 43    "The {species} inspires you.",
 44    "Your {species} makes you forget about your problems.",
 45    "Your {species} gives you a reason to keep going.",
 46    "Looking at your {species} helps you focus on what matters.",
 47    "You think about how nice this {species} looks here.",
 48    "The buds of your {species} might bloom soon.",
 49    ],
 50        4:[
 51    "The {color} flowers look nice on your {species}!",
 52    "The {color} flowers have bloomed and fill you with positivity.",
 53    "The {color} flowers remind you of your childhood.",
 54    "The {color} flowers remind you of spring mornings.",
 55    "The {color} flowers remind you of a forgotten memory.",
 56    "The {color} flowers remind you of your happy place.",
 57    "The aroma of the {color} flowers energize you.",
 58    "The {color} {species} has grown beautiful flowers."
 59    "The {color} petals remind you of that favorite shirt you lost.",
 60    "The {color} flowers remind you of your crush.",
 61    "You smell the {color} flowers and are filled with peace.",
 62    ],
 63        5:[
 64    "You fondly remember the time you spent caring for your {species}.",
 65    "Seed pods have grown on your {species}.",
 66    "You feel like your {species} appreciates your care.",
 67    "The {species} fills you with love.",
 68    "You're ready for whatever comes after your {species}.",
 69    "You're excited to start growing your next plant.",
 70    "You reflect on when your {species} was just a seedling.",
 71    "You grow nostalgic about the early days with your {species}.",
 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=color, species=species)
 84
 85stage_list = [
 86    'seed',
 87    'seedling',
 88    'young',
 89    'mature',
 90    'flowering',
 91    'seed-bearing',
 92]
 93
 94color_list = [
 95    'red',
 96    'orange',
 97    'yellow',
 98    'green',
 99    'blue',
100    'indigo',
101    'violet',
102    'white',
103    'black',
104    'gold',
105    'rainbow',
106]
107
108rarity_list = [
109    'common',
110    'uncommon',
111    'rare',
112    'legendary',
113    'godly',
114]
115
116species_list = [
117    'poppy',
118    'cactus',
119    'aloe',
120    'venus flytrap',
121    'jade plant',
122    'fern',
123    'daffodil',
124    'sunflower',
125    'baobab',
126    'lithops',
127    'hemp',
128    'pansy',
129    'iris',
130    'agave',
131    'ficus',
132    'moss',
133    'sage',
134    'snapdragon',
135    'columbine',
136    'brugmansia',
137    'palm',
138    'pachypodium',
139]
140
141mutation_list = [
142    '',
143    'humming',
144    'noxious',
145    'vorpal',
146    'glowing',
147    'electric',
148    'icy',
149    'flaming',
150    'psychic',
151    'screaming',
152    'chaotic',
153    'hissing',
154    'gelatinous',
155    'deformed',
156    'shaggy',
157    'scaly',
158    'depressed',
159    'anxious',
160    'metallic',
161    'glossy',
162    'psychedelic',
163    'bonsai',
164    'foamy',
165    'singing',
166    'fractal',
167    'crunchy',
168    'goth',
169    'oozing',
170    'stinky',
171    'aromatic',
172    'juicy',
173    'smug',
174    'vibrating',
175    'lithe',
176    'chalky',
177    'naive',
178    'ersatz',
179    'disco',
180    'levitating',
181    'colossal',
182    'luminous',
183    'cosmic',
184    'ethereal',
185    'cursed',
186    'buff',
187    'narcotic',
188    'gnu/linux',
189    'abraxan', # rip dear friend
190]
191
192plant_names = [
193    'Adele',
194    'Alessandro',
195    'Alessia',
196    'Alice',
197    'Andrea',
198    'Anna',
199    'Antonio',
200    'Arianna',
201    'Aurora',
202    'Azzurra',
203    'Beatrice',
204    'Bianca',
205    'Camilla',
206    'Chiara',
207    'Christian',
208    'Davide',
209    'Diego',
210    'Edoardo',
211    'Elena',
212    'Elia',
213    'Emma',
214    'Enea',
215    'Federico',
216    'Filippo',
217    'Francesca',
218    'Francesco',
219    'Gabriel',
220    'Gabriele',
221    'Gaia',
222    'Ginevra',
223    'Gioele',
224    'Giorgia',
225    'Giovanni',
226    'Giulia',
227    'Giulio',
228    'Giuseppe',
229    'Greta',
230    'Isabel',
231    'Leonardo',
232    'Lorenzo',
233    'Luca',
234    'Ludovica',
235    'Marco',
236    'Martina',
237    'Matilde',
238    'Matteo',
239    'Mattia',
240    'Mia',
241    'Michele',
242    'Nicole',
243    'Nicolò',
244    'Noemi',
245    'Pietro',
246    'Rebecca',
247    'Riccardo',
248    'Samuele',
249    'Sara',
250    'Sofia',
251    'Tommaso',
252    'Vittoria',
253]