diff --git a/art/jackolantern.txt b/art/jackolantern.txt new file mode 100644 index 0000000..65f8670 --- /dev/null +++ b/art/jackolantern.txt @@ -0,0 +1,10 @@ + /)) HAPPY + __(((__ HALLOWEEN + .' _`""`_`'. TILDE + / /\\ /\\ \ TOWN + | /)_\\/)_\\ | + | _ _()_ _ | + | \\/\\/\\// | + \ \/\/\/\/ / + . , .'.___..___.' _ ., _ . + ^ ' ` ' diff --git a/botany.py b/botany.py index 5de8784..9795ac7 100755 --- a/botany.py +++ b/botany.py @@ -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: diff --git a/menu_screen.py b/menu_screen.py index 75a1e5d..d389d72 100644 --- a/menu_screen.py +++ b/menu_screen.py @@ -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: