Can't seem to get this working. Each change-up I do provides a different error.
Current error: > Validation Error: Unknown quest state: collect (State: helpbronse)
Main
{
questname "Slimey Evening"
version 1.0
}
state TalkToBronse
{
desc "Talk with Bronse"
action AddNpcText(3, "Do, you think you can collect me 10 Slime balls?");
action AddNpcInput(3,1,"Yes, im ready to collect");
action AddNpcInput(3,2,"No, im not ready for this challenge");
rule InputNpc(1) goto Bronse
rule InputNpc(2) goto No
}
state No
{
desc "Talk To Bronse"
action AddNpcText(3, "that's a shame you wont help me");
rule TalkedToNpc(3) goto EndReset
}
state HelpBronse
{
desc "Talk with Bronse)"
action AddNpcText(3, "Collect 10 slime balls");
action AddNpcInput(3,1,"Yes");
action AddNpcInput(3,2,"No");
rule InputNpc(1) goto Collect
rule InputNpc(2) goto No2
}
state No2
{
desc "Talk with Bronse"
action AddNpcText(3, "that's a shame you wont help me");
rule TalkedToNpc(3) goto EndReset
}
state CollectSlime
{
desc "Collect 10 slime balls"
action AddNpcText(3, "thanks for helping me come back once you are finished.");
rule GotItems(569,10) goto ReturnToBronse
}
state ReturnToBronse
{
desc "Return to Bronse"
action ShowHint("You collected all slime balls");
action AddNpcText(3, "thanks for helping me");
rule TalkedToNpc(3) goto Reward
}
state Reward
{
action ShowHint("Bronse hands you a powerful bow and arrow");
action GiveItem(297,1);
action GiveItem(425,1);
action End();
}
state EndReset
{
action Reset();
}