Page 1 of 1

any quest mods?

PostPosted: Thu Sep 01, 2016 13:37
by ph8jPf9M
i would like to start creating quests. what mods, api and frameworks should i use?

Re: any quest mods?

PostPosted: Thu Sep 01, 2016 13:40
by rubenwardy
See quests in rpgtes
It's WTFPL

Re: any quest mods?

PostPosted: Sun Jan 01, 2017 09:42
by cd2
rubenwardy wrote:See quests in rpgtes
It's WTFPL

I'm pretty sure that it isn't licensed under WTFPL. https://github.com/cdqwertz/rpgtest/tree/master/mods/quests (LGPL 2.1)

Re: any quest mods?

PostPosted: Mon Jan 02, 2017 00:03
by TheReaperKing
Looking at your quests mod, is there any way to give rewards?

Edit - I see the goal.reward in the code, would you just add a line in this syntax?
local quest = quests.new(name, "Preparing a small feast")
quests.add_dig_goal(quest, "Harvest wheat", "farming:wheat_8", 5)
quests.add_dig_goal(quest, "Harvest apples", "default:apple", 3)
quests.add_quest(name, quest)
goal.reward("food:pie")
goal.ending("For your efforts you have been awarded a pie! Thank you!")

Re: any quest mods?

PostPosted: Mon Jan 02, 2017 09:47
by cd2
TheReaperKing wrote:Looking at your quests mod, is there any way to give rewards?

Edit - I see the goal.reward in the code, would you just add a line in this syntax?
local quest = quests.new(name, "Preparing a small feast")
quests.add_dig_goal(quest, "Harvest wheat", "farming:wheat_8", 5)
quests.add_dig_goal(quest, "Harvest apples", "default:apple", 3)
quests.add_quest(name, quest)
goal.reward("food:pie")
goal.ending("For your efforts you have been awarded a pie! Thank you!")


This should work:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local quest = quests.new(name, "Preparing a small feast")
local goal_1 = quests.add_dig_goal(quest, "Harvest wheat", "farming:wheat_8", 5)
local goal_2 = quests.add_dig_goal(quest, "Harvest apples", "default:apple", 3)

goal_2.requires = goal_1 -- the player needs to complete goal 1 before goal 2

goal_2.reward = "food:pie"  -- set reward
goal_2.ending = "For your efforts you have been awarded a pie!  Thank you!"  -- set ending

quests.add_quest(name, quest)

Re: any quest mods?

PostPosted: Mon Jan 02, 2017 10:44
by TheReaperKing
Great stuff, thanks so much!

Re: any quest mods?

PostPosted: Tue Feb 07, 2017 13:33
by 843jdc
After playing World of Warcraft for a month or so, I am going to have to look into this mod and see how I can bring quests into Cash's World. Maybe I can give my players a reason to learn how to make things rather than asking/demanding them from the admin so often.

Item quests. Kill mob quests. etc

Re: any quest mods?

PostPosted: Mon Feb 27, 2017 13:32
by domtron vox
There is a Quests framework by TeTpaAka. Form topic: viewtopic.php?f=11&t=11265

Re: any quest mods?

PostPosted: Mon Feb 27, 2017 20:08
by bell07
Seen on github sapier does work currently on a new quest_engine in mobf_2_6_dev branch:
https://github.com/sapier/mobf_core/tree/mobf_2_6_dev. It should be really nice if finished, with quests from a Tutor-NPC in animals_modpack.