Added a way to open books outside of the interact with entity event

open book after turning in item
moved more things from MineQuest to just Quest
Made Variant and made MineQuestObject extend Variant
Made quests reset if they aren't from (irl) today
Made quests reset when a new (irl) day starts

Basically made everything work
This commit is contained in:
2022-06-02 22:12:29 +02:00
parent e9bdb6a70d
commit 39900153d8
17 changed files with 389 additions and 163 deletions
@@ -91,6 +91,7 @@ public class Database {
private static void createUserPointsTable() {
try {
String sql = "CREATE TABLE IF NOT EXISTS generic_quest_progress(" +
"year_day INT NOT NULL, " +
"uuid VARCHAR(36) NOT NULL, " +
"quest VARCHAR(36) NOT NULL, " +
"quest_variant VARCHAR(36) NOT NULL, " +