From e6e8778dfbd7777a200274170d5097a467c0fab2 Mon Sep 17 00:00:00 2001 From: Jake Funke Date: Sun, 11 Mar 2018 16:36:55 -0700 Subject: [PATCH] fixed art bug and update readme --- README.md | 5 ++--- menu_screen.py | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e9a3af..f2bd8a4 100644 --- a/README.md +++ b/README.md @@ -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. -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 * Curses-based menu system, optimized for 80x24 terminal * 20+ Species of plants w/ ASCII art for each * 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 with 20% growth speed for the next plant * 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 -* Finish garden feature - * Water neighbor's plants * Plant pollination - cross-breed with neighbor plants to unlock second-gen plants * Share seeds with other users * Global events diff --git a/menu_screen.py b/menu_screen.py index 69b1744..d01d0f9 100644 --- a/menu_screen.py +++ b/menu_screen.py @@ -132,7 +132,30 @@ class CursedMenu(object): def draw_plant_ascii(self, this_plant): ypos = 0 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: self.ascii_render('rip.txt', ypos, xpos) elif this_plant.stage == 0: