Nvm, daddy fixed it
Main
{
questname "Goat Slayer"
version 1.0
}
State Begin
{
desc "Talk to old guy"
action AddNpcChat(1, "Hello Stranger");
action AddNpcText(1, "Hey, do you think you could help me youngling?");
action AddNpcInput(1, 1, "Sure, tell me what it is and I'll do my best.");
action AddNpcInput(1, 2, "Nope");
rule InputNpc(1) goto HelpHimOut
rule InputNpc(2) goto Reset
}
State HelpHimOut
{
desc "Talk to the old man"
action AddNpcText(1, "I need 10 goat horns, Do you think you can handle that youngling?");
action AddNpcInput(1, 1, "Anything for the elderly.");
action AddNpcInput(1, 2, "I don't think i'm strong enough yet.");
rule InputNpc(1) goto CollectGoatHorns
rule InputNpc(2) goto Reset
}
State CollectGoatHorns
{
desc "CollectGoatHorns"
action AddNpcText(1, "Thanks for helping the elderly, come back once you are finished.");
rule GotItems(258, 10) goto Returntooldman
}
State Returntooldman
{
desc "Talk to the old man"
action ShowHint("Return To Oldman");
action AddNpcText(1, "Oh you did a great job youngling thank you!");
action AddNpcText(1, "As a reward, I award you a this weapon crafted by The Archangel himself!");
rule TalkedToNpc(1) goto Givehim
}
State Givehim
{
desc " Give the horns to me."
action RemoveItem(1, 10);
rule TalkedToNpc(1) goto Reward
}
State Reward
{
desc "Talk to the old man"
action ShowHint("Old man gives you Normal Sword");
action GiveItem(207, 1);
action End();
}
State Reset
{
action Reset();
}
---
My skins dying because you're under it-
I’m done lying to myself for this.
For all the wonder in believing man it’s making me weak-
I’ll fade away & classify myself as Obsolete!