Commit Graph

80 Commits

Author SHA1 Message Date
Ben Harris 29369dae13 fix visiting 2021-04-06 15:50:53 -04:00
Jake Funke 38f7f17b66
Merge pull request #34 from jmdejong/evilvisitors
Don't let evil visitors kill a plant by adding old timestamps
2021-01-25 14:19:04 -08:00
J.M. de Jong 85d51f40f5
Stop making all plants godly
python2 division of integers always results in an integer, so `(2/3)` would result in `0`.
This caused all plants to get "godly" as rarity.
This change makes sure a float division is being used
2021-01-23 14:30:31 +01:00
troido 0556b3f75a protect plants against old timestamps 2020-10-03 09:44:06 +02:00
Jake Funke ea92373f37
Merge pull request #24 from PaperMountainStudio/python3
Use python3
2020-04-03 14:55:10 -07:00
Paper Mountain Studio c089f8fe67 delete old import for python2 2020-01-14 17:21:21 +01:00
Jake Funke 595a4d7e31 found an oopsie 2019-10-30 23:53:56 +00:00
Paper Mountain Studio 58ac0d3250 Use python3 2019-10-30 18:27:45 +01:00
ahriman c9979c93e3 changed shebang to increase portability @ahriman/tilde.town 2018-12-06 16:18:26 -05:00
Jake Funke 2212596e5e halloween feature and death check fix 2018-10-03 18:53:49 +00:00
Jake Funke e5261b79b1 fixed bug where users with live botany instances couldnt be watered 2018-08-10 20:14:11 +00:00
Jake Funke e9b58bb61d tribute to abraxas. rest in peace friend. 2018-08-06 21:15:06 +00:00
Jake Funke 0c99c4f948 added some mutations 2018-07-12 17:42:34 +00:00
Jake Funke 2315a3ecd6 More accurate guest timing 2018-06-14 21:07:43 +00:00
Jake Funke 94584a2a36 fixed long term absence visitor check 2018-06-14 20:11:07 +00:00
Leagsaidh Gordon 63b39f92be
Fix the fix for generation bonus 2018-06-05 01:05:07 +01:00
Jake Funke 6dd0cc9d0d Merge branch 'master' of https://github.com/jifunks/botany 2018-06-05 00:02:05 +00:00
Jake Funke f4de636a45 todos updated 2018-06-05 00:02:01 +00:00
Leagsaidh Gordon ae99f2eb0b
Fix generation bonus not applying while closed 2018-06-05 00:54:08 +01:00
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 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