Quest Free To Use

Post your quests here!
sevenfold
General
General
Posts: 80
Joined: Thu Aug 07, 2014 6:16 pm

Quest Free To Use

Postby sevenfold » Fri Apr 03, 2015 5:12 pm

This quest is free to use

This quest will have to make a player kill 10 pigs / 10 goats / 10 sheeps.
And you still need to edit this quest.

Code: Select all

Main
{
    questname  "? ? ?"
    version    1.0
}
state Begin
{
    desc    "Talk to ? ? ?"
    action  AddNpcText(1, "Enter Text Here");
    action  AddNpcInput(1,1,"Yes");
    action  AddNpcInput(1,2,"No");
    rule    InputNpc(1) goto Help
    rule    InputNpc(2) goto Coward
}
state Help
{
    desc    "Talk to ? ? ?"
    action  AddNpcText(1, "Enter Text Here");
    rule    TalkedToNpc(1) goto Kill
}
state Kill
{
    desc    "Kill 10 piggies"
    rule    KilledNpcs(230,10) goto Return
}
state Return
{
    desc    "Return to ? ? ?"
    action  AddNpcText(1, "Enter Text Here");
    rule    TalkedToNpc(1) goto Kill2
}
state Kill2
{
    desc    "Kill 10 Goats"
    rule    KilledNpcs(7,10) goto Return2
}
state Return2
{
    desc    "Return to ? ? ?"
    action  AddNpcText(1, "Enter Text Here");
    rule    TalkedToNpc(1) goto Kill3
}
state Kill3
{
    desc    "Kill 10 Sheeps"
    rule    KilledNpcs(170,10) goto Return3
}
state Return3
{
    desc    "Return to ? ? ?"
    action  AddNpcText(1, "Enter Text Here");
    rule    TalkedToNpc(1) goto Reward
}
state Coward
{
    desc    "? ? ? is Speaking"
    action  AddNpcText(1, "Enter Text Here");
    rule    TalkedToNpc(1) goto Reset
}
state Reset
{
    action  Reset();
}
state Reward
{
    action  GiveItem(Item ID Here, Amount Here);
    action  GiveExp(EXP Amount);
    action  End();
}


You will need to Edit these:
-
Quest Name
Npc Text
Desc
Rewards
-
This quest is 00001.eqf and need to set a npc quest script to 1.
If you are using this quest, your welcome :)
Last edited by Frost on Sun Apr 12, 2015 7:36 am, edited 1 time in total.
Always will love to help out! :D leave a message
#OneAndOnly
User avatar
Frost
Super Poster
Super Poster
Posts: 1157
Joined: Wed Mar 28, 2012 12:39 pm
Location: Canada
Contact:

RE: Quest Free To Use

Postby Frost » Sun Apr 12, 2015 7:37 am

Great job, I just cleaned up the post a little so it wouldn't take up so much space. Try using

Code: Select all

 
to make it smaller.
Home | Wiki | Downloads | Server List | Website | YouTube
Glorious PC master race.

Return to “Quests”

Who is online

Users browsing this forum: No registered users and 2 guests