Commit Graph

56 Commits (a2c67f98bcf09f6ce607abe2841ba00af2bbeffb)

Author SHA1 Message Date
troido 6c72cc3d39 properly clean up after crash
put cleanup in finally block so it happens no matter the crash
this should prevend scrambled lines all over the terminal
2018-05-23 21:45:51 +02:00
troido 484981f5de don't try to use colours if unsupported 2018-05-23 21:03:20 +02:00
Jake Funke 09b18e862d updated todos 2018-05-21 18:00:53 +00:00
Jake Funke 130b04e21b Correct water bar position 2018-04-24 17:47:19 +00:00
Jake Funke 864a33215a Update instructions 2018-03-14 21:42:10 +00:00
Jake Funke b9ef7c31bb Block user from visiting self, fix guest watering bug 2018-03-12 14:35:42 -07:00
Jake Funke e6e8778dfb fixed art bug and update readme 2018-03-11 16:36:55 -07:00
Jake Funke f716b4ab96 added unix backspace 2018-03-11 15:10:07 -07:00
Jake Funke eed6e61199 Cleanup and revisions 2018-03-11 14:30:10 -07:00
Jake Funke 2644370a40 Removed debugging and added clear weekly users cronjob 2018-03-11 14:23:00 -07:00
Jake Funke d22b7d4b33 Weekly visits now held in db 2018-03-11 13:46:45 -07:00
Jake Funke 105a95f92e visitor queue handled 2018-03-07 23:31:00 -08:00
Jake Funke 55ce486dee Can check visitors now 2018-03-07 23:07:32 -08:00
Jake Funke 539c162bb7 Add pachypodium 2018-03-06 17:40:07 -08:00
Jake Funke 0665ba3506 water handling 2018-03-02 21:20:29 -08:00
Jake Funke fba9bacf07 Update data structures 2017-09-21 14:29:11 -07:00
Jake Funke e20a219cf6 Merge branch 'master' of https://github.com/jifunks/botany 2017-07-19 19:11:06 +00:00
Jake Funke 2696a9d61d Decrease mutation rarity and reformat garden printing 2017-07-19 19:10:55 +00:00
jmdejong f385b5601b Ignore curs_set(0) error
~sui has mentioned that botany always crashes for him with the stack trace:  
    Traceback (most recent call last):   File "/home/curiouser/botany/botany.py", line 543, in <module>     botany_menu == CursedMenu(my_plant,my_data)   File "/home/curiouser/botany/menu_screen.py", line 19, in __init__     curses.curs_set(0) _curses.error: curs_set() returned ERR

According to the docs, an error will be returned when the terminal does not support the visibility requested.
Appearently hiding the cursor is not supported in ~sui's terminal (cmder).

To keep botany as accesible as possible I suggest to ignore this error
2017-05-28 21:44:08 +02:00
Jake Funke 3fe1a8283c Plant death is now sadder 2017-05-22 19:06:57 +00:00
Jake Funke b3aef701f5 Update harvest confirmation 2017-05-09 19:32:08 +00:00
Jake Funke 7c2282df5d Correct growth rate display 2017-05-03 23:43:58 +00:00
Jake Funke c7ede5e854 Implement bonus growth for generations 2017-05-03 23:21:43 +00:00
Jake Funke e0432f149f Add plant generations 2017-05-03 19:51:21 +00:00
Jake Funke 2786a46397 Update final stage art 2017-04-26 21:46:42 +00:00
Jake Funke 00fe6c2175 Update menu for new ascii display 2017-04-19 20:32:18 +00:00
Jake Funke dc33e6c56d Merge pull request #1 from Sanqui/master
Nicely align columns in the garden table
2017-03-27 11:52:37 -07:00
Jake Funke a77d61abc7 Column formatting for garden view 2017-03-27 11:50:50 -07:00
Jake Funke 471720b56e Add ISC license and code cleanup 2017-03-27 18:28:00 +00:00
sanqui c6e0034684 Nicely align columns in the garden table 2017-03-27 17:50:04 +00:00
Jake Funke 95e583a99d Add fancy water gauge 2017-03-24 23:27:25 +00:00
Jake Funke 4ae7246747 Fix ctrl+c breaking exit 2017-03-24 22:07:17 +00:00
Jake Funke 81ec3f1167 Refactor display, add confirmations for restart 2017-03-24 00:11:58 +00:00
Jake Funke 2726b34c2f Update garden handling to SQLite3 2017-03-23 01:49:38 +00:00
Jake Funke 59dada94b6 Update ASCII art to stage 2, new flavor text 2017-03-22 00:42:39 +00:00
Jake Funke 8f99063b5b Paginate garden 2017-03-21 19:55:11 +00:00
Jake Funke 2fcdb01577 Code cleanup 2017-03-18 00:33:40 +00:00
Jake Funke 67c8f3dfc8 ASCII art for plants now shown 2017-03-17 22:03:32 +00:00
Jake Funke 81590dd3f3 Code cleanup 2017-03-17 19:00:46 +00:00
Jake Funke b2d1c62323 Implement vim-style (j/k) and curses-style (ctrl+n/p) menu controls 2017-03-16 20:01:08 +00:00
Jake Funke c30ff07551 Update readme and code cleanup 2017-03-15 20:56:00 +00:00
Jake Funke 0ca4683a1e Hardcore nvidia graphics display drivers 2017-03-15 06:51:52 +00:00
Jake Funke 17248eed50 Cleanup + output formatting 2017-03-15 01:31:18 +00:00
Jake Funke bd56dd38a4 Fix race conditions, add look feature 2017-03-14 22:23:28 +00:00
Jake Funke 138a981c3f Add display error handling (messy) 2017-03-13 17:42:13 +00:00
Jake Funke cc50553226 Clean and refactor code, add garden menu 2017-03-13 05:21:17 +00:00
Jake Funke 9efc286b6a Create garden, plants exist together now 2017-03-10 01:02:19 +00:00
Jake Funke 4a6bf14a1e Menu working + debug mode 2017-03-09 19:32:40 +00:00
Jake Funke 6b7a63b0e5 Reorg data handling 2017-03-09 02:18:01 +00:00
Jake Funke c32a18b157 Plant only grows when it has been watered :) 2017-03-09 01:36:41 +00:00