halloween feature and death check fix
This commit is contained in:
parent
6f7cddd5bb
commit
2212596e5e
10
art/jackolantern.txt
Normal file
10
art/jackolantern.txt
Normal file
@ -0,0 +1,10 @@
|
||||
/)) HAPPY
|
||||
__(((__ HALLOWEEN
|
||||
.' _`""`_`'. TILDE
|
||||
/ /\\ /\\ \ TOWN
|
||||
| /)_\\/)_\\ |
|
||||
| _ _()_ _ |
|
||||
| \\/\\/\\// |
|
||||
\ \/\/\/\/ /
|
||||
. , .'.___..___.' _ ., _ .
|
||||
^ ' ` '
|
@ -442,8 +442,8 @@ class DataManager(object):
|
||||
this_plant.migrate_properties()
|
||||
|
||||
# get status since last login
|
||||
is_dead = this_plant.dead_check()
|
||||
is_watered = this_plant.water_check()
|
||||
is_dead = this_plant.dead_check()
|
||||
|
||||
if not is_dead:
|
||||
if is_watered:
|
||||
|
@ -11,6 +11,7 @@ import sqlite3
|
||||
import string
|
||||
import re
|
||||
import completer
|
||||
import datetime
|
||||
|
||||
class CursedMenu(object):
|
||||
#TODO: name your plant
|
||||
@ -176,6 +177,8 @@ class CursedMenu(object):
|
||||
]
|
||||
if this_plant.dead == True:
|
||||
self.ascii_render('rip.txt', ypos, xpos)
|
||||
elif datetime.date.today().month == 10 and datetime.date.today().day == 31:
|
||||
self.ascii_render('jackolantern.txt', ypos, xpos)
|
||||
elif this_plant.stage == 0:
|
||||
self.ascii_render('seed.txt', ypos, xpos)
|
||||
elif this_plant.stage == 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user