Merge branch 'master' of https://github.com/jifunks/botany
commit
e20a219cf6
|
@ -10,8 +10,6 @@ Check in and water your plant every 24h to keep it growing. 5 days without water
|
||||||
|
|
||||||
*"We do not 'come into' this world; we come out of it, as leaves from a tree." - Alan Watts*
|
*"We do not 'come into' this world; we come out of it, as leaves from a tree." - Alan Watts*
|
||||||
|
|
||||||
*(work in progress)*
|
|
||||||
|
|
||||||
## getting started
|
## getting started
|
||||||
botany is designed for unix-based systems. Clone into a local directory using `$ git clone https://github.com/jifunks/botany.git`.
|
botany is designed for unix-based systems. Clone into a local directory using `$ git clone https://github.com/jifunks/botany.git`.
|
||||||
|
|
||||||
|
@ -57,13 +55,10 @@ If your plant goes 5 days without water, it will die!
|
||||||
### to-dos
|
### to-dos
|
||||||
* Finish garden feature
|
* Finish garden feature
|
||||||
* Water neighbor's plants
|
* Water neighbor's plants
|
||||||
* Harvest plant at end of life (gather seeds)
|
|
||||||
* 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
|
||||||
* Server API to have rain storms, heat waves, insects
|
* Server API to have rain storms, heat waves, insects
|
||||||
* Name your plant
|
|
||||||
* Reward for keeping plant alive
|
|
||||||
* Hybridization, lineage tracking
|
* Hybridization, lineage tracking
|
||||||
|
|
||||||
## requirements
|
## requirements
|
||||||
|
|
|
@ -16,7 +16,13 @@ class CursedMenu(object):
|
||||||
curses.noecho()
|
curses.noecho()
|
||||||
curses.raw()
|
curses.raw()
|
||||||
curses.start_color()
|
curses.start_color()
|
||||||
|
try:
|
||||||
curses.curs_set(0)
|
curses.curs_set(0)
|
||||||
|
except curses.error:
|
||||||
|
# Not all terminals support this functionality.
|
||||||
|
# When the error is ignored the screen will look a little uglier, but that's not terrible
|
||||||
|
# So in order to keep botany as accesible as possible to everyone, it should be safe to ignore the error.
|
||||||
|
pass
|
||||||
self.screen.keypad(1)
|
self.screen.keypad(1)
|
||||||
self.plant = this_plant
|
self.plant = this_plant
|
||||||
self.user_data = this_data
|
self.user_data = this_data
|
||||||
|
|
Loading…
Reference in New Issue