Commit Graph

16 Commits

Author SHA1 Message Date
Ceda EI 7fca63a2ab Complete adding quests and side quests.
Add add_name, add_imp, add_diff functions. Add states and relevant if
clauses. Add state of quest on first add.
2018-11-01 16:46:45 +05:30
Ceda EI 260d1f6fde Modify DB. Add message handler. Deal with Add Quest/Side QUest.
Changed DB to not mark other fields as NOT NULL. Changed Side-Quest(s)
to Side Quests in start. add add_quest method that deals with "Add
Quests" and "Add Side Quests" messages.
2018-11-01 04:04:01 +05:30
Ceda EI 1127673d28 Change state table to include extra field 2018-10-31 18:33:47 +05:30
Ceda EI 3ffabd4ded Add get_side_quests to player. Fix other bugs. 2018-10-31 03:30:43 +05:30
Ceda EI b650b0e1db Add get_quests to player 2018-10-30 20:03:43 +05:30
Ceda EI 9adbef0f27 Add get_points and add_points 2018-10-30 08:50:46 +05:30
Ceda EI 84c3e94c0f Add player class, status functions to it. 2018-10-28 16:04:52 +05:30
Ceda EI a3f50b5334 Add get_from_db to base_quest. Add other functions.
Add get_quest, add_quest, get_side_quest, add_side_quest for easier
way to add / retrieve quests and side quests.
2018-10-27 16:59:01 +05:30
Ceda EI 15dc9c5575 Add add_to_db, update_db to base_quest 2018-10-27 16:37:24 +05:30
Ceda EI d9e9104c93 Change field name (user_id -> chat_id) for consistency. 2018-10-27 15:27:13 +05:30
Ceda EI 7672e33b4e Add initial code for base_quest, quest, side_quest.
Also, fix typo.
2018-10-25 00:51:48 +05:30
Ceda EI f1b866c4a2 Set up sqlite database. 2018-10-24 19:18:02 +05:30
Ceda EI 6b638f2221 Complete /start 2018-10-22 15:31:49 +05:30
Ceda EI 7311184d4d Add /start. Add gitignore, sample.config.py. 2018-10-17 20:22:21 +05:30
Ceda EI e1105eecfb Add LICENSE 2018-10-16 18:02:56 +00:00
Ceda EI 9cb1955caf Initial commit 2018-10-16 18:00:12 +00:00