Plant death is now sadder

This commit is contained in:
Jake Funke 2017-05-22 19:06:57 +00:00
parent 32441bb46e
commit 3fe1a8283c
3 changed files with 18 additions and 1 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
garden_db.sqlite
*.pyc
garden_file.dat
garden_file.json
sqlite/

10
art/rip.txt Normal file
View File

@ -0,0 +1,10 @@
______________
/ \
| |
| |
| R.I.P. |
| |
| |
| |
. |, _\/ .. \. \ /,|_ .
^ ' ` '

View File

@ -146,7 +146,9 @@ class CursedMenu(object):
20: 'palm',
}
if this_plant.stage == 0:
if this_plant.dead == True:
self.ascii_render('rip.txt', ypos, xpos)
elif this_plant.stage == 0:
self.ascii_render('seed.txt', ypos, xpos)
elif this_plant.stage == 1:
self.ascii_render('seedling.txt', ypos, xpos)