Well, see. Okay.. The Adventurer in my pub files wasn't normally a quest. So I had to make her a Quest NPC, then I gave her the Quest Script ID 41.
Main
{
questname "The Adventure Begins!"
version 1.0
}
State Begin
{
desc "Kill 10 Goat"
action AddNpcChat ( 41, "Hellow stranger, Would you be a dear and kill 10 goats for me please? I'll give you a nice amount of gold!");
rule KilledNpcs ( 7, 10) goto Advent
}
State Advent
{
desc "Talk to the Adventurer"
action ShowHint ("You should talk to the Adventurer again!");
action AddNpcText ( 41, "Thank you! You have killed 10 goats for me, that'll show them pesky goats!");
action AddNpcText ( 41, "Now for the piggys! They're everywhere! Could you kill 10 of them for me?");
rule TalkedToNpc ( 41 ) goto Piggy
}
State Piggy
{
desc "Kill 10 Piggys"
rule KilledNpcs ( 231, 10) goto Reward
}
State Reward
{
action AddNpcText ( 41, "Thank you so much for clearing up this place! Talk to me again and we'll see about getting rid of some more!");
action ShowHint ("You gained 2000 EXP and 200 GOLD!!");
action PlaySound (17);
action GiveExp (2000);
action GiveItem(1, 200);
action Reset ();
}
This as you can see >_> matches every bit of it. So, it should be working right? But it's not :<