Commit Graph

61 Commits (0af9c129ef45ec490f0f4296d86b0c986c9fd9f2)

Author SHA1 Message Date
troido a5b85bbe5a 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 d0bc57226a dump safely by writing to tempfile
First write all the dump to a temporary file.
Rename temp file to actual file name when done.
This prevents savefile corruption when botany crashes during write.
2018-05-23 21:21:50 +02:00
Jake Funke 09b18e862d updated todos 2018-05-21 18:00:53 +00:00
Jake Funke ce268c0609 Prevent exploitation of visit feature 2018-03-13 18:03:57 -07:00
Jake Funke b9ef7c31bb Block user from visiting self, fix guest watering bug 2018-03-12 14:35:42 -07:00
Jake Funke 3b802dc931 Fixed water points bug 2018-03-11 15:51:11 -07:00
Jake Funke a74d257506 File permissions, optimized db access 2018-03-11 15:44:10 -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 7e72c97928 Merge branch 'master' of https://github.com/selfsame/botany into selfsame-master 2018-03-06 17:39:16 -08:00
selfsame 1a0c3136cf pachypodium 2018-03-04 02:20:33 +00:00
Jake Funke 0665ba3506 water handling 2018-03-02 21:20:29 -08:00
Jake Funke f29c8d5696 Turn off debug mode 2017-09-25 21:39:00 +00:00
Jake Funke fba9bacf07 Update data structures 2017-09-21 14:29:11 -07:00
Jake Funke 2696a9d61d Decrease mutation rarity and reformat garden printing 2017-07-19 19:10:55 +00:00
Jake Funke 934c632b13 Lowered mutation chance 2017-05-26 00:06:27 +00:00
Jake Funke e557dbab8f Generation system updated, readme updated 2017-05-04 18:49:29 +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
troido ea97a07f84 Added more plant information to json file. The json file now also contains the plant stage, and if the plant has them the rarity, mutation , color and species 2017-04-02 13:28:30 +02:00
Jake Funke fb742d6bcd New art 2017-03-31 19:06:08 +00:00
Jake Funke 18029fca65 Code cleanup 2017-03-24 01:32:44 +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 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 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 d269e3391f Update garden data structutre and file permissions 2017-03-10 20:01:48 +00:00
Jake Funke b01b39b00e Update readme 2017-03-10 04:54:38 +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 6bec78d2b3 more fun mutations 2017-03-09 02:38:09 +00:00
Jake Funke 6b7a63b0e5 Reorg data handling 2017-03-09 02:18:01 +00:00
Jake Funke 7e3f87d3c3 Implement autosave 2017-03-09 02:06:35 +00:00
Jake Funke 8ba3f3ee9c Merge branch 'master' into watertime 2017-03-09 01:43:05 +00:00
Jake Funke c32a18b157 Plant only grows when it has been watered :) 2017-03-09 01:36:41 +00:00
Jake Funke 60b5237265 Update todos 2017-03-08 23:11:06 +00:00
Jake Funke c26db83caa Fix zombie plants 2017-03-08 23:04:09 +00:00
Jake Funke 02476fcaf7 Synchronize plant and menu updatesw 2017-03-08 21:22:50 +00:00
Jake Funke 5fc813acb7 Implement growth while away 2017-03-08 08:45:21 +00:00