Commit Graph

20 Commits (517cb21f149d0e8a26c3dbdddfe0551536309b96)

Author SHA1 Message Date
Joey Hines 517cb21f14 Fixed issue where entering an empty string would cause issues 2018-10-16 17:22:11 -05:00
Joey Hines 78fd5a7cc7 Fixed a broken error message in ?delete_item 2018-09-30 15:13:48 -05:00
Joey Hines 6d9c262433 ?info now gives priority to complete matches to a location name 2018-09-26 08:48:23 -05:00
Joey Hines 2b6db04d28 Added check to append "..." when a shop has more than 5 matches. 2018-09-26 07:44:42 -05:00
Joey Hines 2dab55ab78 ?selling now groups items sold at the same shop together. 2018-09-25 09:39:30 -05:00
Joey Hines 0e480ccebe Updated more tests 2018-09-21 19:58:56 -05:00
Joey Hines 3026b240f4 Added better error checking for find_player and add_player 2018-09-21 07:27:32 -05:00
Joey Hines 57ec4830cf More clearly defined the difference between the interface and commands layer. Interface handles getting certain info from the database while commands formats that data. 2018-09-20 12:25:42 -05:00
Joey Hines 2aad1a3344 Updated tests for Commands and refactored the location lookup logic 2018-09-20 09:20:30 -05:00
Joey Hines 8373bc0c31 register has a lot less duplicated code from add_player() in DatabaseInterface. Might have been part of the problem. 2018-09-16 13:34:33 -05:00
Joey Hines 1ed9252858 Band-aid solution for the register problem. Mods can now manually add players to the database. Mods can now search for players too. Also fixed a few small issues. 2018-09-14 08:21:02 -05:00
Joey Hines 18ec866fb0 Fixed issue with adding a tunnel without a location in the database. 2018-09-13 13:28:18 -05:00
Joey Hines 407566a488 Tunnel color changed to tunnel direction. 2018-09-13 12:06:37 -05:00
Joey Hines 81ed6f9032 Bunch of polishing, looks good for release. Version number now 1.0.0. 2018-09-13 11:25:40 -05:00
Joey Hines 3f477eefc5 The bot now uses the rewrite... like it should have this whole time... 2018-09-12 16:11:56 -05:00
Joey Hines 0d26818fa6 Refactored DatabaseInterface to move all location addition and searching into one set of functions. The type of location is then specified as a parameter. 2018-08-30 12:27:05 -05:00
Joey Hines 6748f01208 Refactored bot.py to wrap Geoffrey in his own class. This will be better for the future for expansions and allowed for cleaning up a lot of the config mess. The Config now all features back except for the named tunnel directions which are removed for now... 2018-08-30 11:34:19 -05:00
Joey Hines 89bf3b0ba7 Refactored how the config file is handled. The location can now be passed in as an arg in start_bot... This broke a few features of the config 2018-08-29 16:10:35 -05:00
Joey Hines 330fa16970 Fixed imports for modules 2018-08-21 15:36:51 -05:00
Joey Hines c7eed7fe71 Added setup.py and reorganized the project. 2018-08-20 17:54:14 -05:00