description="TEST QUEST!\nGet a mithril ingot at the end!",
repeating=60*60*24,
awards={["moreores:mithril_ingot"]=1},
tasks={
diggy={
title="Dig 99 stone",
description="Show you can dig through stone",
max=99,
objective={
dig={"default:stone"}
}
},
diggysrevenge={
title="Dig the last stone",
description="You really thought 99 was a good number? Dig the last one.",
requires={"diggy"},
max=1,
objective={
dig={"default:stone"}
}
}
}
},
still_testing_quests2={
title="Coal digger",
description="TEST QUEST!\nGet a mithril ingot at the end!",
repeating=60*60*24,
awards={["moreores:mithril_ingot"]=1},
tasks={
diggy={
title="Dig 19 coal",
description="Get the fire mineral",
max=19,
objective={
dig={"default:stone_with_coal"}
}
},
diggysrevenge={
title="Dig the last one",
description="I do this because of a technical issue, sorry",
requires={"diggy"},
max=1,
objective={
dig={"default:stone_with_coal"}
}
}
}
},
still_testing_quests3={
title="Shiny diamonds",
description="TEST QUEST!\nGet a mithril ingot at the end!",
repeating=60*60*24,
awards={["moreores:mithril_ingot"]=1},
tasks={
diggy={
title="Dig 4 diamond",
description="Yarr harr fiddle dee-dee, being a pirate is alright with me! Do what you want 'cause a pirate is free, you are a pirate! Go get the precious booty... underground. Mine it :/",
-- implement magical iterator, going through BOTH the simple quests
-- AND tasked quests objectives, returning a tuple like this:
-- questname, questdef, taskname (nil?), taskdef (nil?), objective_container (that is, either questdef or taskdef), pointer_to_function_to_update_the_objective_progress_with_only_one_parameter_the_others_being_automagically_passed_to_the_quests_API_so_that_we_dont_have_to_write_ifs_and_elses_everywhere_to_handle_both_quest_and_tasks_cases_because_it_would_give_crap_code