fixed art bug and update readme

pull/8/head
Jake Funke 2018-03-11 16:36:55 -07:00
parent 3b802dc931
commit e6e8778dfb
2 changed files with 26 additions and 4 deletions

View File

@ -22,13 +22,14 @@ Water your seed to get started. You can come and go as you please and your plant
Make sure to come back and water every 24 hours or your plant won't grow. Make sure to come back and water every 24 hours or your plant won't grow.
If your plant goes 5 days without water, it will die! If your plant goes 5 days without water, it will die! Recruit your friends to water your plant for you!
## features ## features
* Curses-based menu system, optimized for 80x24 terminal * Curses-based menu system, optimized for 80x24 terminal
* 20+ Species of plants w/ ASCII art for each * 20+ Species of plants w/ ASCII art for each
* Persistent aging system that allows your plant to grow even when app is closed * Persistent aging system that allows your plant to grow even when app is closed
* Multiplayer! Water your friends plants & see who's visited your garden.
* Generations: each plant you bring to its full growth potential rewards you * Generations: each plant you bring to its full growth potential rewards you
with 20% growth speed for the next plant with 20% growth speed for the next plant
* Random and rare mutations can occur at any point in a plant's life * Random and rare mutations can occur at any point in a plant's life
@ -50,8 +51,6 @@ If your plant goes 5 days without water, it will die!
``` ```
### to-dos ### to-dos
* Finish garden feature
* Water neighbor's plants
* Plant pollination - cross-breed with neighbor plants to unlock second-gen plants * Plant pollination - cross-breed with neighbor plants to unlock second-gen plants
* Share seeds with other users * Share seeds with other users
* Global events * Global events

View File

@ -132,7 +132,30 @@ class CursedMenu(object):
def draw_plant_ascii(self, this_plant): def draw_plant_ascii(self, this_plant):
ypos = 0 ypos = 0
xpos = int((self.maxx-37)/2 + 25) xpos = int((self.maxx-37)/2 + 25)
plant_art_list = this_plant.species_list plant_art_list = [
'poppy',
'cactus',
'aloe',
'flytrap',
'jadeplant',
'fern',
'daffodil',
'sunflower',
'baobab',
'lithops',
'hemp',
'pansy',
'iris',
'agave',
'ficus',
'moss',
'sage',
'snapdragon',
'columbine',
'brugmansia',
'palm',
'pachypodium',
]
if this_plant.dead == True: if this_plant.dead == True:
self.ascii_render('rip.txt', ypos, xpos) self.ascii_render('rip.txt', ypos, xpos)
elif this_plant.stage == 0: elif this_plant.stage == 0: